Installation problem after updating opsi

Antworten
duda
Beiträge: 24
Registriert: 31 Mai 2011, 11:50

Installation problem after updating opsi

Beitrag von duda »

Hallo,

after updating opsi to 4.0.2.1 I cannot install anymore. It breaks on Permission denied: u'/mnt/opsi/win7-x64/opsi//opsimbr.exe.
Any idea?

Code: Alles auswählen

[6] [Sep 17 13:44:00] Copying from 'win7-x64/opsi' to '/mnt/hd/' (Repository.py|469)
[3] [Sep 17 13:44:00] [Errno 13] Permission denied: '/mnt/opsi/win7-x64/opsi/postinst.d' (Repository.py|665)
[3] [Sep 17 13:44:00] [Errno 13] Permission denied: '/mnt/opsi/win7-x64/opsi/postinst.d' (Repository.py|665)
[7] [Sep 17 13:44:00] Length of binary data to download: 159848 bytes (Repository.py|685)
[2] [Sep 17 13:44:01] Traceback: (Logger.py|742)
[2] [Sep 17 13:44:01]      line 1387 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|742)
[2] [Sep 17 13:44:01]      line 247 in '<module>' in file '/tmp/setup.py' (Logger.py|742)
[2] [Sep 17 13:44:01]      line 546 in 'copy' in file '/usr/lib/pymodules/python2.6/OPSI/Util/Repository.py' (Logger.py|742)
[2] [Sep 17 13:44:01]      line 710 in 'download' in file '/usr/lib/pymodules/python2.6/OPSI/Util/Repository.py' (Logger.py|742)
[2] [Sep 17 13:44:01]      ==>>> Repository error: Failed to download '/mnt/opsi/win7-x64/opsi//opsimbr.exe' to '/mnt/hd/opsi/opsimbr.exe': [Errno 13] Permission denied: u'/mnt/opsi/win7-x64/opsi//opsimbr.exe' (master.py|1435)
[7] [Sep 17 13:44:01] Backend: <OPSI.Backend.JSONRPC.JSONRPCBackend instance at 0x8aaa3cc> (master.py|1438)
[7] [Sep 17 13:44:01] ProductId: win7-x64 (master.py|1439)
[7] [Sep 17 13:44:01] ClientId: panickyinst.od.private (master.py|1440)
[7] [Sep 17 13:44:01] ProductOnClient: <ProductOnClient clientId 'panickyinst.od.private', productId 'win7-x64', installationStatus 'unknown', actionRequest 'none'> (master.py|1441)
[6] [Sep 17 13:44:01] Updating productOnClient: {'actionProgress': u'', 'actionResult': u'failed', 'clientId': u'panickyinst.od.private', 'modificationTime': None, 'actionRequest': u'none', 'targetConfiguration': None, 'productVersion': None, 'productType': u'NetbootProduct', 'type': u'ProductOnClient', 'lastAction': None, 'packageVersion': None, 'actionSequence': None, 'installationStatus': u'unknown', 'productId': u'win7-x64'} (master.py|1452)
[7] [Sep 17 13:44:01] Executing jsonrpc method 'productOnClient_updateObjects' on host 192.168.255.240 (JSONRPC.py|104)
[7] [Sep 17 13:44:01] Starting new HTTPS connection (0) to 192.168.255.240:4447 (HTTP.py|573)
[7] [Sep 17 13:44:01] Connection established to: 192.168.255.240 (HTTP.py|586)
[7] [Sep 17 13:44:01] Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert' (HTTP.py|163)
[7] [Sep 17 13:44:01] Closing connection: <httplib.HTTPSConnection instance at 0x8c4eaec> (HTTP.py|501)
[7] [Sep 17 13:44:01] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: gzip (JSONRPC.py|656)
[7] [Sep 17 13:44:01] Expecting compressed data from server (JSONRPC.py|660)
[5] [Sep 17 13:45:57] Writing log to service (master.py|1466)
Cheers,

Duda
duda
Beiträge: 24
Registriert: 31 Mai 2011, 11:50

Re: Installation problem after updating opsi

Beitrag von duda »

opsi-setup --set-rights solved the thing!

Greetings,

Duda
Antworten