Pydio not working after PHP Version change

Hi there,
I’m having issues with my pydio server 8.2.5 installation.
When changing the PHP version on the Server from 5.6 to 7.1/2/3/4, I get the following error “Blocking error encountered, please check the server logs: 'There was an error trying to connect to your database! Did you change any configuration for the core connection? Or maybe your database is down?”.

Unfortunately, the log also doesn’t help with this.

As soon as I’m going back to PHP 5.6 everything runs smoothly. Nevertheless, I need to update to PHP 7 due to other things.

Other topics like this have rather an problem with updating pydio but not with the PHP Version or they have a problem with the database itself. But this seems not be my problem.

Would be great if someone else has an idea :slight_smile:

Cheers!

Hi,
the error message ““Blocking error encountered, please check the server logs: 'There was an error trying to connect to your database! Did you change any configuration for the core connection? Or maybe your database is down?””

Solution:

  • make sure you install php-mysqli
  • enable mysqli in bootstrap.json if it was “false”
  • then remove plugin cache
  • pydio 8.2.5 does not support php >=7.4

Hi @c12simple,

thank you for this! I needed to change the driver in the data/plugins/boot.conf/bootstrap.json from mysql to mysqli and it works!

Unfortunately, now I have the problem, if I want to open a shared file via web, I only get a blank page without any error message. Also, my Server has nothing in the logs. Before the Update, it was working fine…
Any Idea, where I could start?

Thanks for your help!