Seite 1 von 1

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

Verfasst: 18 Mär 2013, 04:53
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?

Permissions wrong in previous message

Verfasst: 18 Mär 2013, 04:59
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).

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

Verfasst: 20 Mär 2013, 17:38
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