Hello, on CentOS release 6.6 (Final) i tryed to update OMD from 1.10 to 1.20.
I had some issue with the update, and i think i went through it. But now, when i loggin to the omd site, it's still displaying OMD1.10 and Check_MK 1.2.2p3. * I think i did well the OMD package update : yum update cd tmp/ wget http://files.omdistro.org/releases/centos_rhel/omd-1.20.rhel6.x86_64.rpm yum localinstall omd-1.20.rhel6.x86_64.rpm * The first error came from during site update # omd stop # omd update Ushin_nagios Unmounting temporary filesystem...OK Traceback (most recent call last): File "/omd/versions/1.20/bin/omd", line 3286, in <module> read_info() File "/omd/versions/1.20/bin/omd", line 325, in read_info for f in os.listdir(info_dir): OSError: [Errno 2] No such file or directory: '/omd/versions/1.20/share/omd' And because i was not so affraid i did the following : (copy missing folder to 1.20) #cd /omd/versions/1.20/share cp -r ../../1.10/share/omd/ . cp -r ../../1.10/share/mod_gearman/ . cp -r ../../1.10/share/nagvis/ . cp -r ../../1.10/share/pnp4nagios/ . cp -r ../../1.10/share/rrdtool/ . cp -r ../../1.10/share/thruk/ . So the update screen pop up and next error message : 2015-03-27 16:09:23 - Updating site 'Ushin_nagios' from version 1.10 to 1.20... Traceback (most recent call last): File "/omd/versions/1.20/bin/omd", line 3308, in <module> command_function(args, command_options) File "/omd/versions/1.20/bin/omd", line 2808, in main_update walk_skel(to_skelroot, update_file, (from_version, to_version, g_sitedir, old_perms)) File "/omd/versions/1.20/bin/omd", line 2691, in walk_skel os.chdir(root) OSError: [Errno 2] No such file or directory: '/omd/versions/1.20/skel' i succeed once, so i continued : # cd /omd/versions/1.20 # cp -r ../1.10/skel/ . # mkdir tmp So i run again : # omd update Ushin_nagios 2015-03-27 16:13:54 - Updating site 'Ushin_nagios' from version 1.10 to 1.20... Updating precompiled host checks for Check_MK...OK Finished update. [root@KOS1-SV00104 1.20]# omd start Doing 'start' on site Ushin_nagios: Creating temporary filesystem /omd/sites/Ushin_nagios/tmp...OK Starting dedicated Apache for site Ushin_nagios...OK Starting rrdcached...OK Starting npcd...OK Starting nagios...OK Initializing Crontab...OK Jean-Marie DUNO U-SHIN AM Projects & R-D IT Manager TEL:+33 3 8660 3161 CEL:+33 6 4636 4155 -- This e-mail message is intended only for the use of the intended recipient(s). The information contained therein may be confidential or privileged, and its disclosure or reproduction is strictly prohibited.If you are not the intended recipient, please return it immediately to its sender at the above address and destroy it.
_______________________________________________ omd-users mailing list [email protected] http://lists.mathias-kettner.de/mailman/listinfo/omd-users
