I am on Debian
I set up nextcloud AIO using the standard installation per the readme file on GitHub - nextcloud/all-in-one: Nextcloud AIO stands for Nextcloud All-in-One and provides easy deployment and maintenance with most features included in this one Nextcloud instance.
I installed using my user (not root) with sudo permissions
It was all working fine as of last week but today I couldn’t reach my files per webdav, the url is unreachable and on closer inspection discovered the mastercontainer was in a restarting loop. I stopped other containers per How to fix sudden dns resolution issues after the AIO update to v4.4.1 or higher. · nextcloud/all-in-one · Discussion #2065 · GitHub as this resolved a previous issue I had but the mastercontainer remains stuck.
running docker logs for the mastercontainer returns the following repeatedly:
sudo: /etc/sudo.conf is world writable
sudo: /etc/sudo.conf is world writable
sudo: error in /etc/sudo.conf, line 0 while loading plugin “sudoers_policy”
sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
sudo: fatal error, unable to load plugins
Trying to fix docker.sock permissions internally…
Adding internal www-data to group docker
sudo: /etc/sudo.conf is world writable
sudo: /etc/sudo.conf is world writable
sudo: error in /etc/sudo.conf, line 0 while loading plugin “sudoers_policy”
sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
sudo: fatal error, unable to load plugins
Docker socket is not readable by the www-data user. Cannot continue.
I ran some updates on Debian before I noticed the issue but apart from that have done nothing on the server.
The workaround here Docker socket is not readable by the www-data user. · Issue #10 · nextcloud/all-in-one · GitHub
sudo groupmod -g 998 docker
has not worked
I have pulled the latest release using docker pull but I assume I have to resolve some issue with permissions and don’t want to break anything in docker without some help. Thanks to all for any assistance!