Seite 1 von 1
Fehler bei gelöschten bzw. umbenannten ProductID
Verfasst: 16 Sep 2013, 15:04
von vitalisator
Hallo,
Habe nach dem Update:
opsi-configed (4.0.3.2.1-1 auf 4.0.3.3.4-1)
opsi-depotserver (4.0.3.1-1 auf 4.0.3.2-1)
folgenden Fehler.
Wenn Clients die SW on demand webseite öffnet (
https://localhost:4441/swondemand) kommt nur:
'NoneType' object has no attribute 'productId'
und zwar auf allen Clients.
kann das irgendwas mit dem o.a. Update zu tun haben?
bzw. wo finde ich ausführliche logs dazu?
Re: Fehler nach Update
Verfasst: 17 Sep 2013, 08:28
von vitalisator
Habe die Log Datei unter c:\temp\opsiclientd.log gefunden.
Ich denke es hat nichts mit dem Update zu tun.
So wie es aussieht stolpert der opsiclientd über einene productID die auf dem pc mal installiert wurde jetzt aber im depot nicht mehr existiert.
Ich denke sowas sollte abgefangen werden.
Code: Alles auswählen
[5] [Sep 17 08:15:55] [ software on demand ] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36' on client '127.0.0.1' supplied non existing session id: X54SExAxjTb4NOzKBm9agAqbYAaVjvho (Worker.pyo|393)
[6] [Sep 17 08:15:55] [ software on demand ] Starting ServiceConnectionThread, timeout is 15 seconds (OpsiService.pyo|163)
[5] [Sep 17 08:15:55] [ service connection ] Connecting to config server 'https://192.168.210.242:4447/rpc' #1 (OpsiService.pyo|309)
[5] [Sep 17 08:15:56] [ service connection ] Disabling mysql backend and license management module: no customer in modules file (JSONRPC.pyo|506)
[6] [Sep 17 08:15:57] [ service connection ] <OPSI.Backend.JSONRPC.JSONRPCBackend instance at 0x03320170>: Connected to service (JSONRPC.pyo|427)
[5] [Sep 17 08:15:57] [ service connection ] Connected to config server 'https://192.168.210.242:4447/rpc' (OpsiService.pyo|330)
[6] [Sep 17 08:15:57] [ software on demand ] On demand product found: 'greenshot' (SoftwareOnDemand.pyo|176)
[6] [Sep 17 08:15:57] [ software on demand ] On demand product found: 'officescan_client' (SoftwareOnDemand.pyo|176)
[6] [Sep 17 08:15:57] [ software on demand ] On demand product found: 'appsense' (SoftwareOnDemand.pyo|176)
[6] [Sep 17 08:15:57] [ software on demand ] On demand product found: 'google-chrome' (SoftwareOnDemand.pyo|176)
[6] [Sep 17 08:15:57] [ software on demand ] On demand product found: 'ditto' (SoftwareOnDemand.pyo|176)
[6] [Sep 17 08:15:57] [ software on demand ] On demand product found: '7zip' (SoftwareOnDemand.pyo|176)
[6] [Sep 17 08:15:57] [ software on demand ] On demand product found: 'fonts' (SoftwareOnDemand.pyo|176)
[6] [Sep 17 08:15:57] [ software on demand ] On demand product found: 'swaudit' (SoftwareOnDemand.pyo|176)
[6] [Sep 17 08:15:57] [ software on demand ] On demand product found: 'acrobat-reader' (SoftwareOnDemand.pyo|176)
[6] [Sep 17 08:15:57] [ software on demand ] On demand product found: 'office2010' (SoftwareOnDemand.pyo|176)
[6] [Sep 17 08:15:57] [ software on demand ] On demand product found: 'pdfcreator' (SoftwareOnDemand.pyo|176)
[6] [Sep 17 08:15:57] [ software on demand ] On demand product found: 'ultravnc' (SoftwareOnDemand.pyo|176)
[6] [Sep 17 08:15:57] [ software on demand ] On demand product found: 'hwaudit' (SoftwareOnDemand.pyo|176)
[6] [Sep 17 08:15:58] [ opsiclientd ] Executing bunched jsonrpcs: {9: <OPSI.Backend.JSONRPC.JSONRPC object at 0x033CE5F0>, 10: <OPSI.Backend.JSONRPC.JSONRPC object at 0x033CE790>, 11: <OPSI.Backend.JSONRPC.JSONRPC object at 0x033CE830>} (JSONRPC.pyo|175)
[3] [Sep 17 08:15:58] [ software on demand ] Product 'officescan_client' not found on depot 'opsi-ems.energie.local' (SoftwareOnDemand.pyo|405)
Re: Fehler bei gelöschten bzw. umbenannten ProductID
Verfasst: 18 Sep 2013, 14:26
von Face
Hallo,
gibt es dazu eine Lösung?
Ich bekomme jetzt bei allen, egal in welchem Depot die sich befinden die Meldung "NoneType object has no attribute productId" .
Gruss
Roman
Re: Fehler bei gelöschten bzw. umbenannten ProductID
Verfasst: 18 Sep 2013, 16:09
von ueluekmen
Hi,
da hilft wahrscheinlich nur ein:
Re: Fehler bei gelöschten bzw. umbenannten ProductID
Verfasst: 18 Sep 2013, 16:29
von Face
..und wie das hilft !!
Vieln Dank
Gruss
Roman
Re: Fehler bei gelöschten bzw. umbenannten ProductID
Verfasst: 19 Sep 2013, 08:58
von vitalisator
Moin,
Hab das Problem nun auch gelöst.
bei mir war das gelöschte Product noch in der Gruppe eingetragen.
Erst ein entfernen aus der /var/lib/opsi/config/productgroups.ini und anschließendes
hat was gebracht.