Licenses: Updated the list of licenses and added a PDF containing all license texts
[check_mk.git] / .werks / 5435
blob7f849034dfa301375a63335ad2426f06dbef565c
1 Title: Fixed "omd update" problems when updating from 1.4.0p17 or older
2 Level: 2
3 Component: omd
4 Compatible: compat
5 Edition: cre
6 Version: 1.5.0i1
7 Date: 1510563044
8 Class: fix
10 When executing "omd update" as site user to update a site from 1.4.0p17
11 or older an error could occur blocking the update. The message looks like
12 this:
14 <pre>
15 Traceback (most recent call last):
16   File "/omd/versions/1.4.0p17.cee/bin/omd", line 52, in <module>
17     import tarfile, fnmatch
18   File "/omd/versions/1.4.0p17.cee/lib/python2.7/tarfile.py", line 52, in <module>
19     import copy
20   File "/omd/versions/1.4.0p17.cee/lib/python2.7/copy.py", line 52, in <module>
21     import weakref
22   File "/omd/versions/1.4.0p17.cee/lib/python2.7/weakref.py", line 14, in <module>
23     from _weakref import (
24 ImportError: cannot import name _remove_dead_weakref
25 </pre>
27 This issue was caused by a mixup of python versions during the update which has
28 been fixed now by using the correct libraries during the update.
30 To workaround this issue, you could run the "omd update" command as root user instead
31 of the site user.