Yet when I deploy the stack, nextcloud-aio-mastercontainer logs show:
Trying to fix docker.sock permissions internally...
Adding internal www-data to group ntp
It seems like you did not give the mastercontainer the correct name? (The 'nextcloud-aio-mastercontainer' container was not found.)
Using a different name is not supported since mastercontainer updates will not work in that case!
If you are on docker swarm and try to run AIO, see https://github.com/nextcloud/all-in-one#can-i-run-this-with-docker-swarm
The last 2 lines just repeats and the container doesn’t come up, I’ve searched and read the issue is usually with volume naming being incorrect (using hyphens instead of underscore) but I’m literally just copy/pasting the sample yaml above.
Personally, I don’t really recommend using Portainer to run the Nextcloud AIO Docker.
I use Nextcloud AIO + NGINX proxy (on an Ubuntu server).
Create a directory on your disk, for example, nextcloud-aio, and within it, create a file called docker-compose.yml.
Copy the content from the link I’m sharing into this file:
Then, start the Docker with the command, depending on the version of docker compose you have installed:
Thank you! I have figured this out, it appears I had 2 Docker engines running on the server, installed via apt and snap causing conflicts.
After removing the snap instance I was able to get NextCloud up and running. Thank you!