URL: https://www.overclockers.at/linux/upgrade-auf-ubuntu-18-04-1-lts-nextcloud-funktioniert-nicht-mehr_251976/page_1 - zur Vollversion wechseln!
ich habe heute das ubuntu meines servers von 18.04 auf 18.04.1 upgraded, danach gingen nextcloud und ampache nicht mehr. in beiden fällen bekam ich anfangs eine source file angezeigt, mittlerweile ists nur mehr ein error 500. munin, sonarr und nzbget funktionieren wie immer.
der apache2 service läuft, journalctl -xe zeigt keine fehler. die installierte version von php ist PHP 7.2.9 (sagt php -v).
beim aufrufen der nextcloud erscheint folgende meldung in /var/log/apache2/error.log
beim aufrufen von ampache diese:Zitat[Sun Sep 02 23:03:39.567586 2018] [php7:error] [pid 24889] [client 192.168.0.1:7518] PHP Fatal error: Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver: could not find driver in /var/www/html/nextcloud/lib/private/DB/Connection.php:61\nStack trace:\n#0 /var/www/html/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(992): OC\\DB\\Connection->connect()\n#1 /var/www/html/nextcloud/lib/private/DB/Connection.php(213): Doctrine\\DBAL\\Connection->executeUpdate('PRAGMA read_unc...', Array, Array)\n#2 /var/www/html/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(623): OC\\DB\\Connection->executeUpdate('PRAGMA read_unc...')\n#3 /var/www/html/nextcloud/lib/private/DB/Connection.php(148): Doctrine\\DBAL\\Connection->setTransactionIsolation(2)\n#4 /var/www/html/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(172): OC\\DB\\Connection->__construct(Array, Object(Doctrine\\DBAL\\Driver\\PDOSqlite\\Driver), Object(Doctrine\\DBAL\\Configuration), Object(Doctrine\\Common\\EventManager))\n#5 /var/www/html/nextcloud/lib/private/DB/ConnectionFactor in /var/www/html/nextcloud/lib/private/DB/Connection.php on line 61
ich habe gelesen dass meine nextcloud version php 7.2 noch nicht unterstützt und habe deswegen auf 7.1 downgraded (php -v: PHP 7.1.20) was mein problem mit nextcloud leider nicht beseitigt:Zitat[Sun Sep 02 23:05:47.205952 2018] [php7:error] [pid 24891] [client 192.168.0.1:7520] PHP Fatal error: Uncaught Error: Call to undefined function utf8_encode() in /var/www/html/ampache/lib/vendor/szymach/c-pchart/src/Resources/data/constants.php:50\nStack trace:\n#0 /var/www/html/ampache/lib/vendor/composer/autoload_real.php(70): require()\n#1 /var/www/html/ampache/lib/vendor/composer/autoload_real.php(60): composerRequirecc5b049035838e8b923329d299fe5be8('6dcc7fc69104725...', '/var/www/html/a...')\n#2 /var/www/html/ampache/lib/vendor/autoload.php(7): ComposerAutoloaderInitcc5b049035838e8b923329d299fe5be8::getLoader()\n#3 /var/www/html/ampache/lib/init-tiny.php(57): require_once('/var/www/html/a...')\n#4 /var/www/html/ampache/lib/init.php(29): require_once('/var/www/html/a...')\n#5 /var/www/html/ampache/index.php(23): require_once('/var/www/html/a...')\n#6 {main}\n thrown in /var/www/html/ampache/lib/vendor/szymach/c-pchart/src/Resources/data/constants.php on line 50
weis jemand woran das liegen könnte?Zitat[Sun Sep 02 23:10:49.868981 2018] [php7:error] [pid 32431] [client 192.168.0.1:7528] PHP Fatal error: Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver: could not find driver in /var/www/html/nextcloud/lib/private/DB/Connection.php:61\nStack trace:\n#0 /var/www/html/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(992): OC\\DB\\Connection->connect()\n#1 /var/www/html/nextcloud/lib/private/DB/Connection.php(213): Doctrine\\DBAL\\Connection->executeUpdate('PRAGMA read_unc...', Array, Array)\n#2 /var/www/html/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(623): OC\\DB\\Connection->executeUpdate('PRAGMA read_unc...')\n#3 /var/www/html/nextcloud/lib/private/DB/Connection.php(148): Doctrine\\DBAL\\Connection->setTransactionIsolation(2)\n#4 /var/www/html/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(172): OC\\DB\\Connection->__construct(Array, Object(Doctrine\\DBAL\\Driver\\PDOSqlite\\Driver), Object(Doctrine\\DBAL\\Configuration), Object(Doctrine\\Common\\EventManager))\n#5 /var/www/html/nextcloud/lib/private/DB/ConnectionFactor in /var/www/html/nextcloud/lib/private/DB/Connection.php on line 61
MySQL dahinter? Hast du die MySQL Extension (mysqlnd) installiert und geladen?
Im Fall PostgreSQL wäre es php-pgsql.ZitatFailed to connect to the database: An exception occured in driver: could not find driver
laut nextcloud config (kann mich nicht mehr erinner) sqlite3.
edit: ok, habe php7.1-sqlite3 installiert und aktiviert in /etc/php/7.1/apache2/php.ini. jetzt sehe ich zumindest eine nextcloud fehler seite :
ZitatPHP module GD not installed.
Please ask your server administrator to install the module.
PHP module cURL not installed.
Please ask your server administrator to install the module.
PHP modules have been installed, but they are still listed as missing?
Please ask your server administrator to restart the web server.
overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025