Owncloud 6 Could Not Find Driver
Posted : adminOn 6/20/2018Seid MySQL habe ich folgende Meldung 'Es scheint, dass die ownCloud - Instanz unter einer 32Bit. You need to have a module called pdo_mysql. Looking for following in phpinfo(), pdo_mysql PDO Driver for MySQL, client library version =>5.1.44.
Im using php-apache image to create an owncloud installation. I want to use a system cronjob to execute cron.php, therefore I run: RUN echo '*/3 * * * * php -f /var/www/html/cron.php >>/oc_data/cron.log' >/cron.conf && crontab -u www-data /cron.conf The entrypoint script starts cron with: cron -f It gets executed but the owncloud. Common Zip Line Injuries here. log shows following message: 'app':'cron','message':'Failed to connect to the database: An exception occured in driver: could not find driver' Fun thing is, if I enter the docker container and execute the command I use for the cronjob, it works. And php --ini shows all php conf.d extensions including mysql.so and pdo_mysql.so. I also tried to add the cron.conf file as user root with the same result.
Any ideas, what is happening here?
I'm trying to install OC on IIS + PHP + PostgreSQL and I've ran into problems. When I enter all the install information (admin account, database connection information) I get: Error while trying to create admin user: could not find driver What I see as an issue is that OC is creating its own user in postgresql and then it can't connect using that user or what? I also tried to use user account that OwnCloud created but then it says that PostGreSQL username/password is not corrent, just like user doesn't exists.