Nextcloud AIO Docker isn't reaching itself?

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).

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.1
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04.03 LTS
  • Web server and version (e.g, Apache 2.4.25):
    • 2.5.65
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • I think i have no, but im not sur. How do i check this? I have no container called nginx. Only the Docker Socket Proxy for AppAPI
  • PHP version (e.g, 8.3):
    • 8.3.26
  • Is this the first time you’ve seen this error? (Yes / No):
    • YES
  • When did this problem seem to first start?
    • Directly after installation, maybe first after switching url
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

Hi im new to Nextcloud AIO. I had Nextcloud natively running on Ubuntu before.
Im still struggling with the docker enviroment and try to get into it.
After installation i changed the URL i configured during installation to the one of my old system. I didnt check the security warnings tab before i did this, so i dont know if the problem began after i switched the URL or before.
Anyway i have a few informational and warning messages that all tell me that they couldn’t check if they are configured or similar.
For example well-known URLs, WebDAV, OCS Provider Resolving, etc. (Sorry my Instance is in german and i dont know the exact wording).
Maybe related: He takes ages to check himself for the errors.
I think he cant resolve himself, but i dont know how to resolve this issue.

Also important information: I restored a backup of my old Nextcloud data to the new Nextcloud AIO installation.

I will attach a screenshot of the warnings.

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.

I didnt saw any interesting entries in here, but maybe the log has more info, but i dont know how to get the infos, because im not familiar how to get them from inside the container in docker.

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.

Same as above

Web server / Reverse Proxy

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

I dont know if i use a reserve proxy. I do if NExtcloud AIO installs one by itself. I dont know how to get the logs from the container in docker. Please help :D.

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!):

{
    "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": "I REMOVED THIS MY DOMAIN",
        "overwriteprotocol": "https",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "I REMOVED THIS MY DOMAIN"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "32.0.1.2",
        "overwrite.cli.url": "I REMOVED THIS",
        "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,
        "updatechecker": true,
        "updatedirectory": "\/nc-updater",
        "loglevel": 2,
        "app_install_overwrite": [
            "nextcloud-aio"
        ],
        "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,
        "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
        "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_url": "***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
        "data-fingerprint": "I REMOVED THIS",
        "DOMAIN": "I REMOVED THIS"
    }

Apps

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

  • activity: 5.0.0-dev.0
  • admin_audit: 1.22.0
  • app_api: 32.0.0
  • bruteforcesettings: 5.0.0-dev.0
  • calendar: 6.1.0
  • circles: 32.0.0
  • cloud_federation_api: 1.16.0
  • comments: 1.22.0
  • contacts: 8.1.0
  • contactsinteraction: 1.13.1
  • dashboard: 7.12.0
  • dav: 1.34.2
  • deck: 1.16.2
  • federatedfilesharing: 1.22.0
  • federation: 1.22.0
  • files: 2.4.0
  • files_downloadlimit: 5.0.0-dev.0
  • files_pdfviewer: 5.0.0-dev.0
  • files_reminders: 1.5.0
  • files_sharing: 1.24.0
  • files_trashbin: 1.22.0
  • files_versions: 1.25.0
  • firstrunwizard: 5.0.0-dev.0
  • logreader: 5.0.0-dev.0
  • lookup_server_connector: 1.20.0
  • nextcloud-aio: 0.8.0
  • nextcloud_announcements: 4.0.0-dev.0
  • notes: 4.12.4
  • notifications: 5.0.0-dev.0
  • notify_push: 1.2.1
  • oauth2: 1.20.0
  • password_policy: 4.0.0-dev.0
  • photos: 5.0.0-dev.1
  • privacy: 4.0.0-dev.0
  • profile: 1.1.0
  • provisioning_api: 1.22.0
  • recommendations: 5.0.0-dev.0
  • related_resources: 3.0.0-dev.0
  • richdocuments: 9.0.1
  • serverinfo: 4.0.0-dev.0
  • settings: 1.15.1
  • sharebymail: 1.22.0
  • support: 4.0.0-dev.0
  • survey_client: 4.0.0-dev.0
  • systemtags: 1.22.0
  • text: 6.0.1
  • theming: 2.7.0
  • twofactor_backupcodes: 1.21.0
  • twofactor_totp: 14.0.0
  • updatenotification: 1.22.0
  • user_status: 1.12.0
  • viewer: 5.0.0-dev.0
  • weather_status: 1.12.0
  • webhook_listeners: 1.3.0
  • workflowengine: 2.14.0
    Disabled:
  • encryption: 2.20.0
  • files_external: 1.24.0
  • suspicious_login: 10.0.0-dev.0
  • tasks: 0.17.1 (installed 0.17.1)
  • twofactor_nextcloud_notification: 6.0.0-dev.0
  • user_ldap: 1.23.0

How did you change it?

Was it following the AIO way?

Yes exactly. I changed it the AIO way and then the few settings in the Dashboard.

Maybe its the Reverse Proxy, Apache setting that im missing? But as i stated above im not sure if i have a reverse proxy running or where and how i change the settings :smiley:.

Got the same error today after updating my Fedora server install (new docker-ce packages).

I used the “ Environment=DOCKER_MIN_API_VERSION=1.24” fix here to get rid of the “slim error” a week before. Maybe there is a link?

Got it working by removing the nextcloud-aio-mastercontainer container and pulling the new updated version. All errors disappeared.

sudo docker stop nextcloud-aio-mastercontainer nextcloud-aio-apache nextcloud-aio-nextcloud nextcloud-aio-redis nextcloud-aio-database nextcloud-aio-notify-push

sudo docker container rm nextcloud-aio-mastercontainer

sudo docker run \
–init \
–sig-proxy=false \
–name nextcloud-aio-mastercontainer \
–restart always \
–publish 80:80 \
–publish 8080:8080 \
–publish 8443:8443 \
–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

This restored access to the interface on localhost:8080 and allowed me to update all containers after. I don’t know if stopping all containers was useful, just a precaution (and I don’t know if this is the best way to do this but I hope people who are more knowledgeable with how it works will come the to the rescue if it is not :sweat_smile: ).

Last “docker run” lines is the official install method and may need some diffrent configuration.

Hi. thanks for the response.

i also had to do the workaround with the DOCKER_MIN_API_VERSION, when i set up the system.

I tried the same with the update right now, but the errors persist.
The only error in Logs after update was this one, maybe this helps:

image

Best Regards
Marvin

Just for your information: Docker broke DNS in version 29.1.0: 29.1.0 breaks the embedded DNS resolver · Issue #51614 · moby/moby · GitHub

The issue should be fixed in 29.1.1, which came out a few hours ago. So before you start trying lots of things, check which version you have installed with:

docker -v

If you’re on 29.1.0, upgrade your packages…

apt update && apt dist-upgrade

(or the equivalent for whatever package manager your distro uses).

If it still doesn’t work afterward, try stopping and recreating all containers, either via the AIO web interface or, if you manage your Compose stack manually, by running:

docker compose down && docker compose up -d
1 Like

I actually had docker 29.0.1.
Upgraded to the latest version, but the errors are still there :(.

Did you also stop and restart/recreate all containers?

Hmm, but that seems to be a different issue than the one in your opening post. Unfortunately, I can’t really help with that.

Also, the DNS issue from your opening post could of course also be caused somewhere else on the host or in the network..

Oh, and that was 3 days ago when 29.1.0 wasn’t out yet, so yeah, if the errors from your opening post are still there they’re likely caused by something else then.

Hi,

i forgot to restart the containers. I did now by going to the AIO page and restart the containers there. The docker compose down && docker compose up -d just returned “no configuration file provided: not found”.

The original errors are all still there, shown in the Overview page in the Administrator menu. In the Security & warnings tab.

The screenshot i send you were from the Logging page. I thought maybe this error could be related to the problem.

Im still greatful for your try :D. Thanks

Hi,

just wanted to tell all of you that i fixed this issue. I installed nginx as reverse proxy. After nginx was running all errors dissappeard.

Best Regards

Marvin

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