Pandora FMS community forums
Pandora FMS 5.1 RC1 issues - Printable Version

+- Pandora FMS community forums (https://pandorafms.org/forum)
+-- Forum: Pandora FMS (https://pandorafms.org/forum/forum-3.html)
+--- Forum: Advanced troubleshooting and problems (https://pandorafms.org/forum/forum-11.html)
+--- Thread: Pandora FMS 5.1 RC1 issues (/thread-7504.html)



Pandora FMS 5.1 RC1 issues - g3ko - 06-23-2014

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


Re: Pandora FMS 5.1 RC1 issues - ivo_yordanov - 06-24-2014

Hello

Have you executed the migrate scripts for the new version?

Regards
Ivo


Re: Pandora FMS 5.1 RC1 issues - g3ko - 06-24-2014

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

Ta,

@g3ko



Re: Pandora FMS 5.1 RC1 issues - ivo_yordanov - 06-25-2014

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


Re: Pandora FMS 5.1 RC1 issues - g3ko - 06-26-2014

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 <dbname> <dbhost> <dbuser> <dbpass>

Thanks,

@G3KO


Re: Pandora FMS 5.1 RC1 issues - ivo_yordanov - 06-27-2014

Hello

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

Regards
Ivo




Re: Pandora FMS 5.1 RC1 issues - g3ko - 07-03-2014

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?


Re: Pandora FMS 5.1 RC1 issues - mario.pulido - 07-04-2014

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


Re: Pandora FMS 5.1 RC1 issues - g3ko - 07-04-2014

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

Thanks for your help as always.

@g3ko