Seite 1 von 1

product version im config editor

Verfasst: 30 Okt 2010, 22:16
von rfrankow
beim update von opsi 3.3.1 auf 3.4 werden keine produkt versionen und infos mehr im config editor angezeigt?
angezeigt werden jedoch die product-properitys der clients.
von dieser jedoch nicht die auswahlmöglichkeiten der localboot product-properitys.
scheint so als ob opsi /var/lib/opsi/config/depots/<opsiserver>/products/localboot nicht liest.
(wollte nachdem später alle clients im opsclientd umgestellt sind auf opsi 4.0 updaten)

was hab ich vergessen? ;-)

folgender fehler beim aufruf von:

Code: Alles auswählen

opsi-package-manager -l -v
     Traceback:
     line 1385 in '<module>' in file '/usr/bin/opsi-package-manager'
     line 1269 in 'main' in file '/usr/bin/opsi-package-manager'
     line 726 in 'getProductInformations' in file '/usr/bin/opsi-package-manager'
     line 3 in 'getProducts_listOfHashes' in file '<string>'
     line 256 in '_jsonRPC' in file '/var/lib/python-support/python2.5/OPSI/Backend/JSONRPC.py'
     line 313 in 'loads' in file '/var/lib/python-support/python2.5/simplejson/__init__.py'
     line 321 in 'decode' in file '/var/lib/python-support/python2.5/simplejson/decoder.py'
     line 340 in 'raw_decode' in file '/var/lib/python-support/python2.5/simplejson/decoder.py'
     ==>>> No JSON object could be decoded
ERROR: No JSON object could be decoded

Code: Alles auswählen

opsiserver:~# dpkg -l | grep opsi
ii  opsi-atftpd                          0.7.dfsg-1.4               advanced TFTP server - opsi version with pcr
ii  opsi-configed                        1.4.22-1                   OPSI config editor
ii  opsi-depotserver                     3.4-1                      server fuer das Softwareverteilungssystem OP
ii  opsi-linux-bootimage                 20100901-1                 Linux-Bootimage fuer das Softwareverteilungs
ii  opsi-utils                           3.4-4                      OPSI utils
ii  opsiconfd                            2.0.0.25-1                 OPSI configuration service
ii  opsipxeconfd                         0.3.8-1                    OPSI PXE configuration daemon
ii  python-opsi                          3.4.0.14-1                 OPSI python library

Re: product version im config editor

Verfasst: 01 Nov 2010, 13:27
von rfrankow
hat keiner ne idee?

Re: product version im config editor

Verfasst: 01 Nov 2010, 23:56
von rfrankow
utf8 war dran schuld. :evil:
bin mit opsi-admin -d -l 3 method getProduct productID auf die schliche gekommen.

für alle dies auch mal brauchen:

Code: Alles auswählen

cd <productdir>; for f in * ; do opsi-admin -d -l 3 method getProduct_hash $f ; done;