Welcome to Pandora FMS Community!

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

Welcome to Pandora FMS Community Forums Community support [SOLVED] Failed to Update to the Latest Package

  • [SOLVED] Failed to Update to the Latest Package

    Posted by CyclopsElectronics on November 6, 2018 at 13:09

    Hi

    I’m attempting to update to the latest package 181015 from 181001 via the console update manager. However I get this error message:

    It doesn’t tell me why it “Failed to update to the latest package”.

    What steps can I use to troubleshoot this please? Are there any logs files anywhere?
    The server is Windows Server 2016.

    CyclopsElectronics replied 6 years ago 2 Members · 20 Replies
  • 20 Replies
  • Like it
    Up
    0
    Down
    Drop it
    ::

    Unknown Member

    Moderator
    November 6, 2018 at 13:24

    Hi

    I’m attempting to update to the latest package 181015 from 181001 via the console update manager. However I get this error message:

    It doesn’t tell me why it “Failed to update to the latest package”.

    What steps can I use to troubleshoot this please? Are there any logs files anywhere?
    The server is Windows Server 2016.

    Good morning CyclopsElectronics,

    I can see in your image you have the version 727 with the MR 9. This MR is a problem to update. You need to do the following to update to the latest MR version: 

    source /var/www/html/pandora_console/extras/mr/X.sql, where the X is each of the MR that need to be updated, try to start from the 1 until the lastest one. After try to update.

    Please try to do this and tell us the result.

    Alberto

  • CyclopsElectronics

    Member
    November 6, 2018 at 14:44
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi

    I’m attempting to update to the latest package 181015 from 181001 via the console update manager. However I get this error message:

    It doesn’t tell me why it “Failed to update to the latest package”.

    What steps can I use to troubleshoot this please? Are there any logs files anywhere?
    The server is Windows Server 2016.

    Good morning CyclopsElectronics,

    I can see in your image you have the version 727 with the MR 9. This MR is a problem to update. You need to do the following to update to the latest MR version: 

    source /var/www/html/pandora_console/extras/mr/X.sql, where the X is each of the MR that need to be updated, try to start from the 1 until the lastest one. After try to update.

    Please try to do this and tell us the result.

    Alberto

    Hi Alberto

    This folder only has a folder in it called updated, and a file called .gitignore.
    Are you advising to download the server installer and install that, and then manually update any X.sql in the MR folder?

  • Like it
    Up
    0
    Down
    Drop it
    ::

    Unknown Member

    Moderator
    November 7, 2018 at 15:34

    Hi

    I’m attempting to update to the latest package 181015 from 181001 via the console update manager. However I get this error message:

    It doesn’t tell me why it “Failed to update to the latest package”.

    What steps can I use to troubleshoot this please? Are there any logs files anywhere?
    The server is Windows Server 2016.

    Good morning CyclopsElectronics,

    I can see in your image you have the version 727 with the MR 9. This MR is a problem to update. You need to do the following to update to the latest MR version: 

    source /var/www/html/pandora_console/extras/mr/X.sql, where the X is each of the MR that need to be updated, try to start from the 1 until the lastest one. After try to update.

    Please try to do this and tell us the result.

    Alberto

    Hi Alberto

    This folder only has a folder in it called updated, and a file called .gitignore.
    Are you advising to download the server installer and install that, and then manually update any X.sql in the MR folder?

    Good morning CyclopsElectronics,

    No, there should be more X.sql in that folder, not only the ones you already have in the folder updated.. can you please search where can they be?¿ This may be caused by a bad installation for first. It could be in /var/www/html/pandora_console/pandora_console/extras/mr/X.sql, that it has been a problem we investigated in some installations.

    Alberto

  • CyclopsElectronics

    Member
    November 7, 2018 at 17:26
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi

    I’m attempting to update to the latest package 181015 from 181001 via the console update manager. However I get this error message:

    It doesn’t tell me why it “Failed to update to the latest package”.

    What steps can I use to troubleshoot this please? Are there any logs files anywhere?
    The server is Windows Server 2016.

    Good morning CyclopsElectronics,

    I can see in your image you have the version 727 with the MR 9. This MR is a problem to update. You need to do the following to update to the latest MR version: 

    source /var/www/html/pandora_console/extras/mr/X.sql, where the X is each of the MR that need to be updated, try to start from the 1 until the lastest one. After try to update.

    Please try to do this and tell us the result.

    Alberto

    Hi Alberto

    This folder only has a folder in it called updated, and a file called .gitignore.
    Are you advising to download the server installer and install that, and then manually update any X.sql in the MR folder?

    Good morning CyclopsElectronics,

    No, there should be more X.sql in that folder, not only the ones you already have in the folder updated.. can you please search where can they be?¿ This may be caused by a bad installation for first. It could be in /var/www/html/pandora_console/pandora_console/extras/mr/X.sql, that it has been a problem we investigated in some installations.

    Alberto

    Hi Alberto

    I have 1.sql -> 20.sql in C:PandoraFMShtdocspandora_consoleextrasmrupdated.
    I expected to see these here because when I have previously installed updates from the www Pandora Console GUI I then check this folder:
    C:PandoraFMShtdocspandora_consoleextrasmr for any .sql files. If there are any, I do the following in Powershell to apply them.
    set-location C:PandoraFMSmysqlbin
    $sqlUpdate = ‘C:PandoraFMShtdocspandora_consoleextrasmrx.sql’
    cat $sqlUpdate | .mysql.exe -u root -p pandora

    Once I’ve applied the .sql update files I then move them to C:PandoraFMShtdocspandora_consoleextrasmrupdated.

    I have just done a search for .sql files and I have 1.sql -> 20.sql in these two folders:
    C:PandoraFMShtdocspandora_consoleextrasmrupdated (which I expected to see in here)
    C:PandoraFMShtdocspandora_consolepandora_consoleextrasmr (which I did not expect to see in here)

    Given all of this, what steps do I need to take to update Pandora to the latest version?

  • Like it
    Up
    0
    Down
    Drop it
    ::

    Unknown Member

    Moderator
    November 8, 2018 at 14:00

    Hi

    I’m attempting to update to the latest package 181015 from 181001 via the console update manager. However I get this error message:

    It doesn’t tell me why it “Failed to update to the latest package”.

    What steps can I use to troubleshoot this please? Are there any logs files anywhere?
    The server is Windows Server 2016.

    Good morning CyclopsElectronics,

    I can see in your image you have the version 727 with the MR 9. This MR is a problem to update. You need to do the following to update to the latest MR version: 

    source /var/www/html/pandora_console/extras/mr/X.sql, where the X is each of the MR that need to be updated, try to start from the 1 until the lastest one. After try to update.

    Please try to do this and tell us the result.

    Alberto

    Hi Alberto

    This folder only has a folder in it called updated, and a file called .gitignore.
    Are you advising to download the server installer and install that, and then manually update any X.sql in the MR folder?

    Good morning CyclopsElectronics,

    No, there should be more X.sql in that folder, not only the ones you already have in the folder updated.. can you please search where can they be?¿ This may be caused by a bad installation for first. It could be in /var/www/html/pandora_console/pandora_console/extras/mr/X.sql, that it has been a problem we investigated in some installations.

    Alberto

    Hi Alberto

    I have 1.sql -> 20.sql in C:PandoraFMShtdocspandora_consoleextrasmrupdated.
    I expected to see these here because when I have previously installed updates from the www Pandora Console GUI I then check this folder:
    C:PandoraFMShtdocspandora_consoleextrasmr for any .sql files. If there are any, I do the following in Powershell to apply them.
    set-location C:PandoraFMSmysqlbin
    $sqlUpdate = ‘C:PandoraFMShtdocspandora_consoleextrasmrx.sql’
    cat $sqlUpdate | .mysql.exe -u root -p pandora

    Once I’ve applied the .sql update files I then move them to C:PandoraFMShtdocspandora_consoleextrasmrupdated.

    I have just done a search for .sql files and I have 1.sql -> 20.sql in these two folders:
    C:PandoraFMShtdocspandora_consoleextrasmrupdated (which I expected to see in here)
    C:PandoraFMShtdocspandora_consolepandora_consoleextrasmr (which I did not expect to see in here)

    Given all of this, what steps do I need to take to update Pandora to the latest version?

    Good morning CyclopsElectronics,

    So now you’ve got the MR write? If thats the case you can do it via Online Update Manager.

    If not, you can try to follow these steps to update to latest version:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    For this, try to download the lastest package and them follow the steps.

    Alberto

  • CyclopsElectronics

    Member
    November 14, 2018 at 13:37
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Good morning CyclopsElectronics,

    I can see in your image you have the version 727 with the MR 9. This MR is a problem to update. You need to do the following to update to the latest MR version: 

    source /var/www/html/pandora_console/extras/mr/X.sql, where the X is each of the MR that need to be updated, try to start from the 1 until the lastest one. After try to update.

    Please try to do this and tell us the result.

    Alberto

    Hi Alberto

    This folder only has a folder in it called updated, and a file called .gitignore.
    Are you advising to download the server installer and install that, and then manually update any X.sql in the MR folder?

    Good morning CyclopsElectronics,

    No, there should be more X.sql in that folder, not only the ones you already have in the folder updated.. can you please search where can they be?¿ This may be caused by a bad installation for first. It could be in /var/www/html/pandora_console/pandora_console/extras/mr/X.sql, that it has been a problem we investigated in some installations.

    Alberto

    Hi Alberto

    I have 1.sql -> 20.sql in C:PandoraFMShtdocspandora_consoleextrasmrupdated.
    I expected to see these here because when I have previously installed updates from the www Pandora Console GUI I then check this folder:
    C:PandoraFMShtdocspandora_consoleextrasmr for any .sql files. If there are any, I do the following in Powershell to apply them.
    set-location C:PandoraFMSmysqlbin
    $sqlUpdate = ‘C:PandoraFMShtdocspandora_consoleextrasmrx.sql’
    cat $sqlUpdate | .mysql.exe -u root -p pandora

    Once I’ve applied the .sql update files I then move them to C:PandoraFMShtdocspandora_consoleextrasmrupdated.

    I have just done a search for .sql files and I have 1.sql -> 20.sql in these two folders:
    C:PandoraFMShtdocspandora_consoleextrasmrupdated (which I expected to see in here)
    C:PandoraFMShtdocspandora_consolepandora_consoleextrasmr (which I did not expect to see in here)

    Given all of this, what steps do I need to take to update Pandora to the latest version?

    Good morning CyclopsElectronics,

    So now you’ve got the MR write? If thats the case you can do it via Online Update Manager.

    If not, you can try to follow these steps to update to latest version:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    For this, try to download the lastest package and them follow the steps.

    Alberto

    Hi Alberto

    I’ve manually installed the update from the installer and made sure the 21.sql MR write has been comitted.
    I then logged in the Pandora Console and at the bottom I see the version has gone from v7.0NG.727 to v7.0NG.728, which is good!

    However I still have a warning triangle telling me that there is an update available.

    I click the link in the warning and it takes me to the online package updater.
    I click to update (it still says 181001 for some reason), and it gives me this error:

    As I’ve come across the error “error in package extraction”, I did what I normally would do to fix it.
    Which is to follow the steps here, as it’s a documented bug in Pandora – https://github.com/pandorafms/pandorafms/issues/91
    Changing if ($result !=0) to if ($result != true) in functions_update_manager.php.

    Now when I click update, I don’t get the “error in package extraction”. However nothing seems to happen other than the progress bar moving backwards and forwards.

  • Like it
    Up
    0
    Down
    Drop it
    ::

    Unknown Member

    Moderator
    November 16, 2018 at 14:09

    Hi Alberto

    This folder only has a folder in it called updated, and a file called .gitignore.
    Are you advising to download the server installer and install that, and then manually update any X.sql in the MR folder?

    Good morning CyclopsElectronics,

    No, there should be more X.sql in that folder, not only the ones you already have in the folder updated.. can you please search where can they be?¿ This may be caused by a bad installation for first. It could be in /var/www/html/pandora_console/pandora_console/extras/mr/X.sql, that it has been a problem we investigated in some installations.

    Alberto

    Hi Alberto

    I have 1.sql -> 20.sql in C:PandoraFMShtdocspandora_consoleextrasmrupdated.
    I expected to see these here because when I have previously installed updates from the www Pandora Console GUI I then check this folder:
    C:PandoraFMShtdocspandora_consoleextrasmr for any .sql files. If there are any, I do the following in Powershell to apply them.
    set-location C:PandoraFMSmysqlbin
    $sqlUpdate = ‘C:PandoraFMShtdocspandora_consoleextrasmrx.sql’
    cat $sqlUpdate | .mysql.exe -u root -p pandora

    Once I’ve applied the .sql update files I then move them to C:PandoraFMShtdocspandora_consoleextrasmrupdated.

    I have just done a search for .sql files and I have 1.sql -> 20.sql in these two folders:
    C:PandoraFMShtdocspandora_consoleextrasmrupdated (which I expected to see in here)
    C:PandoraFMShtdocspandora_consolepandora_consoleextrasmr (which I did not expect to see in here)

    Given all of this, what steps do I need to take to update Pandora to the latest version?

    Good morning CyclopsElectronics,

    So now you’ve got the MR write? If thats the case you can do it via Online Update Manager.

    If not, you can try to follow these steps to update to latest version:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    For this, try to download the lastest package and them follow the steps.

    Alberto

    Hi Alberto

    I’ve manually installed the update from the installer and made sure the 21.sql MR write has been comitted.
    I then logged in the Pandora Console and at the bottom I see the version has gone from v7.0NG.727 to v7.0NG.728, which is good!

    However I still have a warning triangle telling me that there is an update available.

    I click the link in the warning and it takes me to the online package updater.
    I click to update (it still says 181001 for some reason), and it gives me this error:

    As I’ve come across the error “error in package extraction”, I did what I normally would do to fix it.
    Which is to follow the steps here, as it’s a documented bug in Pandora – https://github.com/pandorafms/pandorafms/issues/91
    Changing if ($result !=0) to if ($result != true) in functions_update_manager.php.

    Now when I click update, I don’t get the “error in package extraction”. However nothing seems to happen other than the progress bar moving backwards and forwards.

    Good morning CyclopsElectronics,

    We are going to try to replicate that error and see a possible solution. Thank you for telling us.

    Alberto

  • CyclopsElectronics

    Member
    November 26, 2018 at 12:38
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Good morning CyclopsElectronics,

    No, there should be more X.sql in that folder, not only the ones you already have in the folder updated.. can you please search where can they be?¿ This may be caused by a bad installation for first. It could be in /var/www/html/pandora_console/pandora_console/extras/mr/X.sql, that it has been a problem we investigated in some installations.

    Alberto

    Hi Alberto

    I have 1.sql -> 20.sql in C:PandoraFMShtdocspandora_consoleextrasmrupdated.
    I expected to see these here because when I have previously installed updates from the www Pandora Console GUI I then check this folder:
    C:PandoraFMShtdocspandora_consoleextrasmr for any .sql files. If there are any, I do the following in Powershell to apply them.
    set-location C:PandoraFMSmysqlbin
    $sqlUpdate = ‘C:PandoraFMShtdocspandora_consoleextrasmrx.sql’
    cat $sqlUpdate | .mysql.exe -u root -p pandora

    Once I’ve applied the .sql update files I then move them to C:PandoraFMShtdocspandora_consoleextrasmrupdated.

    I have just done a search for .sql files and I have 1.sql -> 20.sql in these two folders:
    C:PandoraFMShtdocspandora_consoleextrasmrupdated (which I expected to see in here)
    C:PandoraFMShtdocspandora_consolepandora_consoleextrasmr (which I did not expect to see in here)

    Given all of this, what steps do I need to take to update Pandora to the latest version?

    Good morning CyclopsElectronics,

    So now you’ve got the MR write? If thats the case you can do it via Online Update Manager.

    If not, you can try to follow these steps to update to latest version:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    For this, try to download the lastest package and them follow the steps.

    Alberto

    Hi Alberto

    I’ve manually installed the update from the installer and made sure the 21.sql MR write has been comitted.
    I then logged in the Pandora Console and at the bottom I see the version has gone from v7.0NG.727 to v7.0NG.728, which is good!

    However I still have a warning triangle telling me that there is an update available.

    I click the link in the warning and it takes me to the online package updater.
    I click to update (it still says 181001 for some reason), and it gives me this error:

    As I’ve come across the error “error in package extraction”, I did what I normally would do to fix it.
    Which is to follow the steps here, as it’s a documented bug in Pandora – https://github.com/pandorafms/pandorafms/issues/91
    Changing if ($result !=0) to if ($result != true) in functions_update_manager.php.

    Now when I click update, I don’t get the “error in package extraction”. However nothing seems to happen other than the progress bar moving backwards and forwards.

    Good morning CyclopsElectronics,

    We are going to try to replicate that error and see a possible solution. Thank you for telling us.

    Alberto

    Hi Alberto

    Any further update since the last time we spoke?

    Thank you.

  • Like it
    Up
    0
    Down
    Drop it
    ::

    Unknown Member

    Moderator
    November 27, 2018 at 19:04

    Hi Alberto

    I have 1.sql -> 20.sql in C:PandoraFMShtdocspandora_consoleextrasmrupdated.
    I expected to see these here because when I have previously installed updates from the www Pandora Console GUI I then check this folder:
    C:PandoraFMShtdocspandora_consoleextrasmr for any .sql files. If there are any, I do the following in Powershell to apply them.
    set-location C:PandoraFMSmysqlbin
    $sqlUpdate = ‘C:PandoraFMShtdocspandora_consoleextrasmrx.sql’
    cat $sqlUpdate | .mysql.exe -u root -p pandora

    Once I’ve applied the .sql update files I then move them to C:PandoraFMShtdocspandora_consoleextrasmrupdated.

    I have just done a search for .sql files and I have 1.sql -> 20.sql in these two folders:
    C:PandoraFMShtdocspandora_consoleextrasmrupdated (which I expected to see in here)
    C:PandoraFMShtdocspandora_consolepandora_consoleextrasmr (which I did not expect to see in here)

    Given all of this, what steps do I need to take to update Pandora to the latest version?

    Good morning CyclopsElectronics,

    So now you’ve got the MR write? If thats the case you can do it via Online Update Manager.

    If not, you can try to follow these steps to update to latest version:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    For this, try to download the lastest package and them follow the steps.

    Alberto

    Hi Alberto

    I’ve manually installed the update from the installer and made sure the 21.sql MR write has been comitted.
    I then logged in the Pandora Console and at the bottom I see the version has gone from v7.0NG.727 to v7.0NG.728, which is good!

    However I still have a warning triangle telling me that there is an update available.

    I click the link in the warning and it takes me to the online package updater.
    I click to update (it still says 181001 for some reason), and it gives me this error:

    As I’ve come across the error “error in package extraction”, I did what I normally would do to fix it.
    Which is to follow the steps here, as it’s a documented bug in Pandora – https://github.com/pandorafms/pandorafms/issues/91
    Changing if ($result !=0) to if ($result != true) in functions_update_manager.php.

    Now when I click update, I don’t get the “error in package extraction”. However nothing seems to happen other than the progress bar moving backwards and forwards.

    Good morning CyclopsElectronics,

    We are going to try to replicate that error and see a possible solution. Thank you for telling us.

    Alberto

    Hi Alberto

    Any further update since the last time we spoke?

    Thank you.

    Good afternoon CyclopsElectronics,

    We tried to replicate your error, but in all our installations the Update Manager went ok. The only posible solution is that you update manually to the version 728 with the rpm files, and try after to update it with the update manager. During this week the version 729 will come out, try it and tell us if the problem is solved.

    Alberto

  • CyclopsElectronics

    Member
    November 27, 2018 at 20:44
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Good morning CyclopsElectronics,

    So now you’ve got the MR write? If thats the case you can do it via Online Update Manager.

    If not, you can try to follow these steps to update to latest version:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    For this, try to download the lastest package and them follow the steps.

    Alberto

    Hi Alberto

    I’ve manually installed the update from the installer and made sure the 21.sql MR write has been comitted.
    I then logged in the Pandora Console and at the bottom I see the version has gone from v7.0NG.727 to v7.0NG.728, which is good!

    However I still have a warning triangle telling me that there is an update available.

    I click the link in the warning and it takes me to the online package updater.
    I click to update (it still says 181001 for some reason), and it gives me this error:

    As I’ve come across the error “error in package extraction”, I did what I normally would do to fix it.
    Which is to follow the steps here, as it’s a documented bug in Pandora – https://github.com/pandorafms/pandorafms/issues/91
    Changing if ($result !=0) to if ($result != true) in functions_update_manager.php.

    Now when I click update, I don’t get the “error in package extraction”. However nothing seems to happen other than the progress bar moving backwards and forwards.

    Good morning CyclopsElectronics,

    We are going to try to replicate that error and see a possible solution. Thank you for telling us.

    Alberto

    Hi Alberto

    Any further update since the last time we spoke?

    Thank you.

    Good afternoon CyclopsElectronics,

    We tried to replicate your error, but in all our installations the Update Manager went ok. The only posible solution is that you update manually to the version 728 with the rpm files, and try after to update it with the update manager. During this week the version 729 will come out, try it and tell us if the problem is solved.

    Alberto

    Hi Alberto

    I’m running a Windows version, not sure if I can use RPM files. If I can what are the steps please?

    Thank you.

  • Like it
    Up
    0
    Down
    Drop it
    ::

    Unknown Member

    Moderator
    November 28, 2018 at 17:19

    Hi Alberto

    I’ve manually installed the update from the installer and made sure the 21.sql MR write has been comitted.
    I then logged in the Pandora Console and at the bottom I see the version has gone from v7.0NG.727 to v7.0NG.728, which is good!

    However I still have a warning triangle telling me that there is an update available.

    I click the link in the warning and it takes me to the online package updater.
    I click to update (it still says 181001 for some reason), and it gives me this error:

    As I’ve come across the error “error in package extraction”, I did what I normally would do to fix it.
    Which is to follow the steps here, as it’s a documented bug in Pandora – https://github.com/pandorafms/pandorafms/issues/91
    Changing if ($result !=0) to if ($result != true) in functions_update_manager.php.

    Now when I click update, I don’t get the “error in package extraction”. However nothing seems to happen other than the progress bar moving backwards and forwards.

    Good morning CyclopsElectronics,

    We are going to try to replicate that error and see a possible solution. Thank you for telling us.

    Alberto

    Hi Alberto

    Any further update since the last time we spoke?

    Thank you.

    Good afternoon CyclopsElectronics,

    We tried to replicate your error, but in all our installations the Update Manager went ok. The only posible solution is that you update manually to the version 728 with the rpm files, and try after to update it with the update manager. During this week the version 729 will come out, try it and tell us if the problem is solved.

    Alberto

    Hi Alberto

    I’m running a Windows version, not sure if I can use RPM files. If I can what are the steps please?

    Thank you.

    Good morning CyclopsElectronics,

    Here is the link with the steps in Windows:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    If you have any doubts please contact us.

    Alberto

  • CyclopsElectronics

    Member
    November 29, 2018 at 17:50
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Good morning CyclopsElectronics,

    We are going to try to replicate that error and see a possible solution. Thank you for telling us.

    Alberto

    Hi Alberto

    Any further update since the last time we spoke?

    Thank you.

    Good afternoon CyclopsElectronics,

    We tried to replicate your error, but in all our installations the Update Manager went ok. The only posible solution is that you update manually to the version 728 with the rpm files, and try after to update it with the update manager. During this week the version 729 will come out, try it and tell us if the problem is solved.

    Alberto

    Hi Alberto

    I’m running a Windows version, not sure if I can use RPM files. If I can what are the steps please?

    Thank you.

    Good morning CyclopsElectronics,

    Here is the link with the steps in Windows:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    If you have any doubts please contact us.

    Alberto

    Hi Alberto

    As previously mentioned “I’ve manually installed the update from the installer and made sure the 21.sql MR write has been comitted.
    I then logged in the Pandora Console and at the bottom I see the version has gone from v7.0NG.727 to v7.0NG.728, which is good!

    However I still have a warning triangle telling me that there is an update available.

    So I’ve already tried/done that step. As you can see the version number at the bottom of the Pandora Console web page shows it has updated. But when logging in, I get the warning triangle, clicking that says there is an update. And the update version is showing incorrectly I believe.

    Should I just skip 728 and try and update to 729?


    Good morning CyclopsElectronics,

    We are going to try to replicate that error and see a possible solution. Thank you for telling us.

    Alberto

    Hi Alberto

    Any further update since the last time we spoke?

    Thank you.

    Good afternoon CyclopsElectronics,

    We tried to replicate your error, but in all our installations the Update Manager went ok. The only posible solution is that you update manually to the version 728 with the rpm files, and try after to update it with the update manager. During this week the version 729 will come out, try it and tell us if the problem is solved.

    Alberto

    Hi Alberto

    I’m running a Windows version, not sure if I can use RPM files. If I can what are the steps please?

    Thank you.

    Good morning CyclopsElectronics,

    Here is the link with the steps in Windows:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    If you have any doubts please contact us.

    Alberto

    Hi Alberto

    I followed the steps you gave me, and decided to skip 728 and go straight to 729. I only selected “Update installed version” as advised. I then opened the Pandora console and it still says v7.0NG.728 at the bottom, not 729.

    When I logged in, it was saying my version was still 180001 and it prompted me to update via the online update manager.
    I clicked to do so, and it didn’t give me an errors and it said successful.
    Now at the bottom of the Pandora Console it shows the correct build, build 181126.
    However it is still showing v7.0NG.728

    i.e.
    Pandora FMS v7.0NG.728 – Build 181126 – MR 9

    Shouldn’t this say
    Pandora FMS v7.0NG.729 – Build 181126 – MR 21?

    Thank you.

    Jamie

  • Like it
    Up
    0
    Down
    Drop it
    ::

    Unknown Member

    Moderator
    November 30, 2018 at 15:12

    Hi Alberto

    Any further update since the last time we spoke?

    Thank you.

    Good afternoon CyclopsElectronics,

    We tried to replicate your error, but in all our installations the Update Manager went ok. The only posible solution is that you update manually to the version 728 with the rpm files, and try after to update it with the update manager. During this week the version 729 will come out, try it and tell us if the problem is solved.

    Alberto

    Hi Alberto

    I’m running a Windows version, not sure if I can use RPM files. If I can what are the steps please?

    Thank you.

    Good morning CyclopsElectronics,

    Here is the link with the steps in Windows:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    If you have any doubts please contact us.

    Alberto

    Hi Alberto

    As previously mentioned “I’ve manually installed the update from the installer and made sure the 21.sql MR write has been comitted.
    I then logged in the Pandora Console and at the bottom I see the version has gone from v7.0NG.727 to v7.0NG.728, which is good!

    However I still have a warning triangle telling me that there is an update available.

    So I’ve already tried/done that step. As you can see the version number at the bottom of the Pandora Console web page shows it has updated. But when logging in, I get the warning triangle, clicking that says there is an update. And the update version is showing incorrectly I believe.

    Should I just skip 728 and try and update to 729?


    Hi Alberto

    Any further update since the last time we spoke?

    Thank you.

    Good afternoon CyclopsElectronics,

    We tried to replicate your error, but in all our installations the Update Manager went ok. The only posible solution is that you update manually to the version 728 with the rpm files, and try after to update it with the update manager. During this week the version 729 will come out, try it and tell us if the problem is solved.

    Alberto

    Hi Alberto

    I’m running a Windows version, not sure if I can use RPM files. If I can what are the steps please?

    Thank you.

    Good morning CyclopsElectronics,

    Here is the link with the steps in Windows:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    If you have any doubts please contact us.

    Alberto

    Hi Alberto

    I followed the steps you gave me, and decided to skip 728 and go straight to 729. I only selected “Update installed version” as advised. I then opened the Pandora console and it still says v7.0NG.728 at the bottom, not 729.

    When I logged in, it was saying my version was still 180001 and it prompted me to update via the online update manager.
    I clicked to do so, and it didn’t give me an errors and it said successful.
    Now at the bottom of the Pandora Console it shows the correct build, build 181126.
    However it is still showing v7.0NG.728

    i.e.
    Pandora FMS v7.0NG.728 – Build 181126 – MR 9

    Shouldn’t this say
    Pandora FMS v7.0NG.729 – Build 181126 – MR 21?

    Thank you.

    Jamie

    Good morning CyclopsElectronics,

    If you want to change the MR, after installing each X.sql, you must do the following command in the DataBase Interface:

    update tconfig SET value = ’21’ WHERE token like ‘MR’

    In case of the 728, that should mean that your uipdate of the console wasn´t satisfactory. Please, tell me also the build, mr and version of your servers.

    Alberto

  • CyclopsElectronics

    Member
    November 30, 2018 at 19:37
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Good afternoon CyclopsElectronics,

    We tried to replicate your error, but in all our installations the Update Manager went ok. The only posible solution is that you update manually to the version 728 with the rpm files, and try after to update it with the update manager. During this week the version 729 will come out, try it and tell us if the problem is solved.

    Alberto

    Hi Alberto

    I’m running a Windows version, not sure if I can use RPM files. If I can what are the steps please?

    Thank you.

    Good morning CyclopsElectronics,

    Here is the link with the steps in Windows:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    If you have any doubts please contact us.

    Alberto

    Hi Alberto

    As previously mentioned “I’ve manually installed the update from the installer and made sure the 21.sql MR write has been comitted.
    I then logged in the Pandora Console and at the bottom I see the version has gone from v7.0NG.727 to v7.0NG.728, which is good!

    However I still have a warning triangle telling me that there is an update available.

    So I’ve already tried/done that step. As you can see the version number at the bottom of the Pandora Console web page shows it has updated. But when logging in, I get the warning triangle, clicking that says there is an update. And the update version is showing incorrectly I believe.

    Should I just skip 728 and try and update to 729?


    Good afternoon CyclopsElectronics,

    We tried to replicate your error, but in all our installations the Update Manager went ok. The only posible solution is that you update manually to the version 728 with the rpm files, and try after to update it with the update manager. During this week the version 729 will come out, try it and tell us if the problem is solved.

    Alberto

    Hi Alberto

    I’m running a Windows version, not sure if I can use RPM files. If I can what are the steps please?

    Thank you.

    Good morning CyclopsElectronics,

    Here is the link with the steps in Windows:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    If you have any doubts please contact us.

    Alberto

    Hi Alberto

    I followed the steps you gave me, and decided to skip 728 and go straight to 729. I only selected “Update installed version” as advised. I then opened the Pandora console and it still says v7.0NG.728 at the bottom, not 729.

    When I logged in, it was saying my version was still 180001 and it prompted me to update via the online update manager.
    I clicked to do so, and it didn’t give me an errors and it said successful.
    Now at the bottom of the Pandora Console it shows the correct build, build 181126.
    However it is still showing v7.0NG.728

    i.e.
    Pandora FMS v7.0NG.728 – Build 181126 – MR 9

    Shouldn’t this say
    Pandora FMS v7.0NG.729 – Build 181126 – MR 21?

    Thank you.

    Jamie

    Good morning CyclopsElectronics,

    If you want to change the MR, after installing each X.sql, you must do the following command in the DataBase Interface:

    update tconfig SET value = ’21’ WHERE token like ‘MR’

    In case of the 728, that should mean that your uipdate of the console wasn´t satisfactory. Please, tell me also the build, mr and version of your servers.

    Alberto

    Hi Alberto

    I’ve tried that step, but just get ‘->’

    What am I doing wrong, can you point me to the steps please for doing update tconfig?

    To answer your question I ran the install for v7.0NG.729 and chose the option to update the installed version, my Pandora is now showing as v7.0NG.728 – Build 181126 – MR 9.

  • CyclopsElectronics

    Member
    December 5, 2018 at 13:39
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    you are missing a “;”, MySQL is quite picky about that. So…

    try

    update tconfig SET value = '21' WHERE token like 'MR';

    Hi annomatik

    Of course, how would it know I’ve finished my statement – seems obvious now.
    That worked, I’ve done that from ’10’ all the way to ’21’.

    When I log in to the Pandora console, the build number and MR are number are correct.
    However, even though I followed Alberto’s steps and suggestions, the console version is showing the old one.

    The full text is
    Pandora FMS v7.0NG.728 – Build 181126 – MR 21

    but it should be
    Pandora FMS v7.0NG.729 – Build 181126 – MR 21

    What else can I try?

    Thank you.

  • CyclopsElectronics

    Member
    December 20, 2018 at 17:51
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Good morning CyclopsElectronics,

    We are going to try to replicate that error and see a possible solution. Thank you for telling us.

    Alberto

    Hi Alberto

    Any further update since the last time we spoke?

    Thank you.

    Good afternoon CyclopsElectronics,

    We tried to replicate your error, but in all our installations the Update Manager went ok. The only posible solution is that you update manually to the version 728 with the rpm files, and try after to update it with the update manager. During this week the version 729 will come out, try it and tell us if the problem is solved.

    Alberto

    Hi Alberto

    I’m running a Windows version, not sure if I can use RPM files. If I can what are the steps please?

    Thank you.

    Good morning CyclopsElectronics,

    Here is the link with the steps in Windows:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    If you have any doubts please contact us.

    Alberto

    Hi Alberto

    Is there any further news on this issue please?

  • Like it
    Up
    0
    Down
    Drop it
    ::

    Unknown Member

    Moderator
    December 20, 2018 at 19:09

    Hi Alberto

    Any further update since the last time we spoke?

    Thank you.

    Good afternoon CyclopsElectronics,

    We tried to replicate your error, but in all our installations the Update Manager went ok. The only posible solution is that you update manually to the version 728 with the rpm files, and try after to update it with the update manager. During this week the version 729 will come out, try it and tell us if the problem is solved.

    Alberto

    Hi Alberto

    I’m running a Windows version, not sure if I can use RPM files. If I can what are the steps please?

    Thank you.

    Good morning CyclopsElectronics,

    Here is the link with the steps in Windows:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    If you have any doubts please contact us.

    Alberto

    Hi Alberto

    Is there any further news on this issue please?

    Good afternoon CyclopsElectronics,

    We have detected two possible problems why the console does not update correctly via manager.

    1- You must have permission of apache:apache in /var/www/html/pandora_console and below (chown -R apache:apache /var/www/html/pandora_console)
    2- You must have one of the following dependency installed: php-zip or php-pecl-zip.

    Alberto

  • CyclopsElectronics

    Member
    December 20, 2018 at 20:09
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Good afternoon CyclopsElectronics,

    We tried to replicate your error, but in all our installations the Update Manager went ok. The only posible solution is that you update manually to the version 728 with the rpm files, and try after to update it with the update manager. During this week the version 729 will come out, try it and tell us if the problem is solved.

    Alberto

    Hi Alberto

    I’m running a Windows version, not sure if I can use RPM files. If I can what are the steps please?

    Thank you.

    Good morning CyclopsElectronics,

    Here is the link with the steps in Windows:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    If you have any doubts please contact us.

    Alberto

    Hi Alberto

    Is there any further news on this issue please?

    Good afternoon CyclopsElectronics,

    We have detected two possible problems why the console does not update correctly via manager.

    1- You must have permission of apache:apache in /var/www/html/pandora_console and below (chown -R apache:apache /var/www/html/pandora_console)
    2- You must have one of the following dependency installed: php-zip or php-pecl-zip.

    Alberto

    Hi Alberto

    Our environment for the Pandora Server and Console is Windows Server 2016.
    What steps do I need to take to identify and fix potential problems 1 and 2?

    Thank you.

  • Like it
    Up
    0
    Down
    Drop it
    ::

    Unknown Member

    Moderator
    December 24, 2018 at 13:15

    Hi Alberto

    I’m running a Windows version, not sure if I can use RPM files. If I can what are the steps please?

    Thank you.

    Good morning CyclopsElectronics,

    Here is the link with the steps in Windows:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    If you have any doubts please contact us.

    Alberto

    Hi Alberto

    Is there any further news on this issue please?

    Good afternoon CyclopsElectronics,

    We have detected two possible problems why the console does not update correctly via manager.

    1- You must have permission of apache:apache in /var/www/html/pandora_console and below (chown -R apache:apache /var/www/html/pandora_console)
    2- You must have one of the following dependency installed: php-zip or php-pecl-zip.

    Alberto

    Hi Alberto

    Our environment for the Pandora Server and Console is Windows Server 2016.
    What steps do I need to take to identify and fix potential problems 1 and 2?

    Thank you.

    Good morning CyclopsElectronics,

    Try to search for the extension of php-zip for Windows. If not, we recommend to update via last version of Pandora FMS. Is the same installer as if you were going to install new Pandora, but you choose the option of Upgrate. Here i leave you the Links for wiki for upgrade:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    Merry Christmas Alberto

  • CyclopsElectronics

    Member
    January 4, 2019 at 16:15
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Good morning CyclopsElectronics,

    Here is the link with the steps in Windows:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    If you have any doubts please contact us.

    Alberto

    Hi Alberto

    Is there any further news on this issue please?

    Good afternoon CyclopsElectronics,

    We have detected two possible problems why the console does not update correctly via manager.

    1- You must have permission of apache:apache in /var/www/html/pandora_console and below (chown -R apache:apache /var/www/html/pandora_console)
    2- You must have one of the following dependency installed: php-zip or php-pecl-zip.

    Alberto

    Hi Alberto

    Our environment for the Pandora Server and Console is Windows Server 2016.
    What steps do I need to take to identify and fix potential problems 1 and 2?

    Thank you.

    Good morning CyclopsElectronics,

    Try to search for the extension of php-zip for Windows. If not, we recommend to update via last version of Pandora FMS. Is the same installer as if you were going to install new Pandora, but you choose the option of Upgrate. Here i leave you the Links for wiki for upgrade:

    https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Anexo_Upgrade#Windows_client_update_from_installer

    Merry Christmas Alberto

    Hi Alberto

    I hope you had a good Christmas.
    I tried the steps from the Wiki link you provided but had the same issue.

    I made sure I had a good database backup and uninstalled Pandora.
    When I uninstalled Pandora it left behind PHP folders and files in c:pandorafms. I tried to delete these but got a permission denied error. As you suspected it was a permissions issue related to PHP.
    I disabled the MySql service, php service and ngix service, restarted the server and then I could delete c:pandorafms.

    I then installed Pandora fresh, stopped the Pandora service, updated the config to match what I had before such as server IP, number of threads etc.
    Then I restored the sql database and started the Pandora service.

    Success. 🙂

    I’ve now come up with the following update procedure if it will help any one (I’ve not tested it fully yet).

    [list=1]

  • Download the latest server version from https://pandorafms.org/en/features/free-download-monitoring-software/
  • Move it to a network share
  • Make sure there is a good recent database backup of Pandora
  • Make sure there is a good recent backup of the server Pandora is installed on.
  • Log on to the Pandora server
  • Run the installer from the network share
  • Untick all options except for ‘Update installed version’
  • Run through the Next…next..next wizard
  • Browse to ‘C:PandoraFMSApachehtdocspandora_consoleextrasmr’
  • If there any .sql files in the root of this folder continue to step 11, otherwise you’re all done
  • Launch Powershell
  • Run
  • set-location c:pandorafmsmysqlbin

  • Run the following in Powershell for each sql file. For example if there is a sql file called 23.sql you would run
  • $sqlUpdate = ‘C:PandoraFMSApachehtdocspandora_consoleextrasmr23.sql’
    cat $sqlUpdate | .mysql.exe -u root -p pandora
    .mysql.exe -u root -p pandora
    update tconfig SET value = ‘23‘ WHERE token like ‘MR’;