Docker AIO - error: didn't give mastercontainer volume correct name

Hi,

I am trying to set up Nextcloud AIO Docker container on my local computer running Debian. I am exposing it using Cloudflare Tunnel and Nginx reverse proxy.

I thought I finally configured everything correctly. My compose file looks like this:

nginx
    image: nginx:latest
    container_name: nginx
    restart: unless-stopped
    networks:
      - media_network
    volumes:
    - ./nginx/conf.d:/etc/nginx/conf.d:ro

  nextcloud-aio-mastercontainer:
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    init: true
    container_name: nextcloud-aio-mastercontainer
    restart: always
    ports:
      - 8080:8080 # AIO management interface (use only locally)
    environment:
      - APACHE_PORT=11000
      - APACHE_IP_BINDING=0.0.0.0
      - APACHE_ADDITIONAL_NETWORK=media_network
      - TZ=Europe/Prague
      - SKIP_DOMAIN_VALIDATION=true  # Needed because you use Cloudflare tunnel!
      - NEXTCLOUD_DATADIR=/mnt/nextcloud/data
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - /mnt/primary/nextcloud/data:/mnt/nextcloud/data
    networks:
      - media_network

volumes:
  nextcloud_aio_mastercontainer:

But it doesn’t run the setup screen and the logs look like this:

docker logs nextcloud-aio-mastercontainer | head
Trying to fix docker.sock permissions internally...
WARNING: No memory limit support
Creating docker group internally with id 124
WARNING: No swap limit support
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No memory limit support
WARNING: No swap limit support
It seems like you did not give the mastercontainer volume the correct name? (The 'nextcloud_aio_mastercontainer' volume was not found.)
Using a different name is not supported since the built-in backup solution will not work in that case!
It seems like you did not give the mastercontainer volume the correct name? (The 'nextcloud_aio_mastercontainer' volume was not found.)
WARNING: No memory limit support
Using a different name is not supported since the built-in backup solution will not work in that case!

Does anybody know, what am I doing wrong?
Thank you very much for help

Hi, you are missing this line: https://github.com/nextcloud/all-in-one/blob/9bb1ec26c9cbd0ae20545592c7aa2f0fde2f36d2/compose.yaml#L67

Yeah, that worked, thank you

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.