-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installing mash-nextcloud as subdirectory, not subdomain, breaks urls #121
Comments
Are you installing from mash.example.com/nextcloud or are you trying to run it from example.com/nextcloud? |
not entirely sure what you mean? obviously the domain i use is different... but the same as i used for miniflux, which works. ie. this works:
but this does not:
|
I just spun up a test instance and could reproduce the problem. The problem stems from the fact that Specifically this will run this task which will set these parameters This bug should only affect the initial setup (so just use the form as-is). After that you should run |
Don't the setup instructions mention the need for running It's not ideal, as people might skip this step, but.. it's done this way, because it requires that Nextcloud be fully started (something usually done later by the systemd service manager role, as part of the Roles usually avoid starting services themselves and leave that to the systemd service manager role (and its Some services likely feature a setup wizard and do not initialize the database even if you start them, but I believe most auto-initialize it and make such database-dump-importing difficult (you'd need to stop the service manually, clean up the database, and then import the dump -- annoying). Because of this, I believe the "run this tag separately, at least the first time around" is a good compromise. Still, in some environments you may wish to have a fully automated setup which doesn't involve multiple playbook runs. It'd be good to be able to accommodate those too and streamline it. Perhaps some variable could be set in We can then adjust the docs (
|
I tried running
Appending Edit: So after appending |
if using the default config in vars.yml, with
nextcloud_hostname: mash.example.com
nextcloud_path_prefix: /nextcloud
then the first admin account setup page will load, but without graphics, and clicking install will fail.
installing as subdomain works correctly.
The text was updated successfully, but these errors were encountered: