/var/lib/opsi/depot directory not created (v4.03. on Wheezy)

Antworten
pav5088
Beiträge: 31
Registriert: 12 Jun 2009, 03:49

/var/lib/opsi/depot directory not created (v4.03. on Wheezy)

Beitrag von pav5088 »

The /var/lib/opsi/depot directory was not created on my installation ie. the testing 4.0.3.2-1 packages on Debian Wheezy.
(I also had an earlier issue with /home/opsiproducts not existing, but I can't remember the details.

Opsiconfd failed to start. The log showed /var/lib/opsi/depot didn't exist :
[5] [Mar 18 13:39:09] Running on depot server 'fusion.strategicit.homelinux.net', exporting depot directory (opsiconfd.py|317)
[2] [Mar 18 13:39:09] Traceback: (Logger.py|742)
[2] [Mar 18 13:39:09] line 460 in 'run' in file '/usr/lib/pymodules/python2.7/opsiconfd/opsiconfd.py' (Logger.py|742)
[2] [Mar 18 13:39:09] line 324 in '_createSite' in file '/usr/lib/pymodules/python2.7/opsiconfd/opsiconfd.py' (Logger.py|742)
[2] [Mar 18 13:39:09] ==>>> Cannot add webdav content 'depot': directory '/var/lib/opsi/depot' does not exist. (opsiconfd.py|470)

I THINK I have installed the required packages. Just in case, the packages I have installed:
opsi-configd
opsi-linux-bootimage
opsi-utils
opsiconfd
opsipxeconfd
python-opsi
opsi-depotserver-expert

If anyone else wants to fix this problem:
mkdir /var/lib/opsi/depot
chown opsiconfd.pcpatch /var/lib/opsi/depot
chmod 770 /var/lib/opsi/depot

# /etc/init.d/opsiconfd start
Starting opsi config service....... (done).

BTW, should I be reporting bugs in experimental packages here?
pav5088
Beiträge: 31
Registriert: 12 Jun 2009, 03:49

Permissions wrong in previous message

Beitrag von pav5088 »

After creating /var/lib/opsi/depot

opsi-setup --set-rights

...will set the correct permissions (which weren't quite right in the previous message).
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: /var/lib/opsi/depot directory not created (v4.03. on Whe

Beitrag von d.oertel »

Hi,

opsi is not released for wheezy right now.

But we are allways happy about any bug hints.
I filed your observations in our internal bug tracker.

thanks

d.oertel


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


Antworten