Error message: The requested URL was not found on this server.
I am in the process of upgrading Check_mk and Ubuntu OS. I copied my site for testing the upgrade.
sudo omd cp monitoring lab
The copy completed and the new site is running
Doing ‘status’ on site lab:
rrdcached: running
npcd: running
nagios: running
apache: running
redis: running
crontab: running
Overall state: running
I know the site is running because I am getting notifications from “lab”
However I cannot access the copied “lab” site web interface. The original site is working fine.
You might have encountered a possible bug in omd cp we are investigating. If it does not work, please use omd backup together with omd restore for now.
I know the documentation on doing a release upgrade is a bit fragmentary, but we are working on it. Today we added this draft on the procedure, German only for now, maybe Google Translate can be helpful…
In 2.0.0 omd mv and cp were not working fully. This was fixed in 2.1.0
Best option would be not to use omd cp in your 2.0.0 scenario. Rather create a backup of your site. Create a new site with the same version and then load the backup into it and play around with that site
@mschlenker shared with you upgrading docs for 2.1 to 2.2 - they will likely not fully apply to your scenario.
It is likely easier to fix the backup (by removing them manually as the cleanup doesnt work). Put them somewhere else though before
The more tedious way would be to do the adaptations which have been added in 2.1. omd cp doesnt know anything about the checkmk site it is moving. Therefore it is not renaming configs etc properly. Thats why parts of your copy work and others not. There is a werk which describes this
I was able to complete the backup after removing the files and creating a new backup job - Thank you.
At this stage is the upgrade path provided here the best option, or is there another method that would be better? There seem to be two options, in-place upgrade or create a new server use a backup. Not sure which is better but my inclination is to try the in-place.
Both options are valid. For details on each path, follow the guide Mathias shared. While at the moment still in german only, lt goes into detail for both paths and mathias has added a lot of context/guidance on what is the better option based for different setups
In this case the document covers all three branches that are maintained, but we started the work in 2.2.0. As with everything relevant for migration to newer Checkmk versions this will eventually be picked (with minor changes) to 2.1.0 and 2.0.0.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.