AIO mastercontainer down

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.7
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04
  • Web server and version (e.g, Apache 2.4.25):
    • replace me
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • replace me
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • today
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
    • Compose.yaml
services:
  nextcloud-aio-mastercontainer:
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    init: true
    restart: always
    container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed as otherwise AIO will not work correctly
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed as otherwise the built-in backup solution will not work
      - /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation. If adjusting, don't forget to also set 'WATCHTOWER_DOCKER_SOCKET_PATH'!
    network_mode: bridge # add to the same network as docker run would do
    ports:
      - 8080:8080
      # - 8443:8443 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
    environment: # Is needed when using any of the options below
      # AIO_DISABLE_BACKUP_SECTION: false # Setting this to true allows to hide the backup section in the AIO interface. See https://github.com/nextcloud/all-in-one#how-to-disable-the-backup-section
       APACHE_PORT: 11000 # Is needed when running behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
       APACHE_IP_BINDING: 127.0.0.1 # Should be set when running behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else) that is running on the same host. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
#      APACHE_ADDITIONAL_NETWORK: frontend_net # (Optional) Connect the apache container to an additional docker network. Needed when behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else) running in a different docker network on same server. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
      # BORG_RETENTION_POLICY: --keep-within=7d --keep-weekly=4 --keep-monthly=6 # Allows to adjust borgs retention policy. See https://github.com/nextcloud/all-in-one#how-to-adjust-borgs-retention-policy
      # COLLABORA_SECCOMP_DISABLED: false # Setting this to true allows to disable Collabora's Seccomp feature. See https://github.com/nextcloud/all-in-one#how-to-disable-collaboras-seccomp-feature
      # FULLTEXTSEARCH_JAVA_OPTIONS: "-Xms1024M -Xmx1024M" # Allows to adjust the fulltextsearch java options. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-fulltextsearch-java-options
      # NEXTCLOUD_DATADIR: /mnt/ncdata # Allows to set the host directory for Nextcloud's datadir. ⚠️⚠️⚠️ Warning: do not set or adjust this value after the initial Nextcloud installation is done! See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir
      # NEXTCLOUD_MOUNT: /mnt/ # Allows the Nextcloud container to access the chosen directory on the host. See https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host
      # NEXTCLOUD_UPLOAD_LIMIT: 16G # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-upload-limit-for-nextcloud
      # NEXTCLOUD_MAX_TIME: 3600 # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-max-execution-time-for-nextcloud
      # NEXTCLOUD_MEMORY_LIMIT: 512M # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-php-memory-limit-for-nextcloud
      # NEXTCLOUD_TRUSTED_CACERTS_DIR: /path/to/my/cacerts # CA certificates in this directory will be trusted by the OS of the nextcloud container (Useful e.g. for LDAPS) See https://github.com/nextcloud/all-in-one#how-to-trust-user-defined-certification-authorities-ca
      # NEXTCLOUD_STARTUP_APPS: deck twofactor_totp tasks calendar contacts notes # Allows to modify the Nextcloud apps that are installed on starting AIO the first time. See https://github.com/nextcloud/all-in-one#how-to-change-the-nextcloud-apps-that-are-installed-on-the-first-startup
      # NEXTCLOUD_ADDITIONAL_APKS: imagemagick # This allows to add additional packages to the Nextcloud container permanently. Default is imagemagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add-os-packages-permanently-to-the-nextcloud-container
      # NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS: imagick # This allows to add additional php extensions to the Nextcloud container permanently. Default is imagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add-php-extensions-permanently-to-the-nextcloud-container
      # NEXTCLOUD_ENABLE_DRI_DEVICE: true # This allows to enable the /dev/dri device for containers that profit from it. ⚠️⚠️⚠️ Warning: this only works if the '/dev/dri' device is present on the host! If it should not exist on your host, don't set this to true as otherwise the Nextcloud container will fail to start! See https://github.com/nextcloud/all-in-one#how-to-enable-hardware-acceleration-for-nextcloud
      # NEXTCLOUD_ENABLE_NVIDIA_GPU: true # This allows to enable the NVIDIA runtime and GPU access for containers that profit from it. ⚠️⚠️⚠️ Warning: this only works if an NVIDIA gpu is installed on the server. See https://github.com/nextcloud/all-in-one#how-to-enable-hardware-acceleration-for-nextcloud.
      # NEXTCLOUD_KEEP_DISABLED_APPS: false # Setting this to true will keep Nextcloud apps that are disabled in the AIO interface and not uninstall them if they should be installed. See https://github.com/nextcloud/all-in-one#how-to-keep-disabled-apps
       SKIP_DOMAIN_VALIDATION: false # This should only be set to true if things are correctly configured. See https://github.com/nextcloud/all-in-one?tab=readme-ov-file#how-to-skip-the-domain-validation
      # TALK_PORT: 3478 # This allows to adjust the port that the talk container is using which is exposed on the host. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-talk-port
      # WATCHTOWER_DOCKER_SOCKET_PATH: /var/run/docker.sock # Needs to be specified if the docker socket on the host is not located in the default '/var/run/docker.sock'. Otherwise mastercontainer updates will fail. For macos it needs to be '/var/run/docker.sock'
    # security_opt: ["label:disable"] # Is needed when using SELinux

#   # Optional: Caddy reverse proxy. See https://github.com/nextcloud/all-in-one/discussions/575
#   # Alternatively, use Tailscale if you don't have a domain yet. See https://github.com/nextcloud/all-in-one/discussions/5439
#   # Hint: You need to uncomment APACHE_PORT: 11000 above, adjust cloud.example.com to your domain and uncomment the necessary docker volumes at the bottom of this file in order to make it work
#   # You can find further examples here: https://github.com/nextcloud/all-in-one/discussions/588
  caddy:
    image: caddy:alpine
    restart: always
    container_name: caddy
    volumes:
      - caddy_certs:/certs
      - caddy_config:/config
      - caddy_data:/data
      - caddy_sites:/srv
    network_mode: "host"
    configs:
      - source: Caddyfile
        target: /etc/caddy/Caddyfile
configs:
  Caddyfile:
    content: |
      # Adjust cloud.example.com to your domain below
      https://steilo.michaelfliegner.de:443 {
        reverse_proxy localhost:11000
      }
      https://wp.michaelfliegner.de:443 {
        reverse_proxy localhost:8000
      }

volumes: # If you want to store the data on a different drive, see https://github.com/nextcloud/all-in-one#how-to-store-the-filesinstallation-on-a-separate-drive
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer # This line is not allowed to be changed as otherwise the built-in backup solution will not work
  caddy_certs:
  caddy_config:
  caddy_data:
  caddy_sites:

  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

AIO interface down
nextcloud still running

[root@ubuntu:~# docker inspect nextcloud-aio-mastercontainer

Error: No such object: nextcloud-aio-mastercontainer
root@ubuntu:~# docker logs nextcloud-aio-mastercontainer
Error response from daemon: No such container: nextcloud-aio-mastercontainer
root@ubuntu:~# docker ps | grep master
root@ubuntu:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
85b3f8d79ea3 wordpress:latest “docker-entrypoint.s…” 23 hours ago Up 23 hours 0.0.0.0:8000->80/tcp, [::]:8000->80/tcp wp-wordpress-1
fa5773212370 mysql:5.7 “docker-entrypoint.s…” 23 hours ago Up 23 hours 0.0.0.0:3306->3306/tcp, [::]:3306->3306/tcp, 33060/tcp wp-mysql-1
5d11ba4850d2 Package aio-apache · GitHub “/start.sh /usr/bin/…” 28 hours ago Up 28 hours (healthy) 80/tcp, 127.0.0.1:11000->11000/tcp nextcloud-aio-apache
7425a5ac88a1 ghcr.io/nextcloud-releases/aio-whiteboard:latest “/start.sh” 28 hours ago Up 28 hours (healthy) 3002/tcp nextcloud-aio-whiteboard
aa30a4ae5321 ghcr.io/nextcloud-releases/aio-notify-push:latest “/start.sh” 28 hours ago Up 28 hours (healthy) nextcloud-aio-notify-push
3bd91d074fe9 ghcr.io/nextcloud-releases/aio-nextcloud:latest “/start.sh /usr/bin/…” 28 hours ago Up 28 hours (healthy) 9000/tcp nextcloud-aio-nextcloud
a40f6ace9bfc ghcr.io/nextcloud-releases/aio-imaginary:latest “/start.sh” 28 hours ago Up 28 hours (healthy) nextcloud-aio-imaginary
e36fb061ccbc Package aio-fulltextsearch · GitHub “/bin/tini – /usr/l…” 28 hours ago Up 28 hours (healthy) 9200/tcp, 9300/tcp nextcloud-aio-fulltextsearch
4a2848572621 Package aio-clamav · GitHub “/start.sh /usr/bin/…” 28 hours ago Up 28 hours (healthy) nextcloud-aio-clamav
1f50a484bec6 ghcr.io/nextcloud-releases/aio-redis:latest “/start.sh” 28 hours ago Up 28 hours (healthy) 6379/tcp nextcloud-aio-redis
e1c47de1b92e ghcr.io/nextcloud-releases/aio-postgresql:latest “/start.sh” 28 hours ago Up 28 hours (healthy) 5432/tcp nextcloud-aio-database
bc03a47ab7d0 ghcr.io/nextcloud-releases/aio-talk:latest “/start.sh superviso…” 28 hours ago Up 28 hours (healthy) 0.0.0.0:3478->3478/tcp, 0.0.0.0:3478->3478/udp, [::]:3478->3478/tcp, [::]:3478->3478/udp nextcloud-aio-talk
308a30232687 Package aio-collabora · GitHub “/start-collabora-on…” 28 hours ago Up 28 hours (healthy) 9980/tcp nextcloud-aio-collabora
65ace0474695 caddy:alpine “caddy run --config …” 4 days ago Up 4 days caddy
]

After
docker compose up -d

Steps to replicate it (hint: details matter!):

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

PASTE HERE

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

occ $ config:list system
{    "system": {        "one-click-instance": true,        "one-click-instance.user-limit": 100,        "memcache.local": "\\OC\\Memcache\\APCu",        "apps_paths": [            {                "path": "\/var\/www\/html\/apps",                "url": "\/apps",                "writable": false            },            {                "path": "\/var\/www\/html\/custom_apps",                "url": "\/custom_apps",                "writable": true            }        ],        "check_data_directory_permissions": false,        "memcache.distributed": "\\OC\\Memcache\\Redis",        "memcache.locking": "\\OC\\Memcache\\Redis",        "redis": {            "host": "***REMOVED SENSITIVE VALUE***",            "password": "***REMOVED SENSITIVE VALUE***",            "port": 6379        },        "overwritehost": "steilo.michaelfliegner.de",        "overwriteprotocol": "https",        "passwordsalt": "***REMOVED SENSITIVE VALUE***",        "secret": "***REMOVED SENSITIVE VALUE***",        "trusted_domains": [            "localhost",            "steilo.michaelfliegner.de"        ],        "datadirectory": "***REMOVED SENSITIVE VALUE***",        "dbtype": "pgsql",        "version": "31.0.7.1",        "overwrite.cli.url": "https:\/\/steilo.michaelfliegner.de\/",        "dbname": "***REMOVED SENSITIVE VALUE***",        "dbhost": "***REMOVED SENSITIVE VALUE***",        "dbport": "",        "dbtableprefix": "oc_",        "dbuser": "***REMOVED SENSITIVE VALUE***",        "dbpassword": "***REMOVED SENSITIVE VALUE***",        "installed": true,        "instanceid": "***REMOVED SENSITIVE VALUE***",        "maintenance": false,        "updatedirectory": "\/nc-updater",        "loglevel": 4,        "log_type": "file",        "logfile": "\/var\/www\/html\/data\/nextcloud.log",        "log_rotate_size": 10485760,        "log.condition": {            "apps": [                "admin_audit"            ]        },        "preview_max_x": 2048,        "preview_max_y": 2048,        "jpeg_quality": 60,        "enabledPreviewProviders": {            "1": "OC\\Preview\\Image",            "2": "OC\\Preview\\MarkDown",            "3": "OC\\Preview\\MP3",            "4": "OC\\Preview\\TXT",            "5": "OC\\Preview\\OpenDocument",            "6": "OC\\Preview\\Movie",            "7": "OC\\Preview\\Krita",            "0": "OC\\Preview\\Imaginary",            "23": "OC\\Preview\\ImaginaryPDF"        },        "enable_previews": true,        "upgrade.disable-web": true,        "mail_smtpmode": "smtp",        "trashbin_retention_obligation": "auto, 30",        "versions_retention_obligation": "auto, 30",        "activity_expire_days": 30,        "simpleSignUpLink.shown": false,        "share_folder": "\/Shared",        "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",        "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",        "maintenance_window_start": 100,        "allow_local_remote_servers": true,        "davstorage.request_timeout": 3600,        "htaccess.RewriteBase": "\/",        "dbpersistent": false,        "auth.bruteforce.protection.enabled": true,        "ratelimit.protection.enabled": true,        "files_external_allow_create_new_local": false,        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",        "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",        "mail_from_address": "***REMOVED SENSITIVE VALUE***",        "mail_sendmailmode": "smtp",        "mail_domain": "***REMOVED SENSITIVE VALUE***",        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",        "mail_smtpport": "465",        "mail_smtpauth": 1,        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",        "memories.db.triggers.fcu": true,        "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-musl",        "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",        "memories.gis_type": 2,        "data-fingerprint": "b01925c2d206034cae552d292b2887e1",        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",        "default_phone_region": "DE",        "updater.release.channel": "stable",        "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",        "mail_smtpsecure": "ssl",        "app_install_overwrite": [            "ransomware_protection"        ],        "updatechecker": false,        "DOMAIN": "steilo.michaelfliegner.de"    }}
occ $ 

Apps

The output of occ app:list (if possible).

occ $ app:list
Enabled:  - activity: 4.0.0  - admin_audit: 1.21.0  - appointments: 2.4.5  - bruteforcesettings: 4.0.0  - calendar: 5.3.6  - checksum: 1.2.6  - circles: 31.0.0  - cloud_federation_api: 1.14.0  - collectives: 3.0.2  - comments: 1.21.0  - contacts: 7.2.0  - contactsinteraction: 1.12.0  - cookbook: 0.11.3  - dashboard: 7.11.0  - dav: 1.33.0  - deck: 1.15.1  - discoursesso: 1.31.0  - drawio: 3.1.0  - end_to_end_encryption: 1.17.0  - epubviewer: 1.8.0  - external: 6.0.2  - federatedfilesharing: 1.21.0  - federation: 1.21.0  - files: 2.3.1  - files_antivirus: 6.0.2  - files_confidential: 3.3.0  - files_downloadlimit: 4.0.0  - files_fulltextsearch: 31.0.0  - files_pdfviewer: 4.0.0  - files_reminders: 1.4.0  - files_retention: 2.0.1  - files_sharing: 1.23.1  - files_trashbin: 1.21.0  - files_versions: 1.24.0  - files_zip: 2.1.0  - firstrunwizard: 4.0.0  - forms: 5.1.2  - fulltextsearch: 31.0.0  - fulltextsearch_elasticsearch: 31.0.0  - gpoddersync: 3.12.0  - groupfolders: 19.1.2  - integration_deepl: 1.3.1  - integration_discourse: 2.3.0  - integration_excalidraw: 2.4.0  - integration_google: 4.0.0  - integration_mastodon: 3.1.1  - integration_openstreetmap: 2.1.0  - intros: 1.1.2  - keeweb: 0.6.21  - libresign: 11.2.4  - limit_login_to_ip: 4.2.0  - logcleaner: 1.1.8  - logreader: 4.0.0  - lookup_server_connector: 1.19.0  - mail: 5.1.8  - memories: 7.6.1  - news: 26.0.2  - nextcloud-aio: 0.8.0  - nextcloud_announcements: 3.0.0  - nextpod: 0.7.7  - notes: 4.12.2  - notifications: 4.0.0  - notify_push: 1.1.0  - oauth2: 1.19.1  - occweb: 0.2.3  - password_policy: 3.0.0  - passwords: 2025.7.20  - photos: 4.0.0  - polls: 8.1.4  - previewgenerator: 5.9.0  - privacy: 3.0.0  - profile: 1.0.0  - provisioning_api: 1.21.0  - quota_warning: 1.21.0  - recognize: 9.0.3  - recommendations: 4.0.0  - related_resources: 2.0.0  - richdocuments: 8.7.2  - secrets: 2.1.2  - serverinfo: 3.0.0  - settings: 1.14.0  - sharebymail: 1.21.0  - smb_test: 0.3.11  - spreed: 21.1.2  - support: 3.0.0  - survey_client: 3.0.0  - systemtags: 1.21.1  - tables: 0.9.4  - tasks: 0.16.1  - text: 5.0.0  - theming: 2.6.1  - twofactor_backupcodes: 1.20.0  - twofactor_totp: 13.0.0-dev.0  - twofactor_webauthn: 2.2.0  - updatenotification: 1.21.0  - user_migration: 8.0.0  - user_saml: 6.6.0  - user_status: 1.11.0  - viewer: 4.0.0  - weather_status: 1.11.0  - webhook_listeners: 1.2.0  - whiteboard: 1.1.2  - workflow_script: 2.0.0  - workflowengine: 2.13.0Disabled:  - announcementcenter: 7.1.4 (installed 7.1.4)  - app_api: 5.0.2 (installed 4.0.5)  - bookmarks: 15.1.2 (installed 15.1.2)  - cms_pico: 1.0.21 (installed 1.0.21)  - encryption: 2.19.0  - files_external: 1.23.0  - mail_roundcube: 1.2.1 (installed 1.2.1)  - maps: 1.5.0 (installed 1.5.0)  - suspicious_login: 9.0.1  - twofactor_nextcloud_notification: 5.0.0  - user_ldap: 1.22.0
occ $ 

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

Hi,

first of all, I fear I cannot reproduce the problem but it sounds like something deleted the mastercontainer volume that holds all the persistent data. (Obviously AIO does not do this itself). You now recreated the mastercontainer by runnng docker compose up but since no data was present inside the mastercontainer volume, it restarted the whole installation from scratch.

I would recommend you restore the whole instance from backup: start at step 11 here: GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.

1 Like

did it myself when adapting my resetinstance.sh. Forgot that the mastercontainer gets already stopped before the containers loop … :-

1 Like

Hi, This what I am looking for. Can you please provide a little more detail on how to delete the mastercontainer so can re-start from scratch using AIO on Unraid 7, as I need to change the domain name. Thank you. Tim

See GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.

Nevermind. I found the documentation on Github to change the domain. tx

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