Daily Backup will not stop running

On a running Nextcloud installation - 27.1.5 (This is a AIO installation on Virtual Box), when I go to the AIO page at port 8080 I see only

Daily backup currently running. (Logs)

The whole process should not take more than a few minutes.

This happened after I ran a command: sudo docker exec -it --env STOP_CONTAINERS=1 nextcloud-aio-mastercontainer /daily-backup.sh

After I ran sudo docker exec -it --env START_CONTAINERS=1 nextcloud-aio-mastercontainer /daily-backup.sh

the installation started working fine but when I visit the AIO page at port 8080 I still see this about the daily backup running and I can find no way to stop it.

Please help

Hi, can xou post the output of sudo docker inspect nextcloud-aio-mastercontainer here?

sudo] password for ncadmin:
[
{
“Id”: “7ac20989456e9811977bf21354f6988c45cdae04eda70c68bd3d7f8f3ddeccd4”,
“Created”: “2024-01-17T14:23:45.245546521Z”,
“Path”: “/start.sh”,
“Args”: ,
“State”: {
“Status”: “running”,
“Running”: true,
“Paused”: false,
“Restarting”: false,
“OOMKilled”: false,
“Dead”: false,
“Pid”: 2165,
“ExitCode”: 0,
“Error”: “”,
“StartedAt”: “2024-01-23T17:04:33.682587669Z”,
“FinishedAt”: “2024-01-23T17:04:29.623622704Z”,
“Health”: {
“Status”: “healthy”,
“FailingStreak”: 0,
“Log”: [
{
“Start”: “2024-01-24T03:51:07.59716002Z”,
“End”: “2024-01-24T03:51:07.771223121Z”,
“ExitCode”: 0,
“Output”: “”
},
{
“Start”: “2024-01-24T03:51:37.779493391Z”,
“End”: “2024-01-24T03:51:37.946153294Z”,
“ExitCode”: 0,
“Output”: “”
},
{
“Start”: “2024-01-24T03:52:07.955034082Z”,
“End”: “2024-01-24T03:52:08.116527395Z”,
“ExitCode”: 0,
“Output”: “”
},
{
“Start”: “2024-01-24T03:52:38.125558359Z”,
“End”: “2024-01-24T03:52:38.29490249Z”,
“ExitCode”: 0,
“Output”: “”
},
{
“Start”: “2024-01-24T03:53:08.306559947Z”,
“End”: “2024-01-24T03:53:08.483961159Z”,
“ExitCode”: 0,
“Output”: “”
}
]
}
},
“Image”: “sha256:b2feb91627f5e160be9518604c71c2de7cc34cbe6d6c6aea88bbac34ff4f0d33”,
“ResolvConfPath”: “/var/lib/docker/containers/7ac20989456e9811977bf21354f6988c45cdae04eda70c68bd3d7f8f3ddeccd4/resolv.conf”,
“HostnamePath”: “/var/lib/docker/containers/7ac20989456e9811977bf21354f6988c45cdae04eda70c68bd3d7f8f3ddeccd4/hostname”,
“HostsPath”: “/var/lib/docker/containers/7ac20989456e9811977bf21354f6988c45cdae04eda70c68bd3d7f8f3ddeccd4/hosts”,
“LogPath”: “/var/lib/docker/containers/7ac20989456e9811977bf21354f6988c45cdae04eda70c68bd3d7f8f3ddeccd4/7ac20989456e9811977bf21354f6988c45cdae04eda70c68bd3d7f8f3ddeccd4-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”: “default”,
“PortBindings”: {
“80/tcp”: [
{
“HostIp”: “”,
“HostPort”: “80”
}
],
“8080/tcp”: [
{
“HostIp”: “”,
“HostPort”: “8080”
}
],
“8443/tcp”: [
{
“HostIp”: “”,
“HostPort”: “8443”
}
]
},
“RestartPolicy”: {
“Name”: “always”,
“MaximumRetryCount”: 0
},
“AutoRemove”: false,
“VolumeDriver”: “”,
“VolumesFrom”: null,
“ConsoleSize”: [
0,
0
],
“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”: null,
“BlkioDeviceWriteBps”: null,
“BlkioDeviceReadIOps”: null,
“BlkioDeviceWriteIOps”: null,
“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”: 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”: {
“LowerDir”: “/var/lib/docker/overlay2/53d38a65cb1bf1399be996a3ab3e017269e20614d70c3cb8127ea9f647c00fcf-init/diff:/var/lib/docker/overlay2/28482eea2442f22b8d8ee2a518b283e37fdc2d5ef508bb15f65bed0716f15636/diff:/var/lib/docker/overlay2/367aebcad8fc1784553dc67a16be7b875fd9034d7c6cfcfc327e7697bfce9fbe/diff:/var/lib/docker/overlay2/94bd315c336bc82bacb7d9e708062b9eb6f3996e3cf325c8f09cce9dd811d539/diff:/var/lib/docker/overlay2/fe946a5c6397abac61c8d020a2297623ee47e48129954a365f9319499acaab7e/diff:/var/lib/docker/overlay2/ddf2b3d397d2773b11c5ecb9fe499359da1bd258270f1de9f04ffea756228977/diff:/var/lib/docker/overlay2/7209ab16ecfb07f5c25b7a18fe596e0bcf4746929b42520b70febd94e4c13014/diff:/var/lib/docker/overlay2/3cc6ca74b6f82775fbb47fe88c4dd1545f76476a80b912a27f8a8ba1af0d57f4/diff:/var/lib/docker/overlay2/321c942e2146b673c4968a396902923c0dfc54991b00b423f2553542c07666f9/diff:/var/lib/docker/overlay2/1e4f1fc8931b1d77ff4d24f5e7aec16795a0e05a8cc83f7435172db2caf5ab88/diff:/var/lib/docker/overlay2/9e6372384417a3b6f6249b96cee5e3388f6354216e8e78bcd708e1db8aa52582/diff:/var/lib/docker/overlay2/597eaa1c48447983668ff679c3031b9c55696770060ca0fc10dfdc0773efc0c0/diff:/var/lib/docker/overlay2/59afe1139aac1d0f5441a2b42864d6cfe392a4e04381f362850abc2a47433137/diff:/var/lib/docker/overlay2/4ba6621f6ecc1bc3f0ef4ca5561dc023fce9a0851e0b929fb225da75385e65fd/diff:/var/lib/docker/overlay2/1336cc46fe14b440748a1dc7a2e9f8bf5cb5e5e0dd8604e9354be406cc3af09b/diff:/var/lib/docker/overlay2/b4739ad366e7585deb101cb1582da5166f06fb6ddeabde00b834105a6005a413/diff:/var/lib/docker/overlay2/1cef9377197e5cecd136ec09727588d7c714d87fb54ecb1208f6fb8261fb05f9/diff:/var/lib/docker/overlay2/8c84cc6ef65efdf996a7e7652695e0de39a0705007e7d10503a664d6b6fc6c37/diff:/var/lib/docker/overlay2/350014f95c5efdab027fee50496db42496941fa0656a373aa2784a6abbc120f2/diff”,
“MergedDir”: “/var/lib/docker/overlay2/53d38a65cb1bf1399be996a3ab3e017269e20614d70c3cb8127ea9f647c00fcf/merged”,
“UpperDir”: “/var/lib/docker/overlay2/53d38a65cb1bf1399be996a3ab3e017269e20614d70c3cb8127ea9f647c00fcf/diff”,
“WorkDir”: “/var/lib/docker/overlay2/53d38a65cb1bf1399be996a3ab3e017269e20614d70c3cb8127ea9f647c00fcf/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”: “2a379735919c”,
“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”: [
“NEXTCLOUD_MOUNT=/mnt/”,
“NEXTCLOUD_DATADIR=/mnt/ncdata”,
“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=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC”,
“PHP_VERSION=8.2.14”,
“PHP_URL=https://www.php.net/distributions/php-8.2.14.tar.xz”,
“PHP_ASC_URL=https://www.php.net/distributions/php-8.2.14.tar.xz.asc”,
“PHP_SHA256=763ecd39fcf51c3815af6ef6e43fa9aa0d0bd8e5a615009e5f4780c92705f583”
],
“Cmd”: null,
“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”: {},
“StopSignal”: “SIGWINCH”
},
“NetworkSettings”: {
“Bridge”: “”,
“SandboxID”: “3c2db0e6901f18e4b1293944a315065095ec13acecc75688c5989ee2e30ac67d”,
“HairpinMode”: false,
“LinkLocalIPv6Address”: “”,
“LinkLocalIPv6PrefixLen”: 0,
“Ports”: {
“80/tcp”: [
{
“HostIp”: “0.0.0.0”,
“HostPort”: “80”
},
{
“HostIp”: “::”,
“HostPort”: “80”
}
],
“8080/tcp”: [
{
“HostIp”: “0.0.0.0”,
“HostPort”: “8080”
},
{
“HostIp”: “::”,
“HostPort”: “8080”
}
],
“8443/tcp”: [
{
“HostIp”: “0.0.0.0”,
“HostPort”: “8443”
},
{
“HostIp”: “::”,
“HostPort”: “8443”
}
],
“9000/tcp”: null
},
“SandboxKey”: “/var/run/docker/netns/3c2db0e6901f”,
“SecondaryIPAddresses”: null,
“SecondaryIPv6Addresses”: null,
“EndpointID”: “”,
“Gateway”: “”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“IPAddress”: “”,
“IPPrefixLen”: 0,
“IPv6Gateway”: “”,
“MacAddress”: “”,
“Networks”: {
“nextcloud-aio”: {
“IPAMConfig”: null,
“Links”: null,
“Aliases”: [
“7ac20989456e”,
“2a379735919c”
],
“NetworkID”: “117f8c5bbc38cab1cf14c41eebd7c1b3eb2bf68e3d57e577f719dbe954521953”,
“EndpointID”: “b0211e37b5b3426fa3cb2b4040a8e490e8910d343e0ae949648f02538b3ac1b1”,
“Gateway”: “172.18.0.1”,
“IPAddress”: “172.18.0.3”,
“IPPrefixLen”: 16,
“IPv6Gateway”: “”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“MacAddress”: “02:42:ac:12:00:03”,
“DriverOpts”: null
}
}

The one thing I notice in this output is “NEXTCLOUD_DATADIR=/mnt/ncdata” which should be “NEXTCLOUD_DATADIR=/mnt/nextcloudexternal/ncdata” The data directory used to be in the 1st location but was moved. There is still a copy of the data in that 1st path though

Sorry, I posted the wrong command. It should be sudo docker logs nextcloud-aio-mastercontainer from which I need the output.

Trying to fix docker.sock permissions internally…
Adding internal www-data to group ping
Initial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080

If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443
[17-Jan-2024 14:23:49] NOTICE: fpm is running, pid 112
[17-Jan-2024 14:23:49] NOTICE: ready to handle connections
{“level”:“info”,“ts”:1705501429.7361407,“msg”:“using provided configuration”,“config_file”:“/Caddyfile”,“config_adapter”:“”}
[Wed Jan 17 14:23:49.737573 2024] [mpm_event:notice] [pid 107:tid 140145238211400] AH00489: Apache/2.4.58 (Unix) OpenSSL/3.1.4 configured – resuming normal operations
error from daemon in stream: Error grabbing logs: invalid character ‘\x00’ looking for beginning of value

That is all that is showing.

And what do you see if you open the AIO interface now?

Now it is back to normal. Seems like it was that way for two days.

I guess the remaining concern is what I posted from the 1st output that was requested

“The one thing I notice in this output is “NEXTCLOUD_DATADIR=/mnt/ncdata” which should be “NEXTCLOUD_DATADIR=/mnt/nextcloudexternal/ncdata” The data directory used to be in the 1st location but was moved. There is still a copy of the data in that 1st path though”

Thank You!

1 Like

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