Closed piscvau closed 2 years ago
That stack trace you found in the logs is expected when starting Baikal for the first time.
displays baikal fatal error: pdo is unavailable. It is required by baikal
That's the reason for Baikal not starting. You need to install pdo on your server.
php7.4-mysql is installed on the server. the pdo extension seems to be activated. (see .ini files in pdo.txt pdo.txt In the nginx conf file I modified the fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; see the nginx file included baikal_nginx.txt
in issue #1036 it seems that the database should be created before. Is this necessary to create the database before installation wizard?
You can create a new file on your webserver with only the content <?php phpinfo();
. When opening that file in a web browser, it should have a section about pdo. If it doesn't, you need to find out how to configure this on your server.
It should look something like this:
Is this necessary to create the database before installation wizard?
Yes, at least if you want to use mysql, but that is not your issue here. The pdo driver is not found.
Thanks. It was probably a mixed of different php packages. Solved by : sudo apt purge php then follow tutorial https://computingforgeeks.com/how-to-install-php-on-ubuntu/
Baikal version: 0.9.2
Expected behaviour: start installation wizard
Current behaviour: displays baikal fatal error: pdo is unavailable. It is required by baikal/
Steps to reproduce:
on xubuntu 20.04 with nginx-light. using Nginx conf file from the installation instructions. included are the Nginx error nginx_error_log.txt and the permissions on the Specific and config directories files_permission.txt