Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • Pandora FMS 5.1 RC1 issues

    Posted by g3ko on June 23, 2014 at 12:33

    Morning,

    Attempted to migrate to RC1 from 5.0 SP4 today but came across a few issues.

    Greeted with the above error upon logging into Pandora FMS
    https://flic.kr/p/o5dh9e

    Custom Reports that were present on 5.0 SP4 have gone and the ability to add new fails
    https://flic.kr/p/o6ZqJ2

    Further issue is trying to add a custom graph on the visual console, it allows the selection of the module, however, it never appears on the page.

    Thanks,

    @g3ko

    CapturePandora1

    g3ko replied 10 years, 7 months ago 3 Members · 8 Replies
  • 8 Replies
  • ivo_yordanov

    Member
    June 24, 2014 at 14:30
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello

    Have you executed the migrate scripts for the new version?

    Regards
    Ivo

  • g3ko

    Member
    June 24, 2014 at 16:36
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    no that might make sense, is there a quick how to guide I can follow?

    Ta,

    @g3ko

  • ivo_yordanov

    Member
    June 25, 2014 at 19:08
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello

    You can take a look at the official information at the Pandora FMS wiki:
    http://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Migrating_to_another_System

    Regards
    Ivo

  • g3ko

    Member
    June 26, 2014 at 12:34
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,

    Thanks for the link. So let me run through this, I need to update Pandora from 5.0 SP4 to 5.1 RC1 as per normal upgrade. Then I need to run the migration script?

    Is this the script which needs to be run? I am sorry about asking so many questions, my background is windows rather than linux.

    /usr/share/pandora_server/util/pandora_migrate_recon_scripts.pl

    Thanks,

    @G3KO

  • ivo_yordanov

    Member
    June 27, 2014 at 14:23
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello

    You must execute the migrate scripts for mysql located in /var/www/html/pandora_console/extras/

    Regards
    Ivo

  • g3ko

    Member
    July 3, 2014 at 14:13
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,

    Ok I have duplicated our old version of pandora so I can figure out how to upgrade cleanly.

    I can go to the folder path /var/www/html/pandora_console/extras/ and see:

    pandoradb_migrate_5.0.x_to_5.1.mysql.sql

    How do I run this? All the database details have the default name and password if that helps you advise me?

  • Mario

    Administrator
    July 4, 2014 at 11:10
    1150 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    If you have installed PandoraFMS ISO, the execution is:

    cat /var/www/html/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql  | mysql -u root -ppandora -D pandora

    Regards

  • g3ko

    Member
    July 4, 2014 at 12:51
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Well that worked fine. I could have sworn I did that command though.

    Thanks for your help as always.

    @g3ko