Pandora FMS Community

Update from 762 to 763 broke the mobile console

aeleus · 8 jul 2022, 22:39 · 15 mensajes · 102 visitas

  1. Inicio del debate

    Everything was working on OUM 762 – MR 54 running on CentOS: 7 (up-to-date).

    Ran the Warp Update and upgraded to OUM 763 - MR 55. The web console works fine in desktop mode, but switching to the mobile version (.../pandora_console/mobile/...) just returns:

    This page isn't working right now

    ...can't currently handle this request.

    HTTP ERROR 500

    Is this a known issues? Any suggestions on what to try or where to check for issues?

    Thanks

  2. Hello Aeleus,

    I just tried to access the web via mobile option in Chrome with my inspector and I have no problems to see the web.

    I've also tried to access the Console via an Android Device and it's loading correctly.

    Did you tried to use an Android device, or a different browser to see if you have access?

    Kind regards,

    Sergio B.

  3. Yes. I get the same problem in different browsers and OS's (desktop and Android).

    I will try your suggestion to reinstall.

    Thanks

  4. chrome_inspector.png49 KB · PNG
    chrome_inspector.png
    Android.jpg238 KB · JPG
    Android.jpg
  5. Buenas tardes,

    We recommend you to install the console from Scratch all over again.

    This will help you clean some old files that may be causing this kind of issues.

    Rename the pandora_console folder:

    mv /var/www/html/pandora_console /var/www/html/pandora_console.bak
    

    Then you can install the console again with the rpm.noarch:

    wget http://firefly.artica.es/pandorafms/763/RHEL_CentOS/pandorafms_console-7.0NG.763.noarch.rpm
    

    Once you have the new console installed you need to copy the config.php file into the new folder:

    cp -rfp /var/www/html/pandora_console.bak/include/config.php /var/www/html/pandora_console/include
    

    And finally, rename the install.php file into install.done:

    mv /var/www/html/pandora_console/install.php /var/www/html/pandora_console/install.done
    

    You can now execute the console and try again to see if mobile version loads correctly.

    Kind regards,

    Sergio B.

  6. Sergio,

    It's still not working.

    I followed your steps with one exception. After renaming pandora_console, I ran:

    yum remove pandorafms_console.noarch

    then

    yum install pandorafms_console.noarch

  7. Hello,

    After renaming the console you need to download the latest version of the console and install it with an RPM -U command like this:

    rpm -U --force pandorafms_console-7.0NG.763.noarch.rpm
    

    Don't use yum remove because it is not neccesary.

    Then you need to follow the rest of the steps as I described before.

    Kind regards,

    Sergio B.

  8. I was able to reinstall using:

    rpm -U --force pandorafms_console-7.0NG.763.noarch.rpm
    

    I verified that a new pandora_console folder was created, config.php copied, and install.php renamed.

    Here's what config.php looks like:

  9. I am still getting HTTP ERROR 500

  10. Hi,

    There is a bug found in the PHP version 7.2 when using mobile view.

    Is there any possibility for you to upgrade PHP to version 7.4?

    Please bear in mind that we will fix this problem in version 764.

    Hope this fixes your problem.

    Kind regards,

    Sergio B.

  11. Thanks for the information, Sergio.

    Given that PHP 7.4 will end-of-life 11/2022, should I update to PHP 8.x? Does Pandora support it?

  12. Hi,

    Pandora does support PHP 8 but you will encounter some compatibility issues with dependencies and some configurations are different.

    I do have an environment mounted in PHP 8 and works perfectly.

    My recommendation is that you should upgrade to 7.4 and you can mount a test lab where you setup PHP 8, then you can try an update in your main environment.

    Kind regards,

    Sergio B.

  13. Thanks, Sergio. I updated PHP to 7.4 and the mobile web site is working again.

  14. Is there any possibility for you to upgrade PHP to version 7.4?Is there any possibility for you to upgrade PHP to version 7.4?

  15. I did. That fixed the problem.

Entra en tu cuenta para publicar.