ReinerNippes / nextcloud_on_docker

Run Nextcloud in Docker Container on various Linux Hosts
MIT License
203 stars 48 forks source link

Setup failing on steps after [nextcloud_config : updating maintenance htaccess] #111

Open LAazsx opened 2 years ago

LAazsx commented 2 years ago

Hello,

I'm encountering a problem where setup fails after the Setup failing on steps after [nextcloud_config : updating maintenance htaccess]. step. This happens when I try to install Collabora/OnlyOffice/Talk. All the containers are running fine

image

ReinerNippes commented 2 years ago

What happens when you would run docker exec --user www-data nextcloud php occ app:install spreed or docker exec --user www-data nextcloud php occ status (optional with sudo.)

LAazsx commented 2 years ago

After multiple attempts, I've found out that all the different problems I've been encountering was because nextcloud_base_dir was set to a mounted drive that did didn't have the right permissions. Everything worked when the OS disk was used.

To mount the drive, I've added the command /dev/disk/by-uuid/<uuid> /media/nextcloud auto nosuid,nodev,noerror 0 0. to /etc/fstab. Currently researching on how to give ALL users and groups RW permissions.