Docker volume does not contain user data

@OliverV
Hmmm ā€¦ I tested both options and for clearness I only used the recommended call here documented on the nextcloudpi website whereas ā€œ-v ncdata:/dataā€ is mentioned.

My ā€œ-v ncdata:/dataā€ is exact the same as described here:

I only added an additional external volume to get a backup path mounted to the container. To ensure that the second vloume mount of the backup volume is not the problem I removed it and got the same problems. I also tested then in addition with a absolute path and the problem raises again.

As docker docu tells, the -v option can take absolute paths or, if not absolute, it will be a local path under data-root of docker (e.g. /var/lib/docker/volumes. I tested both options and both results in storing data not in the ncdata path. The user-added data of the nextcloudpi container running will be stored in the overlays2 folder. And overlays seems to be stored in the data-root of dockerā€¦


To be clear: I setup now multiple VMs with Mint19.3 Mint20 Ubuntu 20.04 and Ubuntu 20.10 and a Ubuntu server on a Raspberry. Installed docker to the machines and did a ā€œdocker runā€ described here: https://hub.docker.com/r/ownyourbits/nextcloudpi

All showed the same result:
user-added data (by client or website) will not be stored in the ncdata volume. For sure inside of the running nextcloudpi container all is good and user-added data will be stored - somewhere in the overlays of the ncdata volume. But the ā€œ-v ncdata:/dataā€ is only holding the initial files, not the user added files. And if a user wants to use an external drive holding the data, like @cainbantam and I, it will fail.

But thanks for checking and support.

1 Like

so ncdata can be anywhere you want and will be under /var/lib/docker/volumes/ if not specified.

what do your docker logs have to say?

I have exactly the same issue.
NextCloudPi system info says

datadir /data-ro/nextcloud/data

and this directory is outside /data in the -v directive, in the /var/lib/docker/overlay2/<container_id>/merged/data-ro/nextcloud/data

there NextCloudPi puts new users directories and their data.

On the system info page I have read this:
ā€£ You should use nc-datadir to move your files to your plugged in USB drive
but nc-datadir command is not available in the WebUI and not in the TUI (from the console of the container)

So I think this is a big problem and this docker image is totally unusable with a -v directive on an external disk at the moment.

So check your logs, and share them if need help.

Also maybe you are pulling an old image, the latest is multi arch

@OliverV First of all, thank you very much for taking your time on this ā€œissueā€.

I just wanted to let you know, that the version Iā€™m using is the one you are suggesting:

    "RepoDigests": [
        "ownyourbits/nextcloudpi-armhf@sha256:**b283d54325f78667870692fcc5a526075fa6894acd6d65054285d41fab4588e9**"

which I extracted from the pulled docker image.

So I did one more test to compare behaviour between docker image tag 1.24.0 and the most recent release suggested by you, @OliverV: multi arch

To get something ā€œreproducableā€ and kind of minimal I did the following from a bash console on my raspberry pi:

bash> NCPNAME=test_ncp_issue && sudo docker stop $NCPNAME; sudo docker container rm $NCPNAME; sudo rm -rf /home/pi/test_ncp_issue/$NCPNAME/ /home/pi/test_ncp_issue/$NCPNAME-ro; sudo docker run -d -p 4443:4443 -p 443:443 -p 80:80 -v /home/pi/test_ncp_issue/$NCPNAME:/data --name $NCPNAME ownyourbits/nextcloudpi-armhf:v1.24.0 192.1.1.9

Keeping everything else fixed, and only changing between v1.24.0 and latest tag I get the issue described in my initial post only for the latest tag, but nor for the v1.24.0 tag.

Maybe I did something else wrong, but to me it looks like an issue on the latest tag. If not an issue, then at least a changed behaviour.

Any help would be appreciated.

1 Like

Thank you all guys for your contribution to identify the issue and find a solution. It is really thrilling to read you.
As a modest contribution, I may mention that an apparently working (though not definitive I guess) workaround to me has been to move /var/lib/docker to my external drive and put a symbolic link instead (I tried first to do that with the data-ro folder but it crashed the nextcloud serverā€¦ maybe I did a mistakeā€¦)
Looking forward to find out what happens. Maybe we should rather use v.124 as suggested by the posts of @mdr and @ste_cat

I can confirm what @mdr said. I have tryied ownyourbits/nextcloudpi-arm64:v1.24.0 and itā€™s working well, nextcloudā€™s users are correctly located under /data following the -v directive.

I have been able to update nextcloud to 20.0.4 version and NextCloudPi WebUI to 1.15 and everything seems to work well.

The WebUI shows this info:

datadir /data/nextcloud/data

and not

datadir /data-ro/nextcloud/data

It seems correctā€¦

Just wanted to chime in that I also face the same issue on the latest version, if using an empty volume/dir.

However, if I create a /data directory using v1.24.0, and then update the docker container back to the latest version (by removing it and starting a new container) while re-using the /data directory, then my datadir remains as datadir /data/nextcloud/data.

Ok, that would be nice, but did you try to add new data or a new user to see where the data/folder of the new user go?

I was migrating from an old instance, so I added new users and then moved their previous data over to the /data mountpoint. I then did a scan in the webui, and everything was detected and processed correctly.

1 Like

seems like I canā€™t install Docker Engine on my Raspbian cause a 64 bits OS is required.

@dced Migration seems to hide the problem. I also used this to solve the problem, but I want to setup a NEW machine with nextcloudpi image and the workaround through 1.24.0 is the only way to do it. (Or moving the data-root ā€¦)

Anyway, if I pull on a fresh installed machine nextcloudpi I will get the 1.32.0, is the right?
And for sure, yes the inital user data for user ā€œncpā€ are in $YOUR_MOUNTED_VOLUME/nextcloud/data/ncp/files (some nextcloud files), but if you add new data as ā€œncpā€ user (or other user as well) to your nextcloudpi via webdav or via website, the container will store them to $YOUR_DOCKER_DATA_ROOT/overlay2/816ceba4edb4c4455ff89680dbc6b9e624899dc17c2c765871f1771fdee1e621/diff/data-ro/nextcloud/data/ncp/files

So some people can reproduce it, and some other not - thatā€™s making me nervous.

@OliverV here are my docker log, it seems ok for me:

Initializing empty volume..
Making /usr/local/etc/ncp-config.d persistent ...
 Making /etc/services-enabled.d persistent ...
 Making /etc/letsencrypt persistent ...
 Making /etc/shadow persistent ...
 Making /etc/cron.d persistent ...
 Making /etc/cron.daily persistent ...
 Making /etc/cron.hourly persistent ...
 Making /etc/cron.weekly persistent ...
 Making /usr/local/bin persistent ...
 Making /etc/apache2 persistent ...
 Starting PHP-fpm
 Starting Apache
 Starting mariaDB
 2020-12-28 15:35:32 0 [Note] mysqld (mysqld 10.3.25-MariaDB-0+deb10u1) starting as process 102 ...
 Starting Redis
 Starting Cron
 Starting Postfix
 System config value trusted_domains => 1 set to string 172.17.0.2
 System config value trusted_domains => 6 set to string my.nextcloud.local
 Provisioning
 Provisioning Redis password
 Updating NextCloud config with Redis password
 Provisioning MariaDB password
 Updating NextCloud config with MariaDB password
 Running nc-limits
 Using 6241489920B for PHP
 Using 6 PHP threads
 Using 2030164992 memory for the database
 Stopping MariaDB database server: mysqld.
 Starting MariaDB database server: mysqld.
 Stopping redis-server: redis-server.
 Starting redis-server: redis-server.
 Init done

@OliverV
After testing different versions by building from Github I observed a general change in initializing the docker image/container. It seems since 1.32.0 when building the docker image it is pre-initializing nextcloud layer including all installed apps. This is cool because everything is in the image and starting of a container is much faster ā€¦
BUT because the user defined volume with ā€œ-v ncdata:/dataā€ was not available during build time of the image, it will use data-ro folder when starting the container with the user defined volume. And in this case all user added data will be stored in data-ro instead of data.

With 1.31.0 the initialization of nextcloud was done on the first docker run of the container (including ā€œ-v ncdata:/dataā€ option) when nextcloud sees an uninitialized created & mounted volume.

So I see the problem in this commit: https://github.com/nextcloud/nextcloudpi/commit/92156694f683d490a6bc2426e20dd356789d913b

I pulled 1.34.1 reverted the changes in

  • docker/nextcloud/Dockerfile
  • docker /nextcloud/020nextcloud
  • docker/nextcloudpi/Dockerfile
    to 1.31.0 and now /data will be created on first run on the docker container. And if the docker run mounts a volume to /data, all is good and user added data will be stored in the mounted volume.

I will create a bug ticket on github later.

1 Like

Thank you :pray:.

Done. See Docker image does not store user added files in /data folder beginning with 1.32.0 Ā· Issue #1237 Ā· nextcloud/nextcloudpi Ā· GitHub

this has been fixed

1 Like

Hej,
First of all, kudos to everyone involved in the project! My ncp has been running really stable for a while now! But now I got a similar problem as above.

I got the same problem (data-ro) in the docker image v1.47.1.
I tried latest (which loads v1.46.9, even though there is v1.47.1) and then I tried 1.47.1.
Nothing seems to work. I use portainer to create the container but the basic command is:

docker run -p 4443:4443 -p 4433:443 -p 8080:80 -v /srv/dev-disk-by-uuid-3d0770af-49cd-445c-911f-4c07ee490055/nextcloud:/data --name nextcloudpi --restart unless-stopped ownyourbits/nextcloudpi:v1.47.1 $IP

I ran ncp-update to v1.47.2, which works, but didnā€™t change anything.
Here is my report:

NextCloudPi diagnostics

NextCloudPi version  v1.47.2
NextCloudPi image    NextCloudPi_docker_03-01-22
OS                   Debian GNU/Linux 11. 5.10.103-meson64 (aarch64)
automount            no
USB devices          sda 
datadir              /data/nextcloud/data
data in SD           no
data filesystem      btrfs
data disk usage      2.4T/3.7T
rootfs usage         5.5G/29G
swapfile             none
dbdir                /data/database
Nextcloud check      error
HTTPD service        up
PHP service          up
MariaDB service      down
Redis service        down
HPB service          down
Postfix service      down
internet check       ok
port check 80        closed
port check 443       closed
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
interface            eth0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
uptime               3:47

Nextcloud configuration

An unhandled exception has been thrown:
Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory in /data-ro/nextcloud/lib/private/DB/Connection.php:87
Stack trace:
#0 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\DB\Connection->connect()
#1 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1041): Doctrine\DBAL\Connection->getWrappedConnection()
#2 /data-ro/nextcloud/lib/private/DB/Connection.php(237): Doctrine\DBAL\Connection->executeQuery()
#3 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\DB\Connection->executeQuery()
#4 /data-ro/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(287): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /data-ro/nextcloud/lib/private/AppConfig.php(344): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /data-ro/nextcloud/lib/private/AppConfig.php(109): OC\AppConfig->loadConfigValues()
#7 /data-ro/nextcloud/lib/private/AppConfig.php(300): OC\AppConfig->getApps()
#8 /data-ro/nextcloud/lib/private/legacy/OC_App.php(972): OC\AppConfig->getValues()
#9 /data-ro/nextcloud/lib/private/Server.php(692): OC_App::getAppVersions()
#10 /data-ro/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(160): OC\Server->OC\{closure}()
#11 /data-ro/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#12 /data-ro/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(127): Pimple\Container->offsetGet()
#13 /data-ro/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query()
#14 /data-ro/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query()
#15 /data-ro/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(182): OC\AppFramework\Utility\SimpleContainer->get()
#16 /data-ro/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(160): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#17 /data-ro/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#18 /data-ro/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(127): Pimple\Container->offsetGet()
#19 /data-ro/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query()
#20 /data-ro/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query()
#21 /data-ro/nextcloud/lib/private/Server.php(1079): OC\AppFramework\Utility\SimpleContainer->get()
#22 /data-ro/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(160): OC\Server->OC\{closure}()
#23 /data-ro/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#24 /data-ro/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(127): Pimple\Container->offsetGet()
#25 /data-ro/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query()
#26 /data-ro/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query()
#27 /data-ro/nextcloud/lib/private/Server.php(2040): OC\AppFramework\Utility\SimpleContainer->get()
#28 /data-ro/nextcloud/lib/private/Files/View.php(118): OC\Server->getLockingProvider()
#29 /data-ro/nextcloud/lib/private/Server.php(439): OC\Files\View->__construct()
#30 /data-ro/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(160): OC\Server->OC\{closure}()
#31 /data-ro/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#32 /data-ro/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(127): Pimple\Container->offsetGet()
#33 /data-ro/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query()
#34 /data-ro/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query()
#35 /data-ro/nextcloud/lib/private/Server.php(1403): OC\AppFramework\Utility\SimpleContainer->get()
#36 /data-ro/nextcloud/lib/base.php(594): OC\Server->boot()
#37 /data-ro/nextcloud/lib/base.php(1087): OC::init()
#38 /data-ro/nextcloud/console.php(48): require_once('/data-ro/nextcl...')
#39 /data-ro/nextcloud/occ(11): require_once('/data-ro/nextcl...')
#40 {main}
HTTPd logs

[Fri May 13 08:32:02.547555 2022] [ssl:error] [pid 104:tid 281473794834448] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=localhost / issuer: CN=localhost / serial: 24ED0E039493F412510BECDB7725556A01B95D80 / notbefore: Mar  1 20:24:54 2022 GMT / notafter: Feb 27 20:24:54 2032 GMT]
[Fri May 13 08:32:02.547589 2022] [ssl:error] [pid 104:tid 281473794834448] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Fri May 13 08:32:02.562285 2022] [ssl:error] [pid 105:tid 281473794834448] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=localhost / issuer: CN=localhost / serial: 24ED0E039493F412510BECDB7725556A01B95D80 / notbefore: Mar  1 20:24:54 2022 GMT / notafter: Feb 27 20:24:54 2032 GMT]
[Fri May 13 08:32:02.562328 2022] [ssl:error] [pid 105:tid 281473794834448] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Fri May 13 08:32:02.566338 2022] [mpm_event:notice] [pid 105:tid 281473794834448] AH00489: Apache/2.4.52 (Debian) OpenSSL/1.1.1k configured -- resuming normal operations
[Fri May 13 08:32:02.566434 2022] [core:notice] [pid 105:tid 281473794834448] AH00094: Command line: '/usr/sbin/apache2'
[Fri May 13 08:34:40.117591 2022] [proxy_fcgi:error] [pid 110:tid 281472996979088] [client 172.17.0.1:47742] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory in /data-ro/nextcloud/lib/private/DB/Connection.php:87\nStack trace:\n#0 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\\DB\\Connection->connect()\n#1 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1041): Doctrine\\DBAL\\Connection->getWrappedConnection()\n#2 /data-ro/nextcloud/lib/private/DB/Connection.php(237): Doctrine\\DBAL\\Connection->executeQuery()\n#3 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\\DB\\Connection->executeQuery()\n#4 /data-ro/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(287): Doctrine\\DBAL\\Query\\QueryBuilder->execute()\n#5 /data-ro/nextcloud/lib/private/AppConfig.php(344): OC\\DB\\QueryBuilder\\QueryBuilder->execute()\n#6 /data-ro/nextcloud/lib/private/AppConfig.php(109): OC\\AppConfig->loadConfigValues()\n#7 /data-ro/nextcloud/lib/pr...'
[Fri May 13 08:34:40.304456 2022] [proxy_fcgi:error] [pid 110:tid 281472980193680] [client 172.17.0.1:47746] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory in /data-ro/nextcloud/lib/private/DB/Connection.php:87\nStack trace:\n#0 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\\DB\\Connection->connect()\n#1 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1041): Doctrine\\DBAL\\Connection->getWrappedConnection()\n#2 /data-ro/nextcloud/lib/private/DB/Connection.php(237): Doctrine\\DBAL\\Connection->executeQuery()\n#3 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\\DB\\Connection->executeQuery()\n#4 /data-ro/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(287): Doctrine\\DBAL\\Query\\QueryBuilder->execute()\n#5 /data-ro/nextcloud/lib/private/AppConfig.php(344): OC\\DB\\QueryBuilder\\QueryBuilder->execute()\n#6 /data-ro/nextcloud/lib/private/AppConfig.php(109): OC\\AppConfig->loadConfigValues()\n#7 /data-ro/nextcloud/lib/pr...'
[Fri May 13 08:34:41.306833 2022] [proxy_fcgi:error] [pid 110:tid 281472879546768] [client 172.17.0.1:47750] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory in /data-ro/nextcloud/lib/private/DB/Connection.php:87\nStack trace:\n#0 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\\DB\\Connection->connect()\n#1 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1041): Doctrine\\DBAL\\Connection->getWrappedConnection()\n#2 /data-ro/nextcloud/lib/private/DB/Connection.php(237): Doctrine\\DBAL\\Connection->executeQuery()\n#3 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\\DB\\Connection->executeQuery()\n#4 /data-ro/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(287): Doctrine\\DBAL\\Query\\QueryBuilder->execute()\n#5 /data-ro/nextcloud/lib/private/AppConfig.php(344): OC\\DB\\QueryBuilder\\QueryBuilder->execute()\n#6 /data-ro/nextcloud/lib/private/AppConfig.php(109): OC\\AppConfig->loadConfigValues()\n#7 /data-ro/nextcloud/lib/pr...'
[Fri May 13 08:34:41.540301 2022] [proxy_fcgi:error] [pid 109:tid 281471948415376] [client 172.17.0.1:47754] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory in /data-ro/nextcloud/lib/private/DB/Connection.php:87\nStack trace:\n#0 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\\DB\\Connection->connect()\n#1 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1041): Doctrine\\DBAL\\Connection->getWrappedConnection()\n#2 /data-ro/nextcloud/lib/private/DB/Connection.php(237): Doctrine\\DBAL\\Connection->executeQuery()\n#3 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\\DB\\Connection->executeQuery()\n#4 /data-ro/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(287): Doctrine\\DBAL\\Query\\QueryBuilder->execute()\n#5 /data-ro/nextcloud/lib/private/AppConfig.php(344): OC\\DB\\QueryBuilder\\QueryBuilder->execute()\n#6 /data-ro/nextcloud/lib/private/AppConfig.php(109): OC\\AppConfig->loadConfigValues()\n#7 /data-ro/nextcloud/lib/pr...'
[Fri May 13 08:38:15.750802 2022] [proxy_fcgi:error] [pid 109:tid 281473005371792] [client 172.17.0.1:47850] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory in /data-ro/nextcloud/lib/private/DB/Connection.php:87\nStack trace:\n#0 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\\DB\\Connection->connect()\n#1 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1041): Doctrine\\DBAL\\Connection->getWrappedConnection()\n#2 /data-ro/nextcloud/lib/private/DB/Connection.php(237): Doctrine\\DBAL\\Connection->executeQuery()\n#3 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\\DB\\Connection->executeQuery()\n#4 /data-ro/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(287): Doctrine\\DBAL\\Query\\QueryBuilder->execute()\n#5 /data-ro/nextcloud/lib/private/AppConfig.php(344): OC\\DB\\QueryBuilder\\QueryBuilder->execute()\n#6 /data-ro/nextcloud/lib/private/AppConfig.php(109): OC\\AppConfig->loadConfigValues()\n#7 /data-ro/nextcloud/lib/pr...'
[Fri May 13 08:38:15.850622 2022] [proxy_fcgi:error] [pid 110:tid 281472988586384] [client 172.17.0.1:47854] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory in /data-ro/nextcloud/lib/private/DB/Connection.php:87\nStack trace:\n#0 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\\DB\\Connection->connect()\n#1 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1041): Doctrine\\DBAL\\Connection->getWrappedConnection()\n#2 /data-ro/nextcloud/lib/private/DB/Connection.php(237): Doctrine\\DBAL\\Connection->executeQuery()\n#3 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\\DB\\Connection->executeQuery()\n#4 /data-ro/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(287): Doctrine\\DBAL\\Query\\QueryBuilder->execute()\n#5 /data-ro/nextcloud/lib/private/AppConfig.php(344): OC\\DB\\QueryBuilder\\QueryBuilder->execute()\n#6 /data-ro/nextcloud/lib/private/AppConfig.php(109): OC\\AppConfig->loadConfigValues()\n#7 /data-ro/nextcloud/lib/pr...'
[Fri May 13 08:38:15.911193 2022] [proxy_fcgi:error] [pid 110:tid 281472887939472] [client 172.17.0.1:47858] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory in /data-ro/nextcloud/lib/private/DB/Connection.php:87\nStack trace:\n#0 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\\DB\\Connection->connect()\n#1 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1041): Doctrine\\DBAL\\Connection->getWrappedConnection()\n#2 /data-ro/nextcloud/lib/private/DB/Connection.php(237): Doctrine\\DBAL\\Connection->executeQuery()\n#3 /data-ro/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\\DB\\Connection->executeQuery()\n#4 /data-ro/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(287): Doctrine\\DBAL\\Query\\QueryBuilder->execute()\n#5 /data-ro/nextcloud/lib/private/AppConfig.php(344): OC\\DB\\QueryBuilder\\QueryBuilder->execute()\n#6 /data-ro/nextcloud/lib/private/AppConfig.php(109): OC\\AppConfig->loadConfigValues()\n#7 /data-ro/nextcloud/lib/pr...'

Database logs

tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory

I donā€™t know what the problem is, but I had to reinstall my container because of an update which failed due to Debian Buster / Bullseye (so I believe).
Now Iā€™m left without my precious cloud :smiley:

Nextcloud logs

{"reqId":"7MDtlzvS2o1GsRjDonfM","level":0,"time":"2022-05-10T09:03:10+00:00","remoteAddr":"","user":"--","app":"maps","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"22.2.2.0"}
{"reqId":"7MDtlzvS2o1GsRjDonfM","level":0,"time":"2022-05-10T09:03:10+00:00","remoteAddr":"","user":"--","app":"metadata","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"22.2.2.0"}
{"reqId":"7MDtlzvS2o1GsRjDonfM","level":0,"time":"2022-05-10T09:03:10+00:00","remoteAddr":"","user":"--","app":"socialsharing_email","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"22.2.2.0"}
{"reqId":"7MDtlzvS2o1GsRjDonfM","level":0,"time":"2022-05-10T09:03:10+00:00","remoteAddr":"","user":"--","app":"timetracker","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"22.2.2.0"}
{"reqId":"YnoqT1JTx74gCjxQ9MY1YQAAAEg","level":0,"time":"2022-05-10T09:03:11+00:00","remoteAddr":"172.17.0.1","user":"hannes","app":"camerarawpreviews","method":"PROPFIND","url":"/remote.php/dav/files/hannes/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.2.2.0"}
{"reqId":"YnoqT1JTx74gCjxQ9MY1YQAAAEg","level":0,"time":"2022-05-10T09:03:11+00:00","remoteAddr":"172.17.0.1","user":"hannes","app":"serverDI","method":"PROPFIND","url":"/remote.php/dav/files/hannes/","message":"The requested alias \"PreviewManager\" is deprecated. Please request \"OCP\\IPreview\" directly. This alias will be removed in a future Nextcloud version.","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.2.2.0"}
{"reqId":"YnoqT1JTx74gCjxQ9MY1YQAAAEg","level":0,"time":"2022-05-10T09:03:11+00:00","remoteAddr":"172.17.0.1","user":"hannes","app":"drawio","method":"PROPFIND","url":"/remote.php/dav/files/hannes/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.2.2.0"}
{"reqId":"YnoqT1JTx74gCjxQ9MY1YQAAAEg","level":0,"time":"2022-05-10T09:03:11+00:00","remoteAddr":"172.17.0.1","user":"hannes","app":"files_sharing","method":"PROPFIND","url":"/remote.php/dav/files/hannes/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.2.2.0"}
{"reqId":"YnoqT1JTx74gCjxQ9MY1YQAAAEg","level":0,"time":"2022-05-10T09:03:11+00:00","remoteAddr":"172.17.0.1","user":"hannes","app":"maps","method":"PROPFIND","url":"/remote.php/dav/files/hannes/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.2.2.0"}
{"reqId":"YnoqT1JTx74gCjxQ9MY1YQAAAEg","level":0,"time":"2022-05-10T09:03:11+00:00","remoteAddr":"172.17.0.1","user":"hannes","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/hannes/","message":"Flow activation: rules were requested for operation Block access to a file","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.2.2.0"}
{"reqId":"YnoqT1JTx74gCjxQ9MY1YQAAAEg","level":0,"time":"2022-05-10T09:03:11+00:00","remoteAddr":"172.17.0.1","user":"hannes","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/hannes/","message":"No flow configurations is going to run Block access to a file","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.2.2.0"}
{"reqId":"YnoqT1JTx74gCjxQ9MY1YQAAAEg","level":0,"time":"2022-05-10T09:03:11+00:00","remoteAddr":"172.17.0.1","user":"hannes","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/hannes/","message":"Flow activation: rules were requested for operation Block access to a file","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.2.2.0"}
{"reqId":"YnoqT1JTx74gCjxQ9MY1YQAAAEg","level":0,"time":"2022-05-10T09:03:11+00:00","remoteAddr":"172.17.0.1","user":"hannes","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/hannes/","message":"No flow configurations is going to run Block access to a file","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.2.2.0"}
{"reqId":"7MDtlzvS2o1GsRjDonfM","level":0,"time":"2022-05-10T09:03:13+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"new parser added : FeedIo\\Standard\\Json","userAgent":"--","version":"22.2.2.0"}
{"reqId":"7MDtlzvS2o1GsRjDonfM","level":0,"time":"2022-05-10T09:03:13+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"new parser added : FeedIo\\Standard\\Atom","userAgent":"--","version":"22.2.2.0"}
{"reqId":"7MDtlzvS2o1GsRjDonfM","level":0,"time":"2022-05-10T09:03:13+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"new parser added : FeedIo\\Standard\\Rss","userAgent":"--","version":"22.2.2.0"}
{"reqId":"7MDtlzvS2o1GsRjDonfM","level":0,"time":"2022-05-10T09:03:13+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"new parser added : FeedIo\\Standard\\Rdf","userAgent":"--","version":"22.2.2.0"}
{"reqId":"YnoqVFJTx74gCjxQ9MY1YgAAAEM","level":3,"time":"2022-05-10T09:03:16+00:00","remoteAddr":"172.17.0.1","user":"--","app":"index","method":"POST","url":"/apps/text/session/sync","message":"No such file or directory","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0","version":"22.2.2.0","exception":{"Exception":"RedisException","Message":"No such file or directory","Code":0,"Trace":[{"file":"/data/nextcloud/lib/private/RedisFactory.php","line":124,"function":"connect","class":"Redis","type":"->","args":["/var/run/redis/redis.sock",0,0,"",0,0]},{"file":"/data/nextcloud/lib/private/RedisFactory.php","line":164,"function":"create","class":"OC\\RedisFactory","type":"->","args":[]},{"file":"/data/nextcloud/lib/private/Memcache/Redis.php","line":43,"function":"getInstance","class":"OC\\RedisFactory","type":"->","args":[]},{"file":"/data/nextcloud/lib/private/Memcache/Factory.php","line":115,"function":"__construct","class":"OC\\Memcache\\Redis","type":"->","args":["381560a45f0e503c1f644d32331896ea/lock"]},{"file":"/data/nextcloud/lib/private/Server.php","line":1065,"function":"createLocking","class":"OC\\Memcache\\Factory","type":"->","args":["lock"]},{"file":"/data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":160,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/data/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":127,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/data/nextcloud/lib/private/ServerContainer.php","line":136,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCP\\Lock\\ILockingProvider",false]},{"file":"/data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":56,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/data/nextcloud/lib/private/Server.php","line":2024,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/data/nextcloud/lib/private/Files/View.php","line":118,"function":"getLockingProvider","class":"OC\\Server","type":"->","args":[]},{"file":"/data/nextcloud/lib/private/Server.php","line":435,"function":"__construct","class":"OC\\Files\\View","type":"->","args":[]},{"file":"/data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":160,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/data/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":127,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Files\\Node\\HookConnector"]},{"file":"/data/nextcloud/lib/private/ServerContainer.php","line":136,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Files\\Node\\HookConnector",false]},{"file":"/data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":56,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Files\\Node\\HookConnector"]},{"file":"/data/nextcloud/lib/private/Server.php","line":1387,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Files\\Node\\HookConnector"]},{"file":"/data/nextcloud/lib/base.php","line":594,"function":"boot","class":"OC\\Server","type":"->","args":[]},{"file":"/data/nextcloud/lib/base.php","line":1089,"function":"init","class":"OC","type":"::","args":[]},{"file":"/data/nextcloud/index.php","line":34,"args":["/data/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/data/nextcloud/lib/private/RedisFactory.php","Line":124,"CustomMessage":"--"}}
{"reqId":"YnoqVFJTx74gCjxQ9MY1YgAAAEM","level":3,"time":"2022-05-10T09:03:16+00:00","remoteAddr":"172.17.0.1","user":"--","app":"core","method":"POST","url":"/apps/text/session/sync","message":"No such file or directory","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0","version":"22.2.2.0","exception":{"Exception":"RedisException","Message":"No such file or directory","Code":0,"Trace":[{"file":"/data/nextcloud/lib/private/RedisFactory.php","line":124,"function":"connect","class":"Redis","type":"->","args":["/var/run/redis/redis.sock",0,0,"",0,0]},{"file":"/data/nextcloud/lib/private/RedisFactory.php","line":164,"function":"create","class":"OC\\RedisFactory","type":"->","args":[]},{"file":"/data/nextcloud/lib/private/Memcache/Redis.php","line":43,"function":"getInstance","class":"OC\\RedisFactory","type":"->","args":[]},{"file":"/data/nextcloud/lib/private/Memcache/Factory.php","line":115,"function":"__construct","class":"OC\\Memcache\\Redis","type":"->","args":["381560a45f0e503c1f644d32331896ea/lock"]},{"file":"/data/nextcloud/lib/private/Server.php","line":1065,"function":"createLocking","class":"OC\\Memcache\\Factory","type":"->","args":["lock"]},{"file":"/data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":160,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/data/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":127,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/data/nextcloud/lib/private/ServerContainer.php","line":136,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCP\\Lock\\ILockingProvider",false]},{"file":"/data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":56,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/data/nextcloud/lib/private/Server.php","line":2024,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/data/nextcloud/lib/private/Files/View.php","line":118,"function":"getLockingProvider","class":"OC\\Server","type":"->","args":[]},{"file":"/data/nextcloud/lib/private/Server.php","line":435,"function":"__construct","class":"OC\\Files\\View","type":"->","args":[]},{"file":"/data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":160,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/data/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":127,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Files\\Node\\HookConnector"]},{"file":"/data/nextcloud/lib/private/ServerContainer.php","line":136,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Files\\Node\\HookConnector",false]},{"file":"/data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":56,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Files\\Node\\HookConnector"]},{"file":"/data/nextcloud/lib/private/Server.php","line":1387,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Files\\Node\\HookConnector"]},{"file":"/data/nextcloud/lib/base.php","line":594,"function":"boot","class":"OC\\Server","type":"->","args":[]},{"file":"/data/nextcloud/lib/base.php","line":1089,"function":"init","class":"OC","type":"::","args":[]},{"file":"/data/nextcloud/index.php","line":34,"args":["/data/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/data/nextcloud/lib/private/RedisFactory.php","Line":124,"CustomMessage":"--"}}
{"reqId":"YnoqVFJTx74gCjxQ9MY1YgAAAEM","level":3,"time":"2022-05-10T09:03:16+00:00","remoteAddr":"172.17.0.1","user":"--","app":"core","method":"POST","url":"/apps/text/session/sync","message":"Redis server went away","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0","version":"22.2.2.0","exception":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"/data/nextcloud/lib/private/Memcache/Redis.php","line":55,"function":"get","class":"Redis","type":"->","args":["381560a45f0e503c1f644d32331896ea/core.appinfo/data/nextcloud/apps/files/appinfo/info.xml1636732438"]},{"file":"/data/nextcloud/lib/private/App/InfoParser.php","line":58,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["/data/nextcloud/apps/files/appinfo/info.xml1636732438"]},{"file":"/data/nextcloud/lib/private/App/AppManager.php","line":506,"function":"parse","class":"OC\\App\\InfoParser","type":"->","args":["/data/nextcloud/apps/files/appinfo/info.xml"]},{"file":"/data/nextcloud/lib/private/App/AppManager.php","line":521,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->","args":["files"]},{"file":"/data/nextcloud/lib/private/legacy/OC_App.php","line":566,"function":"getAppVersion","class":"OC\\App\\AppManager","type":"->","args":["files",true]},{"file":"/data/nextcloud/lib/private/legacy/OC_App.php","line":879,"function":"getAppVersion","class":"OC_App","type":"::","args":["files"]},{"file":"/data/nextcloud/lib/private/legacy/OC_Util.php","line":1456,"function":"shouldUpgrade","class":"OC_App","type":"::","args":["files"]},{"file":"/data/nextcloud/lib/public/Util.php","line":512,"function":"needUpgrade","class":"OC_Util","type":"::","args":[{"__class__":"OC\\SystemConfig"}]},{"file":"/data/nextcloud/lib/private/legacy/OC_Template.php","line":116,"function":"needUpgrade","class":"OCP\\Util","type":"::","args":[]},{"file":"/data/nextcloud/lib/private/legacy/OC_Template.php","line":77,"function":"initTemplateEngine","class":"OC_Template","type":"::","args":["error"]},{"file":"/data/nextcloud/lib/private/legacy/OC_Template.php","line":321,"function":"__construct","class":"OC_Template","type":"->","args":["","exception","error",false]},{"file":"/data/nextcloud/index.php","line":74,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[{"__class__":"RedisException"},500]}],"File":"/data/nextcloud/lib/private/Memcache/Redis.php","Line":55,"CustomMessage":"--"}}

I noticed that the issue is due to the buster / bullseye upgrade. When I run the docker container in v1.40.4 I end up in the buster container and it recognizes the /data folder.
Itā€™s the same system, but it doesnā€™t work with the latest containers.
Good to know as I havenā€™t upgraded to bullseye in the container and I guess not everyone has that thought right away eitherā€¦