Upgrade to Ubuntu 24.04

Hello all,

For anyone interested, upgrading to the newest Ubuntu 24.04 release causes some minor issues due to changes and updates to php8.3 as well as php-fpm. It is relatively easy to fix, but took me about 90 minutes to chase down where the errors were coming from. Initially, I had a black screen when going to the web interface and the mobile app only displayed the spinning wheel. I ended up discovering the error in the debug console in Firefox.

  • Reinstall all php modules to php8.3 versions (older versions were automatically removed during upgrade - which was clearly noted in the upgrade logs)
  • Move any custom php config files from php8.1 to php8.3
  • Remove all of php8.1 (or older) and modules (as mentioned, this was automatically done during upgrade for me, but source folders needed to be removed)
  • Edit your nginx or apache2 config file to direct to php8.3-fpm.sock and not an older version
  • systemctl reload nginx (or apache2)

I hope this helps.

2 Likes

Hi,

Thanks for sharing this!

1 Like

I just wanted to add an update to this. After attempting to update to latest IN (v5.8.53-C157 as of writing this) today, I discovered that unzip, composer, and php-cli were also automatically removed during the upgrade to Ubuntu 24.04 and needed to be reinstalled. I should note this is primarily relevant for those using the zip file method of installing IN.

1 Like