AIO - All in one: tring to set it destroied my NC

The Basics

  • Nextcloud Server version:

    • latest but can’t be determined
  • Operating system and version:

    • Ubuntu 24.04
  • Web server and version:

    • 2.4.52-1ubuntu4.14
  • Reverse proxy and version

    • ?
  • PHP version:

    • 8.1.2-1ubuntu2.21
  • Is this the first time you’ve seen this error? (Yes / No):

    • Yes
  • When did this problem seem to first start?

    • 7 June 2025
  • Installation method

    • Who remembers, I did it three years ago
  • Are you using CloudfIare, mod_security, or similar?

    • No

Summary of the issue you are facing:

Trying to install AIO I screwed my working installation.

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

  1. I followed many tutorial;

  2. To summarize: I created a docker that answer to the port 8080, updated the Let’s encrypt certification, restarted Apache;

  3. I end that my NC no longer works:


    #Service Unavailable

    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    Apache/2.4.52 (Ubuntu) Server at nextmune.munerotto.it Port 443

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.

fedehome:~$ sudo tail nextcloud.log
{"reqId":"a4dLaESoZGp2A1euuMy9","level":2,"time":"2025-06-08T21:14:57+00:00","remoteAddr":"93.49.253.65","user":"--","app":"unsplash","method":"GET","url":"/index.php/apps/unsplash/api/login.css","message":"Selected provider 'Unsplash' could not be found. Using Default. Please select an existing provider in the settings!","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0","version":"30.0.11.1","data":{"app":"unsplash"}}
{"reqId":"a4dLaESoZGp2A1euuMy9","level":2,"time":"2025-06-08T21:14:58+00:00","remoteAddr":"93.49.253.65","user":"--","app":"unsplash","method":"GET","url":"/index.php/apps/unsplash/api/login.css","message":"Selected provider 'Unsplash' could not be found. Using Default. Please select an existing provider in the settings!","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0","version":"30.0.11.1","data":{"app":"unsplash"}}
{"reqId":"a4dLaESoZGp2A1euuMy9","level":2,"time":"2025-06-08T21:14:58+00:00","remoteAddr":"93.49.253.65","user":"--","app":"unsplash","method":"GET","url":"/index.php/apps/unsplash/api/login.css","message":"Selected provider 'Unsplash' could not be found. Using Default. Please select an existing provider in the settings!","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0","version":"30.0.11.1","data":{"app":"unsplash"}}
{"reqId":"DfREeqD2FSKDhiCtoriF","level":2,"time":"2025-06-08T21:14:58+00:00","remoteAddr":"93.49.253.65","user":"--","app":"unsplash","method":"GET","url":"/index.php/apps/theming/image/logo?v=26","message":"Selected provider 'Unsplash' could not be found. Using Default. Please select an existing provider in the settings!","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0","version":"30.0.11.1","data":{"app":"unsplash"}}
{"reqId":"bxsECi3xBTkdzDALY1Ee","level":2,"time":"2025-06-08T21:14:59+00:00","remoteAddr":"93.49.253.65","user":"--","app":"unsplash","method":"GET","url":"/index.php/apps/unsplash/api/metadata","message":"Selected provider 'Unsplash' could not be found. Using Default. Please select an existing provider in the settings!","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0","version":"30.0.11.1","data":{"app":"unsplash"}}
{"reqId":"M9cdeLZoK2Dw0q2ykhYM","level":2,"time":"2025-06-08T21:15:17+00:00","remoteAddr":"93.49.253.65","user":"--","app":"unsplash","method":"GET","url":"/:8080","message":"Selected provider 'Unsplash' could not be found. Using Default. Please select an existing provider in the settings!","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0","version":"30.0.11.1","data":{"app":"unsplash"}}
{"reqId":"HQ5QhRb4Hsjd30CCOYVM","level":2,"time":"2025-06-08T21:15:18+00:00","remoteAddr":"93.49.253.65","user":"--","app":"unsplash","method":"GET","url":"/index.php/apps/theming/image/background?v=26","message":"Selected provider 'Unsplash' could not be found. Using Default. Please select an existing provider in the settings!","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0","version":"30.0.11.1","data":{"app":"unsplash"}}
{"reqId":"ghtvv1IB6X7nd8JTdaI8","level":2,"time":"2025-06-08T21:31:03+00:00","remoteAddr":"152.32.208.9","user":"--","app":"unsplash","method":"GET","url":"/index.php/login","message":"Selected provider 'Unsplash' could not be found. Using Default. Please select an existing provider in the settings!","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11","version":"30.0.11.1","data":{"app":"unsplash"}}
{"reqId":"QOKNIndtKbr0WM2P4dtJ","level":2,"time":"2025-06-08T22:05:15+00:00","remoteAddr":"87.236.176.96","user":"--","app":"unsplash","method":"GET","url":"/index.php/login","message":"Selected provider 'Unsplash' could not be found. Using Default. Please select an existing provider in the settings!","userAgent":"Mozilla/5.0 (compatible; InternetMeasurement/1.0; +https://internet-measurement.com/)","version":"30.0.11.1","data":{"app":"unsplash"}}
{"reqId":"XSiEgQsmhDgqexFkNCjf","level":2,"time":"2025-06-08T22:21:45+00:00","remoteAddr":"142.44.149.135","user":"--","app":"unsplash","method":"GET","url":"/admin/assets/css/jquery-ui.css","message":"Selected provider 'Unsplash' could not be found. Using Default. Please select an existing provider in the settings!","userAgent":"nvdorz","version":"30.0.11.1","data":{"app":"unsplash"}}

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/apache2/error.log:

fedehome:~$ tail /var/log/apache2/error.log
[Tue Jun 10 23:11:40.214426 2025] [proxy:error] [pid 558352] (113)No route to host: AH00957: http: attempt to connect to 93.49.253.65:11000 (93.49.253.65) failed
[Tue Jun 10 23:11:40.214500 2025] [proxy_http:error] [pid 558352] [client 93.49.253.65:39124] AH01114: HTTP: failed to make connection to backend: 93.49.253.65
[Tue Jun 10 23:12:40.674605 2025] [proxy:error] [pid 559631] (113)No route to host: AH00957: http: attempt to connect to 93.49.253.65:11000 (93.49.253.65) failed
[Tue Jun 10 23:12:40.674672 2025] [proxy_http:error] [pid 559631] [client 93.49.253.65:39126] AH01114: HTTP: failed to make connection to backend: 93.49.253.65
[Tue Jun 10 23:13:41.734905 2025] [proxy:error] [pid 559635] (113)No route to host: AH00957: http: attempt to connect to 93.49.253.65:11000 (93.49.253.65) failed
[Tue Jun 10 23:13:41.734969 2025] [proxy_http:error] [pid 559635] [client 93.49.253.65:39130] AH01114: HTTP: failed to make connection to backend: 93.49.253.65
[Tue Jun 10 23:14:43.264935 2025] [proxy:error] [pid 559596] (113)No route to host: AH00957: http: attempt to connect to 93.49.253.65:11000 (93.49.253.65) failed
[Tue Jun 10 23:14:43.265007 2025] [proxy_http:error] [pid 559596] [client 93.49.253.65:39132] AH01114: HTTP: failed to make connection to backend: 93.49.253.65
[Tue Jun 10 23:15:45.305342 2025] [proxy:error] [pid 559582] (113)No route to host: AH00957: http: attempt to connect to 93.49.253.65:11000 (93.49.253.65) failed
[Tue Jun 10 23:15:45.305412 2025] [proxy_http:error] [pid 559582] [client 93.49.253.65:39134] AH01114: HTTP: failed to make connection to backend: 93.49.253.65

Configuration

Apache HTTPS for the Nextcloud web

The output of /etc/apache2/sites-enabled/nextCsite-le-ssl.conf

fedehome:~$ cat /etc/apache2/sites-enabled/nextCsite-le-ssl.conf 
<IfModule mod_ssl.c>
  <VirtualHost *:443>
    # This is the name of the vhost.
    ServerName nextmune.munerotto.it
    # These are alternative names for this same vhost.
    # We put the other domains here. They will all go to the same place.
    ServerAlias nextmune.munerotto.it
    # Directory where the website code lives.
    DocumentRoot /var/www/html/nextCsite


    # Reverse proxy based on https://httpd.apache.org/docs/current/mod/mod_proxy_wstunnel.html
    RewriteEngine On
    ProxyPreserveHost On
    RequestHeader set X-Real-IP %{REMOTE_ADDR}s
    AllowEncodedSlashes NoDecode
    
    # Adjust the two lines below to match APACHE_PORT and APACHE_IP_BINDING. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md#adapting-the-sample-web-server-configurations-below
    ProxyPass / http://{public_static_ip_NC}:11000/ nocanon
    ProxyPassReverse / http://{public_static_ip_NC}:11000/
    
    RewriteCond %{HTTP:Upgrade} websocket [NC]
    RewriteCond %{HTTP:Connection} upgrade [NC]
    RewriteCond %{THE_REQUEST} "^[a-zA-Z]+ /(.*) HTTP/\d+(\.\d+)?$"
    RewriteRule .? "ws://127.0.0.1:11000/%1" [P,L,UnsafeAllow3F] # Adjust to match APACHE_PORT and APACHE_IP_BINDING. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md#adapting-the-sample-web-server-configurations-below

    # Enable h2, h2c and http1.1
    Protocols h2 h2c http/1.1
    # Solves slow upload speeds caused by http2
    H2WindowSize 5242880

    # TLS
    SSLEngine               on
    SSLProtocol             -all +TLSv1.2 +TLSv1.3
    SSLCipherSuite          ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305
    SSLHonorCipherOrder     off
    SSLSessionTickets       off

    # If running apache on a subdomain (eg. nextcloud.example.com) of a domain that already has an wildcard ssl certificate from certbot on this machine, 
    # the <your-nc-domain> in the below lines should be replaced with just the domain (eg. example.com), not the subdomain. 
    # In this case the subdomain should already be secured without additional actions

    # Disable HTTP TRACE method.
    TraceEnable off
    <Files ".ht*">
        Require all denied
    </Files>

    # Support big file uploads
    LimitRequestBody 0
    Timeout 86400
    ProxyTimeout 86400

    <Directory  /var/www/html/nextCsite>
        Options Indexes FollowSymLinks MultiViews
	AllowOverride All
        Require all granted
    </Directory>

    <IfModule mod_headers.c>
      Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
    </IfModule>

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined


Include /etc/letsencrypt/options-ssl-apache.conf

SSLCertificateFile /etc/letsencrypt/live/nextCsite/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/nextCsite/privkey.pem

</VirtualHost>
</IfModule>

Docker AIO configuration

The docker init:

sudo docker run --init --sig-proxy=false --name nextcloud-aio-mastercontainer --restart always --publish 8080:8080 --env APACHE_PORT=11000 --env APACHE_IP_BINDING={public_static_ip_NC} --env APACHE_ADDITIONAL_NETWORK="nextCsite" --env SKIP_DOMAIN_VALIDATION=false --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config --volume /var/run/docker.sock:/var/run/docker.sock:ro ghcr.io/nextcloud-releases/all-in-one:latest

I did a sketch of my layout but it is quite basic.

I would like to point out that are already different tutorials about adding the AIO’s docker and people dumb as I am, might get confused. Please help me to regain my NC.

Can you please share the output of docker ps? I always recommend using the compose file for deploying AIO.

1 Like

should you --publish 11000:8080 ?

No, this is not how this works in AIO.

1 Like
fedehome:~$ sudo docker ps -a 
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES```

Waiting for a reply I modified the apache https vhost:

fedehome:~$ cat /etc/apache2/sites-enabled/nextmune.munerotto.it-le-ssl.conf 
<IfModule mod_ssl.c>
  <VirtualHost *:443>
    # This is the name of the vhost.
    ServerName nextmune.munerotto.it
    # These are alternative names for this same vhost.
    # We put the other domains here. They will all go to the same place.
    ServerAlias nextmune.munerotto.it
    # Directory where the website code lives.
    DocumentRoot /var/www/html/nextmune.munerotto.it

    RewriteCond %{HTTP:Upgrade} websocket [NC]
    RewriteCond %{HTTP:Connection} upgrade [NC]
    RewriteCond %{THE_REQUEST} "^[a-zA-Z]+ /(.*) HTTP/\d+(\.\d+)?$"

    # Enable h2, h2c and http1.1
    Protocols h2 h2c http/1.1
    # Solves slow upload speeds caused by http2
    H2WindowSize 5242880

    # TLS
    SSLEngine               on
    SSLProtocol             -all +TLSv1.2 +TLSv1.3
    SSLCipherSuite          ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305
    SSLHonorCipherOrder     off
    SSLSessionTickets       off

    # If running apache on a subdomain (eg. nextcloud.example.com) of a domain that already has an wildcard ssl certificate from certbot on this machine, 
    # the <your-nc-domain> in the below lines should be replaced with just the domain (eg. example.com), not the subdomain. 
    # In this case the subdomain should already be secured without additional actions

    # Disable HTTP TRACE method.
    TraceEnable off
    <Files ".ht*">
        Require all denied
    </Files>

    # Support big file uploads
    LimitRequestBody 0
    Timeout 86400
    ProxyTimeout 86400

    <Directory  /var/www/html/nextmune.munerotto.it>
        Options Indexes FollowSymLinks MultiViews
	AllowOverride All
        Require all granted
    </Directory>

    <IfModule mod_headers.c>
      Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
    </IfModule>

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined


Include /etc/letsencrypt/options-ssl-apache.conf

SSLCertificateFile /etc/letsencrypt/live/nextmune.munerotto.it/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/nextmune.munerotto.it/privkey.pem

</VirtualHost>
</IfModule>

Now NC starts again but this is not a solution (just half) as AIO is still missing, of course I’m happy to not have loose everything :slight_smile:

Can you post the output of sudo docker inspect nextcloud-aio-mastercontainer here?

fedehome:~$ sudo docker inspect nextcloud-aio-mastercontainer
[sudo] password for mune: 
[
    {
        "Id": "fdb8b57800b44893524687f9cbf9c95f9b561c350cd386b2d4d5fcc24bfb2667",
        "Created": "2025-06-11T15:17:25.141658825Z",
        "Path": "/start.sh",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 577532,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2025-06-11T15:17:26.684034968Z",
            "FinishedAt": "0001-01-01T00:00:00Z",
            "Health": {
                "Status": "healthy",
                "FailingStreak": 0,
                "Log": [
                    {
                        "Start": "2025-06-11T18:45:06.756793766+02:00",
                        "End": "2025-06-11T18:45:06.805471479+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2025-06-11T18:45:36.806690096+02:00",
                        "End": "2025-06-11T18:45:36.85532884+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2025-06-11T18:46:06.855988618+02:00",
                        "End": "2025-06-11T18:46:06.903903956+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2025-06-11T18:46:36.90484713+02:00",
                        "End": "2025-06-11T18:46:36.953651979+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2025-06-11T18:47:06.954413218+02:00",
                        "End": "2025-06-11T18:47:07.003383365+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    }
                ]
            }
        },
        "Image": "sha256:6289bc73cacb1bdfe8147627d049ac80fd7d4fd967d195dbfb7c0f8c2ce8f875",
        "ResolvConfPath": "/var/lib/docker/containers/fdb8b57800b44893524687f9cbf9c95f9b561c350cd386b2d4d5fcc24bfb2667/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/fdb8b57800b44893524687f9cbf9c95f9b561c350cd386b2d4d5fcc24bfb2667/hostname",
        "HostsPath": "/var/lib/docker/containers/fdb8b57800b44893524687f9cbf9c95f9b561c350cd386b2d4d5fcc24bfb2667/hosts",
        "LogPath": "/var/lib/docker/containers/fdb8b57800b44893524687f9cbf9c95f9b561c350cd386b2d4d5fcc24bfb2667/fdb8b57800b44893524687f9cbf9c95f9b561c350cd386b2d4d5fcc24bfb2667-json.log",
        "Name": "/nextcloud-aio-mastercontainer",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "docker-default",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "nextcloud_aio_mastercontainer:/mnt/docker-aio-config",
                "/var/run/docker.sock:/var/run/docker.sock:ro"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "bridge",
            "PortBindings": {
                "8080/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "8080"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "always",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                35,
                146
            ],
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "private",
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": [],
            "BlkioDeviceReadBps": [],
            "BlkioDeviceWriteBps": [],
            "BlkioDeviceReadIOps": [],
            "BlkioDeviceWriteIOps": [],
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": null,
            "PidsLimit": null,
            "Ulimits": [],
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/interrupts",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware",
                "/sys/devices/virtual/powercap",
                "/sys/devices/system/cpu/cpu0/thermal_throttle",
                "/sys/devices/system/cpu/cpu1/thermal_throttle",
                "/sys/devices/system/cpu/cpu2/thermal_throttle",
                "/sys/devices/system/cpu/cpu3/thermal_throttle"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ],
            "Init": true
        },
        "GraphDriver": {
            "Data": {
                "ID": "fdb8b57800b44893524687f9cbf9c95f9b561c350cd386b2d4d5fcc24bfb2667",
                "LowerDir": "/var/lib/docker/overlay2/ef0cc95701387db7f07d203c65ce3b4f9d442648d5b6b17c002fe29c436548d9-init/diff:/var/lib/docker/overlay2/5b34cb887878c32941598f193a20a5fe585160157db2a30e29462266c1c6d5bb/diff:/var/lib/docker/overlay2/4ce39a475afa5cb4575fe89295e2429e9cb1178a950a798896faaa4129b943d4/diff:/var/lib/docker/overlay2/bb2f12b11e7df0fcd3b2dd144916c9ac6bd695c03fe5ad92e56c0ef9feaa471c/diff:/var/lib/docker/overlay2/951ac71fb3440e7c4acc944f78f17aa9d5d00f885cf9d9de9ff50e58cd375f60/diff:/var/lib/docker/overlay2/033e956987b7a20c77a1647e5ee2951fdd1fa9b75d2b5f801652352416be629e/diff:/var/lib/docker/overlay2/90df99d463d693a646cb483fcc0dd40abf7fdf4d4caf49ae25587a7d66d22747/diff:/var/lib/docker/overlay2/64f1cf044b10206dd3f05b09e2fb6afec2ae56e0785f81cb9b28377d4f09a152/diff:/var/lib/docker/overlay2/b66ccf7cdffffea9e2460170255a26af315a398e4cd89ec2a30e68f57d8731e1/diff:/var/lib/docker/overlay2/4b0d0118f27c9cef8e32bd8c59eb598d7ffeee3d9ff7b37c6d997c128e710c9a/diff:/var/lib/docker/overlay2/68ba2a551a5dcfd83699a8688dc04c2e2ae3d0b5cce09fbe2b2dc3b4654d4b80/diff:/var/lib/docker/overlay2/ddd687c0f6f4a66142585211f782d311e5f991c5344d00418de434a74f61a046/diff:/var/lib/docker/overlay2/4b5329fcc6eb514a07b70b484a17ffbbc1ff7205804b6144bc709433a3843349/diff:/var/lib/docker/overlay2/6c618befc4c1e9dd74d2f9a7b8681a08fecb66b3732b6f8e4dac935a4b0fe8ec/diff:/var/lib/docker/overlay2/5774c5b3c57733580b67fc25fdc62da481e73bdacc5a6a28d0fae9f801222aff/diff:/var/lib/docker/overlay2/ee49fde846c8936946b964bd596b898ab8f429cd110e73cd7bcd1db88129c147/diff:/var/lib/docker/overlay2/e05d66b8a7a52be67415ca0de7d6a2819d469525814374155d05700b032ea324/diff:/var/lib/docker/overlay2/ffb11ddb6193258f705b0ab128bd24c67816bac44fe0557ef9039f4cef45ce16/diff:/var/lib/docker/overlay2/1f7398d63e25cfc1af0dfe52a9f2f8063a63db8ed980dad1accba3865a883f80/diff:/var/lib/docker/overlay2/ff7c7114b952c17f5eb0a731eb82c5dfa9b64955780c38151b1f04b7347c79ea/diff",
                "MergedDir": "/var/lib/docker/overlay2/ef0cc95701387db7f07d203c65ce3b4f9d442648d5b6b17c002fe29c436548d9/merged",
                "UpperDir": "/var/lib/docker/overlay2/ef0cc95701387db7f07d203c65ce3b4f9d442648d5b6b17c002fe29c436548d9/diff",
                "WorkDir": "/var/lib/docker/overlay2/ef0cc95701387db7f07d203c65ce3b4f9d442648d5b6b17c002fe29c436548d9/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "volume",
                "Name": "nextcloud_aio_mastercontainer",
                "Source": "/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data",
                "Destination": "/mnt/docker-aio-config",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "bind",
                "Source": "/var/run/docker.sock",
                "Destination": "/var/run/docker.sock",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "fdb8b57800b4",
            "Domainname": "",
            "User": "root",
            "AttachStdin": false,
            "AttachStdout": true,
            "AttachStderr": true,
            "ExposedPorts": {
                "80/tcp": {},
                "8080/tcp": {},
                "8443/tcp": {},
                "9000/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "SKIP_DOMAIN_VALIDATION=false",
                "APACHE_PORT=11000",
                "APACHE_IP_BINDING=93.49.253.65",
                "APACHE_ADDITIONAL_NETWORK=nextmune.munerotto.it",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "PHPIZE_DEPS=autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c",
                "PHP_INI_DIR=/usr/local/etc/php",
                "PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
                "PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
                "PHP_LDFLAGS=-Wl,-O1 -pie",
                "GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD",
                "PHP_VERSION=8.4.7",
                "PHP_URL=https://www.php.net/distributions/php-8.4.7.tar.xz",
                "PHP_ASC_URL=https://www.php.net/distributions/php-8.4.7.tar.xz.asc",
                "PHP_SHA256=e29f4c23be2816ed005aa3f06bbb8eae0f22cc133863862e893515fc841e65e3"
            ],
            "Cmd": null,
            "Healthcheck": {
                "Test": [
                    "CMD-SHELL",
                    "/healthcheck.sh"
                ]
            },
            "Image": "ghcr.io/nextcloud-releases/all-in-one:latest",
            "Volumes": null,
            "WorkingDir": "/var/www/docker-aio",
            "Entrypoint": [
                "/start.sh"
            ],
            "OnBuild": null,
            "Labels": {
                "org.label-schema.vendor": "Nextcloud"
            },
            "StopSignal": "SIGQUIT"
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "946d6bda03c32732f1d6431193c978e15aa9d338030037ea10697ce3deb6e9f6",
            "SandboxKey": "/var/run/docker/netns/946d6bda03c3",
            "Ports": {
                "80/tcp": null,
                "8080/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "8080"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "8080"
                    }
                ],
                "8443/tcp": null,
                "9000/tcp": null
            },
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "bc2f97aec4dc078f45bcedbfb6707e461052d6d65bd16202339d40c52fd2a46f",
            "Gateway": "172.17.0.1",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "172.17.0.2",
            "IPPrefixLen": 16,
            "IPv6Gateway": "",
            "MacAddress": "12:04:0f:27:87:54",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "MacAddress": "12:04:0f:27:87:54",
                    "DriverOpts": null,
                    "GwPriority": 0,
                    "NetworkID": "6eaa4b063bce3df42417bc17fa91b6e8977cf4ab904e9ea58564696ac86fb78c",
                    "EndpointID": "bc2f97aec4dc078f45bcedbfb6707e461052d6d65bd16202339d40c52fd2a46f",
                    "Gateway": "172.17.0.1",
                    "IPAddress": "172.17.0.2",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DNSNames": null
                }
            }
        }
    }
]

So what exactly did AIO destroy?

I fixed NextCloud but AIO is still missing so some apps (such as ClamAV, something with AI, others) can’t be deployed.

So you enabled clamav in the AIO interface but it does not start the container or what is the exact error?

Friday or Sathurday, in the many many many trials I did going to a port (8080, 8443) at some site (numeric, or …) in the browser appeared a nextcloud’s form asking to enable some service (among that clamAV), but after the confirmation the system said it didn’t nothing (I don’t remember why; I think I was almost done and I kept trying until I lost my basic installation (up to two hours ago).

1 Like

This night I tried again.
It seems that now NextCloud is brand new. I checked /opt/nextcloud_data/, and lucky it still contains all the old files. (Anyway I also have the local copy from the Nautilus synchronization.)
I lost, all the users, the site settings, but I guess everything is still in the HD.
I can log only as admin with very long password -given me by a blue box- (it takes something like thirty seconds to login).

Probably I can recover the files as in the you move to a new repository but I have thousands of files linked as a multimedia attachment in odt or ods files.

I’m worried to break these hypertext links.

Is there a way to regain the files and the settings?

Please check all-in-one/migration.md at main · nextcloud/all-in-one · GitHub then