Problem upgrading old 2.0.7 to latest 2.1.15
Posted: Mon Jun 05, 2023 2:56 am
Hi,
I'm no expert on nagios and I'm trying to upgrade (and at the same time migrate) an old 2.0.7 to 2.1.15.
I have new hardware where I have installed 2.1.5, with config snapshots and backups from 2.0.7. The recover script works and shows no errors, but when trying to login on the webui, the user is not accepted. Neither using the "change nagiosadmin password" script does any effect. I can't login to the webpage in any way.
I've tried another approach though: deployed a fresh 2.0.7 install and when it works as expected, upgrade it to 2.1.15. I had no luck with that either.
Similar process as before, recover works as expected, in this case login works so I have access to the webui,but I'm shown two instances at the instances menu (one has the name of the localhost and the second has the name from my backup recovered system).
At this point I would expect to have only the instance from my recovered backup, don't know why the localhost one is still there.
The localhost instance is shown as green while my recovered instance is shown as red, with a garbage bin at the right side and doesn't work (worth mention my license is for 1 instance only). Mounting the snapshot folder and recover it doesn't seem to take any effect as the instance I'm suppose to recover is not the active one.
Has someone faced a problem like this before? Is there maybe a way I can delete the "default" localhost instance and just use the recovered one?
I'm no expert on nagios and I'm trying to upgrade (and at the same time migrate) an old 2.0.7 to 2.1.15.
I have new hardware where I have installed 2.1.5, with config snapshots and backups from 2.0.7. The recover script works and shows no errors, but when trying to login on the webui, the user is not accepted. Neither using the "change nagiosadmin password" script does any effect. I can't login to the webpage in any way.
I've tried another approach though: deployed a fresh 2.0.7 install and when it works as expected, upgrade it to 2.1.15. I had no luck with that either.
Similar process as before, recover works as expected, in this case login works so I have access to the webui,but I'm shown two instances at the instances menu (one has the name of the localhost and the second has the name from my backup recovered system).
At this point I would expect to have only the instance from my recovered backup, don't know why the localhost one is still there.
The localhost instance is shown as green while my recovered instance is shown as red, with a garbage bin at the right side and doesn't work (worth mention my license is for 1 instance only). Mounting the snapshot folder and recover it doesn't seem to take any effect as the instance I'm suppose to recover is not the active one.
Has someone faced a problem like this before? Is there maybe a way I can delete the "default" localhost instance and just use the recovered one?