opsi-product-updater
-
- Beiträge: 1
- Registriert: 08 Aug 2016, 10:38
opsi-product-updater
Hallo Forenmitglieder,
ich habe die VM von OPSI installiert und die ersten OPSI-Client angebunden -- Funktioniert bisher alles.
Das Einspielen der Pakete funktioniert bis auf die Pakete vom "opsi4.0/products/netboot".
Der Aufruf des Product-Updater's erzeugt für die folgenden opsi-product-updater.conf immer wieder Fehlermeldungen;
Der Versuch das fehlerhafte OPSI-Paket auszulassen (siehe auskommentierte Zeilen) war bisher nicht erfolgreich
Was mach ich falsch ?
Vielen Dank im Voraus
----------------------------------
opsi-product-updater -i -vv
Inhalt der /etc/opsi/opsi-product-updater.conf:
[repository_uib]
active = true
opsiDepotId =
baseUrl = http://download.uib.de
dirs = opsi4.0/products/localboot, opsi4.0/products/netboot
includeProductIds =
excludes = ^win.*
username =
password =
autoInstall = false
autoUpdate = true
autoSetup = false
onlyDownload = false
proxy =
opsi-product-updater -i -vv
Error:
opsi-clonezilla_4.0.6.1-1.opsi - installation required: product 'opsi-clonezilla' is not installed and auto install is set for repository 'http://download.uib.de'
opsi-clonezilla_4.0.6.1-1.opsi - download of package is required: found local package opsi-clonezilla_4.0.6.1-1.opsi which differs from available
Traceback:
line 1187 in '<module>' in file '/usr/bin/opsi-product-updater'
line 1180 in 'main' in file '/usr/bin/opsi-product-updater'
line 562 in 'processUpdates' in file '/usr/bin/opsi-product-updater'
line 771 in 'zsyncPackage' in file '/usr/bin/opsi-product-updater'
==>>> [Errno 2] No such file or directory
ERROR: [Errno 2] No such file or directory
-------------------------------
Inhalt der /etc/opsi/opsi-product-updater.conf:
[repository_uib]
active = true
opsiDepotId =
baseUrl = http://download.uib.de
dirs = opsi4.0/products/localboot, opsi4.0/products/netboot
includeProductIds =
; excludes = ^opsi-clonezilla_4.0.6.1-1.*
; excludes = opsi4.0/products/netboot/opsi-clonezilla_4.0.6.1-1.*
excludes = http://download.uib.de/opsi4.0/products ... _4.0.6.1-1.*
username =
password =
autoInstall = false
autoUpdate = true
autoSetup = false
onlyDownload = false
proxy =
opsi-product-updater -i -vv
Error:
opsi-clonezilla_4.0.6.1-1.opsi - installation required: product 'opsi-clonezilla' is not installed and auto install is set for repository 'http://download.uib.de'
opsi-clonezilla_4.0.6.1-1.opsi - download of package is required: found local package opsi-clonezilla_4.0.6.1-1.opsi which differs from available
Zsyncing http://download.uib.de/opsi4.0/products ... 6.1-1.opsi to /var/lib/opsi/repository/opsi-clonezilla_4.0.6.1-1.opsi
Zsync of 'http://download.uib.de/opsi4.0/products ... 6.1-1.opsi' completed
Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules'
Disabling mysql backend and license management module: no customer in modules file
Setting rights on directory u'/var/lib/opsi/repository'
zsynced Download has failed, try once to load full package
Downloading http://download.uib.de/opsi4.0/products ... 6.1-1.opsi (18.14 MB) to /var/lib/opsi/repository/opsi-clonezilla_4.0.6.1-1.opsi
Download of 'http://download.uib.de/opsi4.0/products ... 6.1-1.opsi' completed
Setting rights on directory u'/var/lib/opsi/repository'
Traceback:
line 1187 in '<module>' in file '/usr/bin/opsi-product-updater'
line 1180 in 'main' in file '/usr/bin/opsi-product-updater'
line 582 in 'processUpdates' in file '/usr/bin/opsi-product-updater'
==>>> Failed to download package 'http://download.uib.de/opsi4.0/products ... 6.1-1.opsi', md5sum mismatch
ERROR: Failed to download package 'http://download.uib.de/opsi4.0/products ... 6.1-1.opsi', md5sum mismatch
ich habe die VM von OPSI installiert und die ersten OPSI-Client angebunden -- Funktioniert bisher alles.
Das Einspielen der Pakete funktioniert bis auf die Pakete vom "opsi4.0/products/netboot".
Der Aufruf des Product-Updater's erzeugt für die folgenden opsi-product-updater.conf immer wieder Fehlermeldungen;
Der Versuch das fehlerhafte OPSI-Paket auszulassen (siehe auskommentierte Zeilen) war bisher nicht erfolgreich
Was mach ich falsch ?
Vielen Dank im Voraus
----------------------------------
opsi-product-updater -i -vv
Inhalt der /etc/opsi/opsi-product-updater.conf:
[repository_uib]
active = true
opsiDepotId =
baseUrl = http://download.uib.de
dirs = opsi4.0/products/localboot, opsi4.0/products/netboot
includeProductIds =
excludes = ^win.*
username =
password =
autoInstall = false
autoUpdate = true
autoSetup = false
onlyDownload = false
proxy =
opsi-product-updater -i -vv
Error:
opsi-clonezilla_4.0.6.1-1.opsi - installation required: product 'opsi-clonezilla' is not installed and auto install is set for repository 'http://download.uib.de'
opsi-clonezilla_4.0.6.1-1.opsi - download of package is required: found local package opsi-clonezilla_4.0.6.1-1.opsi which differs from available
Traceback:
line 1187 in '<module>' in file '/usr/bin/opsi-product-updater'
line 1180 in 'main' in file '/usr/bin/opsi-product-updater'
line 562 in 'processUpdates' in file '/usr/bin/opsi-product-updater'
line 771 in 'zsyncPackage' in file '/usr/bin/opsi-product-updater'
==>>> [Errno 2] No such file or directory
ERROR: [Errno 2] No such file or directory
-------------------------------
Inhalt der /etc/opsi/opsi-product-updater.conf:
[repository_uib]
active = true
opsiDepotId =
baseUrl = http://download.uib.de
dirs = opsi4.0/products/localboot, opsi4.0/products/netboot
includeProductIds =
; excludes = ^opsi-clonezilla_4.0.6.1-1.*
; excludes = opsi4.0/products/netboot/opsi-clonezilla_4.0.6.1-1.*
excludes = http://download.uib.de/opsi4.0/products ... _4.0.6.1-1.*
username =
password =
autoInstall = false
autoUpdate = true
autoSetup = false
onlyDownload = false
proxy =
opsi-product-updater -i -vv
Error:
opsi-clonezilla_4.0.6.1-1.opsi - installation required: product 'opsi-clonezilla' is not installed and auto install is set for repository 'http://download.uib.de'
opsi-clonezilla_4.0.6.1-1.opsi - download of package is required: found local package opsi-clonezilla_4.0.6.1-1.opsi which differs from available
Zsyncing http://download.uib.de/opsi4.0/products ... 6.1-1.opsi to /var/lib/opsi/repository/opsi-clonezilla_4.0.6.1-1.opsi
Zsync of 'http://download.uib.de/opsi4.0/products ... 6.1-1.opsi' completed
Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules'
Disabling mysql backend and license management module: no customer in modules file
Setting rights on directory u'/var/lib/opsi/repository'
zsynced Download has failed, try once to load full package
Downloading http://download.uib.de/opsi4.0/products ... 6.1-1.opsi (18.14 MB) to /var/lib/opsi/repository/opsi-clonezilla_4.0.6.1-1.opsi
Download of 'http://download.uib.de/opsi4.0/products ... 6.1-1.opsi' completed
Setting rights on directory u'/var/lib/opsi/repository'
Traceback:
line 1187 in '<module>' in file '/usr/bin/opsi-product-updater'
line 1180 in 'main' in file '/usr/bin/opsi-product-updater'
line 582 in 'processUpdates' in file '/usr/bin/opsi-product-updater'
==>>> Failed to download package 'http://download.uib.de/opsi4.0/products ... 6.1-1.opsi', md5sum mismatch
ERROR: Failed to download package 'http://download.uib.de/opsi4.0/products ... 6.1-1.opsi', md5sum mismatch
Re: opsi-product-updater
check mal ob eure Firewall da reinpfuscht
Re: opsi-product-updater
Und checken, ob du hinter einem Proxy steckst, der intelligent cached 

Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: opsi-product-updater
Hi,
Ansonsten sieht die letzte Meldung stark danach aus, dass hier irgendein Proxy oder eine Firewall für Probleme sorgt.
Hast du sowas vor Ort?
Ansonsten können die Produkte auch manuell heruntergeladen und installiert werden, aber das ist dann deutlich mehr Arbeit.
Viele Grüße
Niko
Der Exclude klappt nicht. Funktionieren müsste:JBaOpsiAdmin hat geschrieben:Inhalt der /etc/opsi/opsi-product-updater.conf:
[repository_uib]
active = true
opsiDepotId =
baseUrl = http://download.uib.de
dirs = opsi4.0/products/localboot, opsi4.0/products/netboot
includeProductIds =
; excludes = ^opsi-clonezilla_4.0.6.1-1.*
; excludes = opsi4.0/products/netboot/opsi-clonezilla_4.0.6.1-1.*
excludes = http://download.uib.de/opsi4.0/products ... _4.0.6.1-1.*
username =
password =
autoInstall = false
autoUpdate = true
autoSetup = false
onlyDownload = false
proxy =
Code: Alles auswählen
excludes = opsi-clonezilla.*
Hast du sowas vor Ort?
Ansonsten können die Produkte auch manuell heruntergeladen und installiert werden, aber das ist dann deutlich mehr Arbeit.
Viele Grüße
Niko
Code: Alles auswählen
import OPSI