Updated PHP but getting Composer detected issues in your platform

So got the alert about php version requirement is changing to 7.3 minimum so I updated from 7.2 to 7.4 it was working well for a couple days but now I get “Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.3.0”.” when loading the WebUI

output of git status:

$ git status
On branch master
Your branch is up to date with ‘origin/master’.

nothing to commit, working tree clean

output of daily.sh:

$ ./daily.sh
Updating to latest codebase OK
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK

output of validate.php:

$ ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 1.69-20-gbe3853f88
DB Schema | 2020_10_30_093601_add_tos_to_ospf_ports (189)
PHP | 7.4.12
Python | 3.6.9
MySQL | 10.1.47-MariaDB-0ubuntu0.18.04.1
RRDTool | 1.7.0
SNMP | NET-SNMP 5.7.3
OpenSSL |
====================================

[OK] Composer Version: 2.0.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

If there is any other information I’m missing you need please let me know.

1 Like

I am facing this issue same as you!

I was having the exact same issue. Turns out there are a few more steps than I thought when upgrading.

I followed this guide and now LibreNMS is back up and running for me

1 Like

Wanted to add the article Adam_Halliburton added helped me quite a bit, I’m using nginx though so was missing a few steps which you can find in this article.

Between both my issue is fixed

If you use Centos 6 and php-fpm you need to update php-fpm to version 7.3 as well.
I used php73-php-fpm from remi repository, current one is 7.3.24