Nextcloud AIO - Volume name change is not supported, but it's not changed

Hi there…

I am struggling to install Nextcloud AIO. I have installed it before and ran into issues. Now that I am trying to install it again after resetting my instance, I am getting the following error in the Master container’s logs:

It seems like you did not give the mastercontainer volume the correct name?Using a different name is not supported

This is my Docker-Compose file:

version: "3.8"

volumes:
 nextcloud-aio-mastercontainer:
   name: nextcloud-aio-mastercontainer
services:
 nextcloud:
   image: nextcloud/all-in-one:latest-arm64
   restart: unless-stopped
   container_name: nextcloud-aio-mastercontainer
   volumes:
     - nextcloud-aio-mastercontainer:/mnt/docker-aio-config
     - /var/run/docker.sock:/var/run/docker.sock:ro
   ports:
     - 8680:8080
   environment:
     - APACHE_PORT=11000
     - APACHE_DISABLE_REWRITE_IP=1
     - NEXTCLOUD_TRUSTED_DOMAINS=< DOMAIN NAME > < IP ADDRESS > < PROXY IP ADDRESS >
     - TRUSTED_PROXIES=< PROXY IP ADDRESS >

The error is on line 13, apparently:

- nextcloud-aio-mastercontainer:/mnt/docker-aio-config

Please help me.
Thanks
Darius

Hi you indeed misstyped the volume name:

You used hyphens but it must be underlines for the volume:

volumes:
 nextcloud_aio_mastercontainer:
   name: nextcloud_aio_mastercontainer
services:
 nextcloud:
   volumes:
     - nextcloud_aio_mastercontainer:/mnt/docker-aio-config

However hyphens are correct for container_name. So container_name: nextcloud-aio-mastercontainer looks good.

Thank you so much, I can’t believe I missed that… It worked!