sabre-io / Baikal

Baïkal is a Calendar+Contacts server
https://sabre.io/baikal/
GNU General Public License v3.0
2.5k stars 289 forks source link

Baikal not working with PHP 8.0 #1109

Closed acanton77 closed 2 years ago

acanton77 commented 2 years ago

Baikal version: 0.9.2

Problem:

I upgraded to PHP 8.0. on my Linode Ubuntu 20.04 server. (It worked find in PHP 7.4)

I upgraded to Baikal 0.9.2 which is supposed to have support for PHP 8.0 (yes, is saved my DB just in case)

All I get is the white screen of death for 'admin' and no connectivity using my contacts client (BusyContacts)

Help!

ByteHamster commented 2 years ago

Well, what does that white screen say?

acanton77 commented 2 years ago

Says nothing. It is a total white screen. You often get these if there is a PHP error.

ByteHamster commented 2 years ago

What does your php error log file say, then? From the description you are giving it is impossible to help

acanton77 commented 2 years ago

I don't see anything in the syslog. I probably don't have php logging turned one and not sure where in the FPM/ php.ini that I turn them on. Tell me and I'll do it.

acanton77 commented 2 years ago

I have this fixed. Since the update didn't work I just did a complete new install of Baikal and that worked. I could not get a connection from the install screen until I installed the php8.0-sqlite module, deleted the Yaml file and reloaded the Admin screen which took me to the config screen. This time I got the connection... and added the user, etc.

I have no idea why the update didn't work as I've done that many times before. Even without the sqlite module, the admin/install screen should have come up.

I had to reload the Baikal database but that was simple to do with BusyContacts (my desktop client.)

So, the system works fine with PHP 8.0 via Ubuntu 20.04. I wonder it it would work with PHP 8.1???

Thanks.

JacobJones1980 commented 2 years ago

@acanton77 , do you by chance use the calendar sharing feature of Baikal?

acanton77 commented 2 years ago

Sorry, I only use Baikal for cards. I use the Apple calendar for appointments and reminders. If for some reason I lost past appointments in it, I don't care. But if I lost my contacts data, I would care A LOT... which is why I use Baikal as a backup of Apple Contacts (but I use BusyContacts as the front-end because the Apple Contacts application is buggy... always has been and still is.