Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
4 years, 11 months ago
i wanted update a new installed craft3 and got this message:
I took a look in the web.log file. The first line from today gives an error:
2018-04-25 03:39:23 [220.127.116.11][-][-][error][yii\base\InvalidConfigException] yii\base\InvalidConfigException: Unsupported DB driver value: in /home/velolade/craft3/vendor/craftcms/cms/src/config/DbConfig.php:187
What's wrong here?
Thank you in advance for help!
Apr 25, 2018 at 12:16
213 1 1 silver badge 11 11 bronze badges
The original poster solved this in a follow-up comment:
After checking the log file - see my other question -, i activated the php functions "proc_open" and "proc_close" at my hoster's php settings and it worked. I'm not sure if i can leave these settings.
proc_close are required if you want Craft 3 to automatically backup your database because it uses the native
pg_dump binaries to perform the backup.
If, for whatever reason, you can't enable those methods, your options are to:
backupCommand config setting to
false. This will prevent Craft from performing database backups and you'll be responsible for manually creating them.
backCommand config setting to some other script or service that can perform a backup without using those disabled methods. Craft will respect whatever is set in this config setting.
May 30, 2018 at 0:30
Brad Bell ♦ Brad Bell
66.9k 4 4 gold badges 71 71 silver badges 143 143 bronze badges
Is the DB_DRIVER line set in your .env file? You may need to run the
./craft setup script.
Apr 26, 2018 at 14:15
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only