Closed N0m4n904 closed 4 months ago
Did you, at any point, manually install a php version (because those packages look like it). If so, that's unfortunately likely to happen, because manually managing PHP versions breaks NCPs automation...
Regarding getting back you're instance - according to the logs, your database is down, but there are no database errors. Can you try restarting mariadb and see if that works (run sudo systemctl restart mariadb && sudo systemctl status mariadb
)?
Did you, at any point, manually install a php version (because those packages look like it). If so, that's unfortunately likely to happen, because manually managing PHP versions breaks NCPs automation...
Regarding getting back you're instance - according to the logs, your database is down, but there are no database errors. Can you try restarting mariadb and see if that works (run
sudo systemctl restart mariadb && sudo systemctl status mariadb
)?
I needed to install php manually, because it got uninstalled during the upgrade process. during the uninstall process I got a kernel panic, so php got completely uninstalled. I restarted mariadb and status says it is running.
Is there a way to completely reinstall all needed packages?
I created a new report now.
Is there a way to completely reinstall all needed packages?
The dist upgrade doesn't actually uninstall anything important, it only upgrades things and removes unneeded dependencies afterwards.
Does sudo apt update
give you any warnings?
Is there a way to completely reinstall all needed packages?
The dist upgrade doesn't actually uninstall anything important, it only upgrades things and removes unneeded dependencies afterwards.
Does
sudo apt update
give you any warnings?
weird, why got php removed? I needed to install it again, because the command php was not known anymore.
I ran apt update now and get this output:
Okay, unfortunately none of that gives me any hint... :thinking:
Can you share your /var/log/apt/history.log?
weird, why got php removed The only explanation I can think of is that something broke during
apt upgrade
orapt full-upgrade
and therefore packages would be removed but their new versions would not yet be installed. However, I would expect that apt complains about this and offers to complete the upgrade, so I'm not entirely show how you ended up there. Hopefully /var/log/apt/history.log will give more clues.
Also, the next person to run into this issue should find their full dist-upgrade log on disk (just pushed that change)
Also, can you please share the kind of system your running NCP on (what installation method did you use and what hardware are you running)?
You can try to run the following to reinstall php - but no guarantees that it will work:
sudo apt-get install --no-install-recommends php8.1 php8.1-curl php8.1-gd php8.1-fpm php8.1-cli php8.1-opcache php8.1-mbstring php8.1-xml php8.1-zip php8.1-fileinfo php8.1-ldap php8.1-intl php8.1-bz2 php8.1-redis php8.1-exif php8.1-bcmath php8.1-gmp php8.1-mysql
Okay, unfortunately none of that gives me any hint... 🤔
Can you share your /var/log/apt/history.log?
weird, why got php removed The only explanation I can think of is that something broke during
apt upgrade
orapt full-upgrade
and therefore packages would be removed but their new versions would not yet be installed. However, I would expect that apt complains about this and offers to complete the upgrade, so I'm not entirely show how you ended up there. Hopefully /var/log/apt/history.log will give more clues.Also, the next person to run into this issue should find their full dist-upgrade log on disk (just pushed that change)
here is the history.log history.txt
I am running on a Raspberry Pi 4B 8GB Model. And I installed it via flashing the sd card. From there I always upgraded using the ncp scripts.
When I try to install php again, I get this output
Hm, that's interesting. Can you run sudo cat /etc/apt/sources.list.d/*
and share the output?
Hm, that's interesting. Can you run
sudo cat /etc/apt/sources.list.d/*
and share the output?
Here is the output:
sudo cat /etc/apt/sources.list.d/*
deb [arch=arm64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian bullseye stable
#deb https://packages.sury.org/php/ bookworm main
deb http://archive.raspberrypi.org/debian/ bullseye main
Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ bullseye main
Tailscale packages for raspbian bullseye
deb https://pkgs.tailscale.com/stable/raspbian bullseye main
Okay, I see the issue now. Can you
1) give me the output of sudo ls -l /etc/apt/sources.list.d
2) update all files in this directory by replacing 'bullseye' with 'bookworm' and run the following commands:
apt-get update && apt-get upgrade -y --without-new-pkgs
apt-get full-upgrade -y
sudo apt-get --purge autoremove -y
Okay, I see the issue now. Can you
- give me the output of
sudo ls -l /etc/apt/sources.list.d
- update all files in this directory by replacing 'bullseye' with 'bookworm' and run the following commands:
apt-get update && apt-get upgrade -y --without-new-pkgs apt-get full-upgrade -y sudo apt-get --purge autoremove -y
Output:
sudo ls -l /etc/apt/sources.list.d
total 16
-rw-r--r-- 1 root root 131 May 20 2022 docker.list
-rw-r--r-- 1 root root 50 May 2 07:56 php.list
-rw-r--r-- 1 root root 191 May 20 2022 raspi.list
-rw-r--r-- 1 root root 104 May 20 2022 tailscale.list
Replaced bullseye with bookworm and running the commands now
okay, the command ran without any issue
Awesome! Then you should just need the following 3 commands to complete the upgrade and then, hopefully, everything should be back to normal:
sudo ncc maintenance:mode --off
sudo sed -i -e 's/bullseye/bookworm/' /usr/local/etc/ncp.cfg
sudo rm -f /etc/update-motd.d/30-ncp-dist-upgrade
Awesome! Then you should just need the following 3 commands to complete the upgrade and then, hopefully, everything should be back to normal:
sudo ncc maintenance:mode --off sudo sed -i -e 's/bullseye/bookworm/' /usr/local/etc/ncp.cfg sudo rm -f /etc/update-motd.d/30-ncp-dist-upgrade
I think you might need to repeat the PHP installation step https://github.com/nextcloud/nextcloudpi/issues/1909#issuecomment-2090098981
EDIT: The php module was actually missing from there: sudo apt-get install php8.1-redis
@N0m4n904 See the update to my previous comment :)
@N0m4n904 See the update to my previous comment :)
same with the redis package. E: Package 'php8.1-redis' has no installation candidate
Did you update /etc/apt/sources.list.d/php.list and changed 'bullseye' to 'bookworm'?
You need to remove the #
(no idea how it got there).
now my ncp-report is like this:
when I ssh into my raspi now, I still get this message:
Then I assume you still need to complete these steps: https://github.com/nextcloud/nextcloudpi/issues/1909#issuecomment-2090231862
i ran all three commands, but I can do it again.
In particular the rm -f ...
command should remove that message
I now get this message again: https://github.com/nextcloud/nextcloudpi/issues/1909#issuecomment-2090234354
Is php8.1-redis installed?
Is php8.1-redis installed?
the installation completed, lemme run it again
You could try all of the above php packages again (I added the missing ones), for good measure: https://github.com/nextcloud/nextcloudpi/issues/1909#issuecomment-2090098981
You could try all of the above php packages again (I added the missing ones), for good measure
will try that
This message did not appear before. Should I do it?
@N0m4n904 It won't hurt, although it's probably already enabled
Hm... Can you try if a reboot fixes things?
reboot changed nothing
Hm... I'm wondering if it is still broken, because you installed the system php packages - can you try removing those again?
the php8.1 packages from above?
the php8.1 packages from above?
No, the php (without version) packages
Those:
I reinstalled the following packages, but it did not make any difference:
php-bz2 php-gd php-mysql php-curl php-mbstring php-imagick php-zip php-ctype php-curl php-dom php-json php-posix php-bcmath php-xml php-intl php-gmp
But only the ones starting with php
okay, now I get this error
Then you are probably still missing some of the php packages above. Did you copy and paste the command again?
Then you are probably still missing some of the php packages above. Did you copy and paste the command again?
yes did copy paste
Okay, maybe just try the installation again - maybe some of them were depending on the non-versioned packages and got removed.
https://github.com/nextcloud/nextcloudpi/issues/1909#issuecomment-2090098981
sorry, wrong command
I think, what I need is: ls -l /etc/apache2/conf-enabled/
Hi, I updated my nextcloudpi to 1.54. After that I saw the message that there is a dist-upgrade, so I ran it. I did make nextcloud backups before running it.
the command ran and at some point it started to uninstall stuff and then crashed the system.
After I restarted my Raspberry Pi, I got the message that the dist-upgrade is available, but when I run it again, it says that there is no update for the current version.
I can't access my nextcloud anymore and when I try to run nc-update-nextcloud I get the message "Nextcloud is currently down".
EDIT: I reinstalled the following packages, but it did not make any difference:
How am I able to rescue my system?
System information
<--! Paste this in GitHub report -->
NextcloudPi diagnostics
``` grep: /etc/apache2/sites-available/nextcloud.conf: No such file or directory NextcloudPi version v1.54.0 NextcloudPi image NextCloudPi_11-27-20 OS Debian GNU/Linux 12. 6.1.21-v8+ (aarch64) automount yes USB devices sda datadir /media/myCloudDrive/ncdata data in SD no data filesystem btrfs data disk usage 1.2T/1.9T rootfs usage 5.8G/15G swapfile /var/swap dbdir /var/lib/mysql Nextcloud check error HTTPD service up PHP service down MariaDB service up Redis service up HPB service down Postfix service up Internet check ok Public IPv4 ***REMOVED SENSITIVE VALUE*** Public IPv6 ***REMOVED SENSITIVE VALUE*** Port 80 closed Port 443 closed IP ***REMOVED SENSITIVE VALUE*** Gateway ***REMOVED SENSITIVE VALUE*** Interface eth0 Certificates ***REMOVED SENSITIVE VALUE*** NAT loopback no Uptime 26min ```Nextcloud configuration
``` An unhandled exception has been thrown: Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver in /var/www/nextcloud/lib/private/DB/Connection.php:139 Stack trace: #0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1654): OC\DB\Connection->connect() #1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1081): Doctrine\DBAL\Connection->getWrappedConnection() #2 /var/www/nextcloud/lib/private/DB/Connection.php(261): Doctrine\DBAL\Connection->executeQuery() #3 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(337): OC\DB\Connection->executeQuery() #4 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(377): Doctrine\DBAL\Query\QueryBuilder->executeQuery() #5 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(280): Doctrine\DBAL\Query\QueryBuilder->execute() #6 /var/www/nextcloud/lib/private/AppConfig.php(421): OC\DB\QueryBuilder\QueryBuilder->execute() #7 /var/www/nextcloud/lib/private/AppConfig.php(187): OC\AppConfig->loadConfigValues() #8 /var/www/nextcloud/lib/private/AppConfig.php(377): OC\AppConfig->getApps() #9 /var/www/nextcloud/lib/private/App/AppManager.php(128): OC\AppConfig->getValues() #10 /var/www/nextcloud/lib/private/App/AppManager.php(149): OC\App\AppManager->getInstalledAppsValues() #11 /var/www/nextcloud/lib/private/legacy/OC_App.php(231): OC\App\AppManager->getInstalledApps() #12 /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php(90): OC_App::getEnabledApps() #13 /var/www/nextcloud/lib/base.php(700): OC\AppFramework\Bootstrap\Coordinator->runInitialRegistration() #14 /var/www/nextcloud/lib/base.php(1200): OC::init() #15 /var/www/nextcloud/console.php(48): require_once('...') #16 /var/www/nextcloud/occ(11): require_once('...') #17 {main} ```HTTPd logs
``` [Thu May 02 08:59:07.655802 2024] [ssl:error] [pid 10078] AH02604: Unable to configure certificate localhost:4443:0 for stapling [Thu May 02 08:59:07.662929 2024] [http2:warn] [pid 10078] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive. [Thu May 02 08:59:07.715946 2024] [mpm_prefork:notice] [pid 10078] AH00163: Apache/2.4.59 (Debian) OpenSSL/3.0.11 configured -- resuming normal operations [Thu May 02 08:59:07.716088 2024] [core:notice] [pid 10078] AH00094: Command line: '/usr/sbin/apache2' [Thu May 02 08:59:31.173071 2024] [mpm_prefork:notice] [pid 10078] AH00171: Graceful restart requested, doing restart [Thu May 02 08:59:31.225057 2024] [ssl:warn] [pid 10078] AH01882: Init: this version of mod_ssl was compiled against a newer library (OpenSSL 3.0.13 30 Jan 2024 (OpenSSL 3.0.11 19 Sep 2023), version currently loaded is 0x300000B0) - may result in undefined or erroneous behavior [Thu May 02 08:59:31.230120 2024] [ssl:warn] [pid 10078] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name [Thu May 02 08:59:31.231570 2024] [ssl:error] [pid 10078] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 0112307086B5A933D74576F54C8FD74C8207A8AF / notbefore: Nov 27 22:55:31 2020 GMT / notafter: Nov 25 22:55:31 2030 GMT] [Thu May 02 08:59:31.231643 2024] [ssl:error] [pid 10078] AH02604: Unable to configure certificate localhost:4443:0 for stapling [Thu May 02 08:59:31.238134 2024] [http2:warn] [pid 10078] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive. [Thu May 02 08:59:31.265499 2024] [mpm_prefork:notice] [pid 10078] AH00163: Apache/2.4.59 (Debian) OpenSSL/3.0.11 configured -- resuming normal operations [Thu May 02 08:59:31.265556 2024] [core:notice] [pid 10078] AH00094: Command line: '/usr/sbin/apache2' [Thu May 02 09:05:48.578540 2024] [mpm_prefork:notice] [pid 10078] AH00171: Graceful restart requested, doing restart [Thu May 02 09:05:48.645124 2024] [ssl:warn] [pid 10078] AH01882: Init: this version of mod_ssl was compiled against a newer library (OpenSSL 3.0.13 30 Jan 2024 (OpenSSL 3.0.11 19 Sep 2023), version currently loaded is 0x300000B0) - may result in undefined or erroneous behavior [Thu May 02 09:05:48.651892 2024] [ssl:warn] [pid 10078] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name [Thu May 02 09:05:48.653254 2024] [ssl:error] [pid 10078] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 0112307086B5A933D74576F54C8FD74C8207A8AF / notbefore: Nov 27 22:55:31 2020 GMT / notafter: Nov 25 22:55:31 2030 GMT] [Thu May 02 09:05:48.653282 2024] [ssl:error] [pid 10078] AH02604: Unable to configure certificate localhost:4443:0 for stapling [Thu May 02 09:05:48.660081 2024] [http2:warn] [pid 10078] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive. [Thu May 02 09:05:48.686094 2024] [mpm_prefork:notice] [pid 10078] AH00163: Apache/2.4.59 (Debian) OpenSSL/3.0.11 configured -- resuming normal operations [Thu May 02 09:05:48.686151 2024] [core:notice] [pid 10078] AH00094: Command line: '/usr/sbin/apache2' ```Database logs
``` 2022-05-20 9:25:15 0 [Note] /usr/sbin/mysqld (initiated by: unknown): Normal shutdown 2022-05-20 9:25:15 0 [Note] Event Scheduler: Purging the queue. 0 events 2022-05-20 9:25:15 0 [Note] InnoDB: FTS optimize thread exiting. 2022-05-20 9:25:15 0 [Note] InnoDB: Starting shutdown... 2022-05-20 9:25:15 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 2022-05-20 9:25:15 0 [Note] InnoDB: Buffer pool(s) dump completed at 220520 9:25:15 2022-05-20 9:25:17 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2022-05-20 9:25:17 0 [Note] InnoDB: Shutdown completed; log sequence number 9834123253; transaction id 29421436 2022-05-20 9:25:17 0 [Note] /usr/sbin/mysqld: Shutdown complete ```Nextcloud logs
``` {"reqId":"Z5r6gHXItxvJ2vH0jLzU","level":3,"time":"2024-05-02T07:05:01+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Exception thrown: Doctrine\\DBAL\\Exception","userAgent":"--","version":"28.0.4.1","exception":{"Exception":"Doctrine\\DBAL\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: could not find driver","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1654,"function":"connect","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1081,"function":"getWrappedConnection","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":261,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":337,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":377,"function":"executeQuery","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":421,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":187,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":377,"function":"getApps","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":128,"function":"getValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":149,"function":"getInstalledAppsValues","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":231,"function":"getInstalledApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":90,"function":"getEnabledApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":700,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/cron.php","line":43,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/DB/Connection.php","Line":139,"CustomMessage":"Exception thrown: Doctrine\\DBAL\\Exception"}} {"reqId":"ZjM7H3FTaDd3xaNBFKgNngAAAAU","level":3,"time":"2024-05-02T07:05:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"ZjM7W5u67K5phIXujcLVtwAAAAA","level":3,"time":"2024-05-02T07:06:04+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"ZjM7l0GxmgPt0wdBpYTHcQAAAAE","level":3,"time":"2024-05-02T07:07:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"ZjM70zzLa9DtzL_6F8UJuwAAAAI","level":3,"time":"2024-05-02T07:08:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"ZjM8D8YLFq3Z_j6eY4dCgQAAAAM","level":3,"time":"2024-05-02T07:09:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"UT85ToB5nJjLbQc0h5iE","level":3,"time":"2024-05-02T07:10:01+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Exception thrown: Doctrine\\DBAL\\Exception","userAgent":"--","version":"28.0.4.1","exception":{"Exception":"Doctrine\\DBAL\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: could not find driver","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1654,"function":"connect","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1081,"function":"getWrappedConnection","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":261,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":337,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":377,"function":"executeQuery","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":421,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":187,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":377,"function":"getApps","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":128,"function":"getValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":149,"function":"getInstalledAppsValues","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":231,"function":"getInstalledApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":90,"function":"getEnabledApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":700,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/cron.php","line":43,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/DB/Connection.php","Line":139,"CustomMessage":"Exception thrown: Doctrine\\DBAL\\Exception"}} {"reqId":"ZjM8S1j9jjMHgm_omundGwAAAAQ","level":3,"time":"2024-05-02T07:10:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"ZjM8h942mFDngeSuQF0WUAAAAAU","level":3,"time":"2024-05-02T07:11:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"ZjM8w5u67K5phIXujcLVuAAAAAA","level":3,"time":"2024-05-02T07:12:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"ZjM8_0GxmgPt0wdBpYTHcgAAAAE","level":3,"time":"2024-05-02T07:13:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"ZjM9OzzLa9DtzL_6F8UJvAAAAAI","level":3,"time":"2024-05-02T07:14:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"ZjM9d8YLFq3Z_j6eY4dCggAAAAM","level":3,"time":"2024-05-02T07:15:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"ilGucF8nT8k5Zr0TtJNQ","level":3,"time":"2024-05-02T07:15:22+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Exception thrown: Doctrine\\DBAL\\Exception","userAgent":"--","version":"28.0.4.1","exception":{"Exception":"Doctrine\\DBAL\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: could not find driver","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1654,"function":"connect","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1081,"function":"getWrappedConnection","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":261,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":337,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":377,"function":"executeQuery","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":421,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":187,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":377,"function":"getApps","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":128,"function":"getValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":149,"function":"getInstalledAppsValues","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":231,"function":"getInstalledApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":90,"function":"getEnabledApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":700,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/cron.php","line":43,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/DB/Connection.php","Line":139,"CustomMessage":"Exception thrown: Doctrine\\DBAL\\Exception"}} {"reqId":"ZjM9s1j9jjMHgm_omundHAAAAAQ","level":3,"time":"2024-05-02T07:16:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"ZjM97942mFDngeSuQF0WUQAAAAU","level":3,"time":"2024-05-02T07:17:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"ZjM-K5u67K5phIXujcLVuQAAAAA","level":3,"time":"2024-05-02T07:18:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"ZjM-Z0GxmgPt0wdBpYTHcwAAAAE","level":3,"time":"2024-05-02T07:19:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} {"reqId":"54mL86kAQEOxBz8fW2NW","level":3,"time":"2024-05-02T07:20:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Exception thrown: Doctrine\\DBAL\\Exception","userAgent":"--","version":"28.0.4.1","exception":{"Exception":"Doctrine\\DBAL\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: could not find driver","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1654,"function":"connect","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1081,"function":"getWrappedConnection","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":261,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":337,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":377,"function":"executeQuery","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":421,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":187,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":377,"function":"getApps","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":128,"function":"getValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":149,"function":"getInstalledAppsValues","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":231,"function":"getInstalledApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":90,"function":"getEnabledApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":700,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/cron.php","line":43,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/DB/Connection.php","Line":139,"CustomMessage":"Exception thrown: Doctrine\\DBAL\\Exception"}} {"reqId":"ZjM-ozzLa9DtzL_6F8UJvQAAAAI","level":3,"time":"2024-05-02T07:20:03+00:00","remoteAddr":"2a02:810d:5fbf:d41c:df3d:3e14:7516:9d11","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipUpdate=false&skipApps=false","message":"Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver at /var/www/nextcloud/lib/private/DB/Connection.php#139","userAgent":"python-requests/2.31.0","version":"28.0.4.1","data":{"app":"PHP"}} ```