Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Nextcloud aio database bootloop

Featured Replies

I went to install the nextcloud-aio-mastercontainer and for some reason or another I didn't fully finish setting it up. some time goes by and I go to finish setting it up and I can't get in because I forgot the long generated password and stupidly didn't copy it to a safe location. So I delete the containers to start fresh and now the database container seems to be in a boot loop. I can't access the logs because the window closes before anything can be read.

I think just deleting the local data would solve my problems. The problem with that is, I don't know where the local data is being stored. It just says " nextcloud_aio_database ". I take that to be the root folder? But I cannot find it. Any ideas on how I can fix this issue or where the local data is stored?

Screenshot 2023-02-27 140328.jpg

Solved by szaimen

  • Author

Thanks for that. That kinda fixed my issue and then caused another. 

So, I tried to install the nextcloud aio mastercontainer on unraid and for reasons I had to do a reset. I'm now trying to install it again and I'm getting this error:

 

Quote

Trying to fix docker.sock permissions internally...
Creating docker group internally with id 281
It seems like you did not give the mastercontainer volume the correct name?
Using a different name is not supported!

 

Nothing has changed, I followed These instructions and did exactly what it said to do. Any ideas on what I can do?  Thanks

  • Author

I am following that guide. and I've done everything that it said too do. I have followed This guide instead to clean remove everything to do with the nextcloud-aio and also removed the docker image. After reinstalling the container, I am still getting the:
 

Quote

Trying to fix docker.sock permissions internally...
Creating docker group internally with id 281
It seems like you did not give the mastercontainer volume the correct name?
Using a different name is not supported!

 

error. I'm not a docker or unraid expert, I've no idea why this is happening or how to fix it. Any help would be greatly appreciated. 

Can you post the output of

sudo docker inspect nextcloud-aio-mastercontainer

 here?

Edited by szaimen

  • Author
Quote

[
    {
        "Id": "6bd7fbdc9f288aef3938bf30c15a58c0e82b6cb10404cba2c4549fe75c54517c",
        "Created": "2023-03-03T15:53:40.412294321Z",
        "Path": "start.sh",
        "Args": [
            "/usr/bin/supervisord",
            "-c",
            "/supervisord.conf"
        ],
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 1,
            "Error": "",
            "StartedAt": "2023-03-03T15:53:43.282692644Z",
            "FinishedAt": "2023-03-03T15:53:44.357060138Z",
            "Health": {
                "Status": "unhealthy",
                "FailingStreak": 0,
                "Log": []
            }
        },
        "Image": "sha256:f8a229d668aadfb2c728fd913896aed3ef9c65a26990e506f288863f13602b64",
        "ResolvConfPath": "/var/lib/docker/containers/6bd7fbdc9f288aef3938bf30c15a58c0e82b6cb10404cba2c4549fe75c54517c/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/6bd7fbdc9f288aef3938bf30c15a58c0e82b6cb10404cba2c4549fe75c54517c/hostname",
        "HostsPath": "/var/lib/docker/containers/6bd7fbdc9f288aef3938bf30c15a58c0e82b6cb10404cba2c4549fe75c54517c/hosts",
        "LogPath": "/var/lib/docker/containers/6bd7fbdc9f288aef3938bf30c15a58c0e82b6cb10404cba2c4549fe75c54517c/6bd7fbdc9f288aef3938bf30c15a58c0e82b6cb10404cba2c4549fe75c54517c-json.log",
        "Name": "/nextcloud-aio-mastercontainer",
        "RestartCount": 0,
        "Driver": "btrfs",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/mnt/user/appdata/nextcloud-aio:/mnt/docker-aio-config:rw",
                "/var/run/docker.sock:/var/run/docker.sock:ro"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {
                    "max-file": "1",
                    "max-size": "50m"
                }
            },
            "NetworkMode": "br0",
            "PortBindings": {},
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "host",
            "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",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": [],
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "KernelMemory": 0,
            "KernelMemoryTCP": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": false,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ]
        },
        "GraphDriver": {
            "Data": null,
            "Name": "btrfs"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/mnt/user/appdata/nextcloud-aio",
                "Destination": "/mnt/docker-aio-config",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/var/run/docker.sock",
                "Destination": "/var/run/docker.sock",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "6bd7fbdc9f28",
            "Domainname": "",
            "User": "root",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "80/tcp": {},
                "8080/tcp": {},
                "8443/tcp": {},
                "9000/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "HOST_OS=Unraid",
                "HOST_HOSTNAME=Gringotts",
                "HOST_CONTAINERNAME=nextcloud-aio-mastercontainer",
                "TCP_PORT_8080=8080",
                "APACHE_PORT=11000",
                "NEXTCLOUD_DATADIR=/mnt/user/Nextcloud/",
                "SKIP_DOMAIN_VALIDATION=true",
                "TZ=America/New_York",
                "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=528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD",
                "PHP_VERSION=8.1.16",
                "PHP_URL=https://www.php.net/distributions/php-8.1.16.tar.xz",
                "PHP_ASC_URL=https://www.php.net/distributions/php-8.1.16.tar.xz.asc",
                "PHP_SHA256=d61f13d96a58b93c39672b58f25e1ee4ce88500f4acb1430cb01a514875c1258"
            ],
            "Cmd": [
                "/usr/bin/supervisord",
                "-c",
                "/supervisord.conf"
            ],
            "Healthcheck": {
                "Test": [
                    "CMD-SHELL",
                    "/healthcheck.sh"
                ]
            },
            "Image": "nextcloud/all-in-one:latest",
            "Volumes": null,
            "WorkingDir": "/var/www/docker-aio",
            "Entrypoint": [
                "start.sh"
            ],
            "OnBuild": null,
            "Labels": {
                "net.unraid.docker.icon": "https://github.com/Muwahhidun/logo/raw/main/nextcloud-aio-logo.png",
                "net.unraid.docker.managed": "dockerman",
                "net.unraid.docker.webui": "http://[IP]"
            },
            "StopSignal": "SIGQUIT"
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "9d31ff6dfc9e84e7e4aa290e09105a4721c55b3e336c64dc164b44e2a98249c2",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {},
            "SandboxKey": "/var/run/docker/netns/9d31ff6dfc9e",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "br0": {
                    "IPAMConfig": {
                        "IPv4Address": "10.10.10.200"
                    },
                    "Links": null,
                    "Aliases": [
                        "6bd7fbdc9f28"
                    ],
                    "NetworkID": "ae664c35830b1f8a70991f54875a80a5f59ea140a047f5b4ac63d557e34c220b",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "",
                    "DriverOpts": null
                }
            }
        }
    }
]

 

  • Author

I did. It was a brand new download of the image and install. I changed nothing but the data dir and config dir. It worked previously. I will give this a go. Thanks

For whatever reason that worked. I had the config live in an appdata folder in a previous attempt and it worked fine until I ran into a separate issue.

 

Thank you for your help.

Edited by Masterism

On 3/4/2023 at 12:53 AM, szaimen said:

Please change -v /mnt/user/appdata/nextcloud-aio:/mnt/docker-aio-config:rw to -v nextcloud_aio_mastercontainer:/mnt/docker-aio-config:rw which will make it work.

 

So obviously you did not follow https://myunraid-ru.translate.goog/nextcloud-aio/?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=de&_x_tr_pto=wapp step-for-step.

Hello and sorry for hijacking this post. Is there a reason we can't use appdata and can it give problems in the future? I am trying to install a instance as well but I don't understand why you can't get the config in appdata. If I leave the template the way it is it works but I was wondering why I can't change that?

The reason is that the data must be located in the correct volume because otherwise the built-in backup solution won't work.

 

However feel free to move the docker image file that stores all docker related data to a different location that is covered by raid or similar.

13 hours ago, szaimen said:

The reason is that the data must be located in the correct volume because otherwise the built-in backup solution won't work.

 

However feel free to move the docker image file that stores all docker related data to a different location that is covered by raid or similar.

Thanks for the reply. I think I start to understand it now. And I got the backup mapped to where I want it to go :)

  • 1 month later...
On 3/3/2023 at 3:53 PM, szaimen said:

Please change -v /mnt/user/appdata/nextcloud-aio:/mnt/docker-aio-config:rw to -v nextcloud_aio_mastercontainer:/mnt/docker-aio-config:rw which will make it work.

 

So obviously you did not follow https://myunraid-ru.translate.goog/nextcloud-aio/?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=de&_x_tr_pto=wapp step-for-step.

Hello Sorry for also hyjacking, 

 

everything in my NC -AIO was running until I attempted an update then I also got the error below ==>

 

Trying to fix docker.sock permissions internally...
Creating docker group internally with id 281
It seems like you did not attach the 'nextcloud_aio_mastercontainer' volume to the mastercontainer?
This is not supported since the built-in backup solution will not work in that case!
It seems like you did not attach the 'nextcloud_aio_mastercontainer' volume to the mastercontainer?

 

 

When you indicate the "Please change -v /mnt/user/appdata/nextcloud-aio:/mnt/docker-aio-config:rw to -v nextcloud_aio_mastercontainer:/mnt/docker-aio-config:rw "

how would I go about doing this change ??

Right now I can not load my AIO and am ideally not wanting to do a full re-install as original poster did If I can avoid this.  

Do I have to change something in the Master Docker Container edit space (below)?  or in terminal window.  ?

If you want me to post my sudo docker inspect nextcloud-aio-mastercontainer  am happy to just let me know

 

image.thumb.png.830d7261346cd8be7da143e33e9b2240.png

 

It is something that I would change here ? 

 

image.png.7f90ea88b9a9d914cb8db1a2cdb9d1a5.png

On 3/9/2023 at 4:59 AM, Timelight said:

Thanks for the reply. I think I start to understand it now. And I got the backup mapped to where I want it to go :)

how did you go about the change . .. 

When I understand you old config correctly, you most likely need to rsync the data in /mnt/user/appdata/nextcloudaio/ to /var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/ and recreate the mastercontainer with the correct command which should make things work.

Edited by szaimen

4 hours ago, szaimen said:

When I understand you old config correctly, you most likely need to rsync the data in /mnt/user/appdata/nextcloudaio/ to /var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/ and recreate the mastercontainer with the correct command which should make things work.

sorry if this is a very stupid question but when you say "rsync" the data how would I go about doing that?   

and when you say with the correct command are you talking about changing the line in the edit configuration at "host path " so that that would read "/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data"
 

 

Sorry again in stupid questions...

 

 

21 hours ago, Aceriz said:

It is something that I would change here ? 

 

image.png.7f90ea88b9a9d914cb8db1a2cdb9d1a5.png

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.