luckycrimson
  • Blog

Owncloud 6 Could Not Find Driver

12/7/2018

0 Comments

 

3d photo software free download Create your story with 3D Photo collages with 3D Effects and colorful styled fonts. Have creative special 3D effects like dancing on phone, falling cubes, Flower Petals and lots of other special 3D effects. Share your creations to Instagram, Facebook, Twitter, HipChat, Skype, WhatsApp and Email. Powerful Photo Editor with tools to adjust brightness, contrast, temperature, Hue, color splash, stickers, text, skin whitening, teeth whitening etc.

  1. Give More Feedback

'Could not find driver' i have installed the following packages: Code: pkg install mysql55-server pkg install php5-mysql. After that, I restarted the apache22 service but still only have SQlit3 as an option. It apears that pdo_mysql.so is not present in /usr/pbi/owncloud-amd64/lib/php/ according to some. Owncloud Pdoexception Could Not Find Driver. Am receiving a PDOException could not find driver. Fixed bug #6. Using traits with get.

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.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?

Kdslkdsaldsal, thanks very much for looking at this. However, I would think that if PHP were misconfigured, then phpMyAdmin would also not function. However, phpMyAdmin functions with the same PHP configuration that the ownCloud 10 install failed on. Moreover, phpMyAdmin can access my MySQL database just fine. I don't want to change any configurations on PHP unless this is clearly the cause of my problem. Then again, just maybe said PHP configuration could selectively fail Owncloud 10?

Any help in looking into this would be welcome because I'm a noob on PHP. Thanks, Phil. Hi Again, My problem appears to be similar to that posted in: and from this post I noticed: ######################### I had the same problem concerning what you've cited above: 'exception 'Doctrine DBAL DBALException' with message 'Failed to connect to the database: An exception occured in driver: could not find driver' in /var/www/owncloud/lib/private/db/connection.php:54' I solved it. The problem (in my case) was caused by different php version for 'the command line' and for the serving side via 'apache'.

Va rog nu-mi luati printesa mea. Veche Soarele-mi deschide poarta catre el Caramida rea, da Doamne sa stea! Uite-o pe printesa, vine sa ma ia -Mami, am sa ma joc cu ea, Tati, am sa-i iau o stea Vai, dar ce se-ntampla, Vantul a plecat, Soarele s-a-ntunecat Boala iar m-a-mbratisat Viseeeeeez.

Owncloud 6 could not find drivers

Occ needs to use the same php version. Check the php version at the command line 'php -v' for example PHP7.0.2 check the php version which the serving-side is using via e.g. Creating a info.php with the content: ' this gives as output e.g. PHP 5.6.17 So the difference is PHP7.0.2 and PHP5.6.17. Btw the occ command is php based also. I solved the problem by installing PHP5.6.17 at the 'command line' side as well so it is the same as at 'serving side'. But we're not there yet in case you have multiple php versions on your system.

If the 'php -v' doesn't give PHP5.6.17 you have to create a new alias for php (assuming the correct version is also stored in the file system, otherwise install it). Locate the correct php version with 'whereis php'. Change the alias to the correct path until the 'php -v' gives the same version as the 'serving side' php version. ############################################ Perhaps my phpMyAdmin installation uses a different version of php than OC or is indicating the wrong version? I think my root cause is similar to other recent posters' issues with Ubuntu 14.04 and OC 9x->10 upgrade. Apparently, this required upgrading PHP from 5.5.9 to 5.6.x and Ubuntu 14.04 uses PHP 5.5.9. So, it appears that I need to upgrade my PHP to at least 5.6.x but I have two questions namely: • will ownCloud 10 work with PHP 7.x?

• Could someone kindly point me in the proper direction as how to properly migrate from PHP 5.5.9 to 5.6.x or 7.x? Last time, I tried using a ppa (see my original post) but that apparently gave problems. Apparently there's a command line invoked PHP and other PHP which is called by the http server.

Give More Feedback

I'm thinking that my installation has these different? Any idea how to tell what PHP that Apache is using? Apparently it isn't the one I get via the command php -v.

By the way, I retain copies of my old OS configuration, so I can recover from failed installations. Right now, I'm back to my original PHP and OC 9.x. Thanks so much, Phil. According to your report sudo apt-get install php5.6 php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml php5.6-apcu php5.6-zip php5.6-gd php5.6-curl sudo a2dismod php5 sudo a2enmod php5.6.

0 Comments



Leave a Reply.

    Author

    Write something about yourself. No need to be fancy, just an overview.

    Archives

    December 2018
    November 2018

    Categories

    All

    RSS Feed

Powered by Create your own unique website with customizable templates.
  • Blog