Installation on RHEL 9.7

We installed LibreNMS on a new RHEL Server

  • Red Hat Enterprise Linux release 9.7 (Plow)
  • PHP Version: 8.8.30
  • Nginx Version: nginx/1.20.1
  • MariaDB Verison: 15.1
  • SNMP Version: 5.9.1

We have 2 problems:

GitHub Warning in validate.php

validate.php says:

[WARN] Your install is over 24 hours out of date, last update: Thu, 12 Mar 2026 23:52:38 +0000
[FIX]:
Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
.editorconfig
.env.example
.git-blame-ignore-revs
.github/FUNDING.yml
.github/ISSUE_TEMPLATE/bug_report.yml
.github/ISSUE_TEMPLATE/config.yml
.github/ISSUE_TEMPLATE/device_bug.yml
.github/PULL_REQUEST_TEMPLATE.md
.github/ci-reporter.yml
.github/label-actions.yml
.github/lock.yml
.github/no-response.yml
.github/stale.yml
.github/workflows/announcements.yml
.github/workflows/doc.yml
and 16106 more…

When we run the command ./scripts/github-remove some file permissions are lost

  • sudo chown -R librenms:librenms /opt/librenms
  • sudo chmod -R 775 /opt/librenms/
  • sudo chcon -R -t httpd_sys_content_t /opt/librenms/html
  • sudo chcon -R -t httpd_sys_rw_content_t /opt/librenms/storage
  • sudo chcon -R -t httpd_sys_rw_content_t /opt/librenms/bootstrap/Cache

APP_KEY does not match key

[FAIL] APP_KEY does not match key used to encrypt data. APP_KEY must be the same on all nodes.
[FIX]:
If you rotated APP_KEY, run lnms key:rotate to resolve.

The command lnms key:rotate to resolve. did not resolve the problem

Here the complete validate.php output

[librenms@K3003MGM012TNMS ~]$ ./validate.php

===========================================

Component | Version

--------- | -------

LibreNMS | 26.3.0-dev.102+3a4d0c9e3 (2026-03-13T00:52:38+01:00)

DB Schema | 2026_03_05_112733_ospfv3_instances_nullable (372)

PHP | 8.3.30

Python | 3.9.25

Database | MariaDB 10.5.29-MariaDB

RRDTool | 1.7.2

SNMP | 5.9.1

===========================================

[OK] Composer Version: 2.9.5

[OK] Dependencies up-to-date.

[FAIL] APP_KEY does not match key used to encrypt data. APP_KEY must be the same on all nodes.

    \[FIX\]:

    If you rotated APP_KEY, run lnms key:rotate to resolve.

[OK] Database Connected

[OK] Database Schema is current

[OK] SQL Server meets minimum requirements

[OK] lower_case_table_names is enabled

[OK] MySQL engine is optimal

[OK] Database and column collations are correct

[OK] Database schema correct

[OK] MySQL and PHP time match

[OK] Active pollers found

[OK] Dispatcher Service is enabled

[OK] Locks are functional

[OK] No python wrapper pollers found

[OK] Redis is unavailable

[OK] rrd_dir is writable

[OK] rrdtool version ok

[WARN] Your install is over 24 hours out of date, last update: Thu, 12 Mar 2026 23:52:38 +0000

    \[FIX\]:

    Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.

[WARN] Your local git contains modified files, this could prevent automatic updates.

    \[FIX\]:

    You can fix this with ./scripts/github-remove

    Modified Files:

     .editorconfig

     .env.example

     .git-blame-ignore-revs

     .github/FUNDING.yml

     .github/ISSUE_TEMPLATE/bug_report.yml

     .github/ISSUE_TEMPLATE/config.yml

     .github/ISSUE_TEMPLATE/device_bug.yml

     .github/PULL_REQUEST_TEMPLATE.md

     .github/ci-reporter.yml

     .github/label-actions.yml

     .github/lock.yml

     .github/no-response.yml

     .github/stale.yml

     .github/workflows/announcements.yml

     .github/workflows/doc.yml

      and 16106 more...

I was able to fix the problem with the key…

as librenms
lnms key:rotate --generate-new-key --forgot-key
sudo shutdown -r now

then this problem was fixed.