Open KlausHans opened 1 year ago
If i change nextcloud_path_prefix: /nextcloud
to nextcloud_path_prefix: /
and access it accordingly it works. But that is not what i want.
I came across this: https://github.com/nextcloud/docker/issues/401#issuecomment-1370294958
I wanted to try it, but i am stuck because docker exec --user www-data mash-nextcloud-server php occ maintenance:update:htaccess
returns Could not open input file: /var/www/html/occ
.
How can i use occ in mash? Close to giving up mash... :(
Try docker exec --user $(id -u mash) mash-nextcloud-server php occ
Thanks, that worked.
I made the changes suggested in the linked issue, changed to nextcloud_path_prefix: /nextcloud
again and rerun the Playbook. Now i get an internal server error. just run-tags adjust-nextcloud-config
didn't helped. I saw that most of the steps from the linked issue are made here too. Before changing nextcloud_path_prefix: /nextcloud
to nextcloud_path_prefix: /
i wasn't able to perform just run-tags adjust-nextcloud-config
, it threw errors (i think because nextcloud wasn't initialised yet. I couldn't initialise it in the broken state).
From what I remember, you're supposed to do the adjust-config
thing only after going through the installation steps via the web UI.
This is also documented here: https://github.com/mother-of-all-self-hosting/mash-playbook/blob/main/docs/services/nextcloud.md#usage
Hello, i've configed mash with nextcloud. The playbook finishes without error but if i access the nextcloud url it looks wrong:
The browser console throws errors, that indicate that assets are not found, e.g.:
I am wondering why the url is https://domain.de/core/css/server.css... . Shouldn't it be https://domain.de/nextcloud/core/css/server.css...?
My Nextcloud config in vars.yml is
I've substituted the real domain with "domain" everywhere here.
I use Traefik from the Matrix-Playbook and configured it accodingly in the mash vars:
Any idea whats wrong?