Menu

Problems w/Alma 9 & PHP 8.0?

2023-01-19
2023-01-20
  • Troy Settle

    Troy Settle - 2023-01-19

    First and foremost, thanks for this incredible project. I stumbled on it over 10 years ago and have used it for a number of clients. I love that it exposes (nearly?) everything one can possibly do with Nagios.

    This week, I've been working on migrating an installation from CentOS7 (apache, php7.3, maria 5.5) to Alma 9 with Nginx, php 8.0, and maria 10.5.

    I have everything installed, but can't seem to get NagiosQL to run the installer. Seems that i need to wait for 3.5?

    While I'm here, is there anything I need to do other than restoring the database from a dump after installation and testing?

    Thanks!

     
  • Martin

    Martin - 2023-01-20

    NagiosQL 3.4.1 is not compatible with PHP8 and above. There are some issues with magic quotes and filters. If it's possible - you should wait for NagiosQL 3.5.0 or stay with PHP7.

    I will release a first beta version of 3.5.0 later today on sourceforge. You are welcome to download and test this beta version.

    If you update to a higher NagiosQL version, you should run the installer after a restore from a previous dump of the database, because new versions also bring additional database adjustments.

    The NagiosQL version is stored in the database. If this differs from the currently installed code version, the installer should be called automatically. This does not apply to a higher GIT version - newer GIT versions do not need a database update and an installer run.

     
    • Troy Settle

      Troy Settle - 2023-01-20

      I look forward to trying it out.

      I just fired up PHP 7.4 and still having an issue getting past the welcome screen. The start installation button just brings me right back and will not progress to the next step.

      Gotta be something simple I'm missing. Is there a debug flag or anything I can set to see what's going on?

       
  • Martin

    Martin - 2023-01-20

    Any messages in the webserver logs?

    Probably a PHP module that is missing - like session or mysqli?

     
    • Troy Settle

      Troy Settle - 2023-01-20

      Dusting off long unused PHP skills. Turning display_errors led me to permissions issue on the sessions directory.

      One thing I absolutely hate about using packages, is that they all think apache rules the world, even though they are neck and neck overall and nginx dominates in the top 10k by more than 2:1.

      Now, on to testing!

       
  • Martin

    Martin - 2023-01-20
     
    • Troy Settle

      Troy Settle - 2023-01-20

      Getting a 503 from SF. Grabbing it from Gitlab instead.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.