Hi all,
had to move owncloud 8.0 to another server, experienced some trouble regarding acessibility of files for some users, so I tried to rebuild index by:
php console.php files:scan --all
got error:
An unhandled exception has been thrown:
exception ‘Doctrine\DBAL\DBALException’ with message ‘An exception occured in driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known’ in lib/private/db/connection.php:33
Regarding this point Manual says “If you’re using MySQL please start your database.”
But both MySQL and Owncloud are running. Besides: Since it is a hosted system I cannot restart such services as MySQL, because I only have very limited console access.
php -m says:
…
mysql
PDO
pdo_mysql
pdo_sqlite
…
Got slightly different PHP-Versions for CLI and Web:
php -v: PHP 5.6.28-he.0
phpinfo: PHP Version 5.6.31-he.0
(“he” possibly stands for the hoster “Host Europe”)
Might that be the problem?
Any hints?
Kind regards
Thilo