Fehler beim Upload/Install von Packages (OPSI42)

Antworten
convoy74
Beiträge: 40
Registriert: 06 Jul 2020, 10:24
Wohnort: Allgäu
Kontaktdaten:

Fehler beim Upload/Install von Packages (OPSI42)

Beitrag von convoy74 »

Hallo,

uns ist mit OPSI42 folgendes Problem aufgefallen:

wir bauen uns ein Package, welches wir auf ein oder mehrer Depots verteilen wollen.
Das ganze machen wir mit

opsi-package-manager -d all -i <opsipackage>

folgende Fehler tauchen dabei auf, nicht immer - manchmal funktioniert es, im nächsten Moment geht es nicht mehr.

Code: Alles auswählen

Errors occurred:
   Failure while processing Install of package(s) /var/lib/opsi/workbench/all_comtarsia/all_comtarsia2016_11.0.9.1-2.opsi on depot 'depot1.lan1.test':
      Opsi rpc error: Backend error: Failed to install package '/var/lib/opsi/repository/all_comtarsia2016_11.0.9.1-2.opsi' on depot 'depot1.lan1.test': name 'pywintypes' is not defined (error on server)
      

Code: Alles auswählen

Errors occurred:
   Failure while processing Install of package(s) /var/lib/opsi/workbench/all_comtarsia/all_comtarsia2016_11.0.9.1-2.opsi on depot 'depot1.lan1.test':
      unknown encoding: idna

ERROR: Failed to process command 'install': 1 errors during the processing of tasks

Code: Alles auswählen

Errors occurred:
   Failure while processing Install of package(s) /var/lib/opsi/workbench/all_comtarsia/all_comtarsia2016_11.0.9.1-2.opsi on depot 'master.lan2.test':
      Opsi rpc error: Backend error: Failed to install package '/var/lib/opsi/repository/all_comtarsia2016_11.0.9.1-2.opsi' on depot 'master.lan2.test': Backend referential integrity error: ProductProperty with id 'logonscript' for product 'all_comtarsia2016' not found

ERROR: Failed to process command 'install': 1 errors during the processing of tasks.

Interessant dabei, wir rufen das Kommando einmal auf. Die eine Fehlermeldung kommt auf dem Master, die andere auf dem Slave.
Beim nächsten mal ist es anders herum, oder einer geht der andere bringt einen Fehler.

Außerdem scheint es so, dass dieses Problem nur auftritt, wenn man mit "-d all" arbeitet. Einzelne Upload/Installs machen kein Problem!


MS
Antworten