Seite 1 von 1
Cannot add webdav content 'repository'
Verfasst: 24 Sep 2015, 14:56
von tmausch
Moin,
ich mal wieder.
Ich habe einen neuen Depotserver mit CentOS 7 installiert und die Anbindung an den Master klappte auch ganz hervorragend, aber nun hänge ich an der obigen Meldung.
Die exakte Meldung lautet:
Code: Alles auswählen
Cannot add webdav content 'repository': directory '/var/lib/opsi/repository' does not exist.
Das ist aber mal sowas von gelogen, wie man hier sehen kann:
Auszug aus /var/lib/opsi:
Code: Alles auswählen
drwxrwx--- 7 opsiconfd pcpatch 140 Sep 23 12:26 config
drwxrwx--- 88 opsiconfd pcpatch 4096 Sep 24 09:51 depot
drwxrwx--- 2 opsiconfd pcpatch 6 Sep 18 18:09 ntfs-images
drwxrwx--- 2 opsiconfd pcpatch 12288 Sep 18 18:09 repository
Berechtigungen stimmen, wie man sehen kann und es ist auch gefüllt mit den Daten vom Master. Was hat der Server nur?
Inzwischen habe ich schon auf Testing gewechselt und noch viele andere Dinge getan, die ich mal kurz notiere:
- opsi-setup --register-depot
- opsi-setup --init-current-config
- opsi-set-rights /var/lib/opsi
- opsi-setup --cleanup-backend
- opsi-setup --renew-opsiconfd-cert
Die Reihenfolge passt nicht, aber das habe ich alles gemacht. Was kann ich noch machen?
Re: Cannot add webdav content 'repository'
Verfasst: 24 Sep 2015, 16:32
von ueluekmen
Wo kommt die Meldung? Welcher Server ist auf Testing? Du solltest nicht versuchen einen 4.0.6 Depotserver auf einem 4.0.5 Configserver zu registrieren. Das wird von uns nicht getestet weil wir immer empfehlen: Erst den Configserver updaten und danach die Depotserver.
Re: Cannot add webdav content 'repository'
Verfasst: 25 Sep 2015, 07:17
von tmausch
Die Meldung steht in /var/log/opsi/opsiconfd/opsiconfd.log
Code: Alles auswählen
[2] [Sep 25 07:12:16] Traceback: (Logger.py|758)
[2] [Sep 25 07:12:16] line 460 in 'run' in file '/usr/lib/python2.7/site-packages/opsiconfd/opsiconfd.py' (Logger.py|758)
[2] [Sep 25 07:12:16] line 311 in '_createSite' in file '/usr/lib/python2.7/site-packages/opsiconfd/opsiconfd.py' (Logger.py|758)
[2] [Sep 25 07:12:16] ==>>> Cannot add webdav content 'repository': directory '/var/lib/opsi/repository' does not exist. (opsiconfd.py|473)
[5] [Sep 25 07:12:16] Stopping opsiconfd main thread (opsiconfd.py|177)
[5] [Sep 25 07:12:16] Deleting all sessions (Session.py|218)
[5] [Sep 25 07:12:16] Opsiconfd main thread exiting... (opsiconfd.py|476)
Derzeit sind alle Server auf Testing, weil es Probleme mit CentOS und Pyton-Twisted gibt. Siehe hier:
viewtopic.php?f=7&t=7625&start=10#p32824
Das Problem ist nur auf dem neuen Depotserver vorhanden. Der Config Server, sowie ein weiteres Depot funktionieren problemlos. Alle Server sind aktuell.
Viele Grüße
Torsten
Re: Cannot add webdav content 'repository'
Verfasst: 25 Sep 2015, 08:05
von tmausch
Und nun auch noch das auf dem Config Server:
Code: Alles auswählen
Sep 25 08:03:47.272 2015 -- Opsi service error: [OpsiRpcError] Opsi rpc error: Method 'getPossibleMethods_listOfHashes' is not valid
Sep 25 08:03:49.591 2015 -- Opsi service error: [BackendConfigurationError] Backend configuration error: You have tried to execute a method, that will not work with filebackend.
Sep 25 08:03:50.291 2015 -- Opsi service error: [OpsiRpcError] Opsi rpc error: Method 'getServerIds_list' is not valid
Sep 25 08:03:50.335 2015 -- server list empty
Sep 25 08:03:53.578 2015 -- Opsi service error: [OpsiRpcError] Opsi rpc error: Method 'getProductOrdering' is not valid
Sep 25 08:03:55.975 2015 -- Opsi service error: [OpsiRpcError] Opsi rpc error: Method 'getProductOrdering' is not valid
Sep 25 08:03:56.178 2015 -- Opsi service error: [OpsiRpcError] Opsi rpc error: Method 'getDomain' is not valid
Sep 25 08:03:56.299 2015 -- Opsi service error: [OpsiRpcError] Opsi rpc error: Method 'getOpsiHWAuditConf' is not valid
Sep 25 08:03:57.022 2015 -- Opsi service error: [BackendConfigurationError] Backend configuration error: You have tried to execute a method, that will not work with filebackend.
Re: Cannot add webdav content 'repository'
Verfasst: 25 Sep 2015, 10:51
von tmausch
tmausch hat geschrieben:Und nun auch noch das auf dem Config Server:
Code: Alles auswählen
Sep 25 08:03:47.272 2015 -- Opsi service error: [OpsiRpcError] Opsi rpc error: Method 'getPossibleMethods_listOfHashes' is not valid
Sep 25 08:03:49.591 2015 -- Opsi service error: [BackendConfigurationError] Backend configuration error: You have tried to execute a method, that will not work with filebackend.
Sep 25 08:03:50.291 2015 -- Opsi service error: [OpsiRpcError] Opsi rpc error: Method 'getServerIds_list' is not valid
Sep 25 08:03:50.335 2015 -- server list empty
Sep 25 08:03:53.578 2015 -- Opsi service error: [OpsiRpcError] Opsi rpc error: Method 'getProductOrdering' is not valid
Sep 25 08:03:55.975 2015 -- Opsi service error: [OpsiRpcError] Opsi rpc error: Method 'getProductOrdering' is not valid
Sep 25 08:03:56.178 2015 -- Opsi service error: [OpsiRpcError] Opsi rpc error: Method 'getDomain' is not valid
Sep 25 08:03:56.299 2015 -- Opsi service error: [OpsiRpcError] Opsi rpc error: Method 'getOpsiHWAuditConf' is not valid
Sep 25 08:03:57.022 2015 -- Opsi service error: [BackendConfigurationError] Backend configuration error: You have tried to execute a method, that will not work with filebackend.
Ok, das konnte ich mit dem Backup von letzter Nacht beheben. Keine Ahnung, was hier schiefgelaufen ist.
Re: Cannot add webdav content 'repository'
Verfasst: 25 Sep 2015, 13:17
von tmausch
Läuft jetzt. Habe opsi einmal komplett von der Platte gehauen und neu installiert. Anbindung an den Master vorgenommen und nun läuft es.
Danke und Gruß