opsi update from 4.0 to 4.1

Antworten
a.ahindi
Beiträge: 8
Registriert: 23 Jun 2019, 15:10

opsi update from 4.0 to 4.1

Beitrag von a.ahindi »

after star the update process as the manual steps :

Code: Alles auswählen

echo "deb http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.1:/stable/xUbuntu_16.04/ /" > /etc/apt/sources.list.d/opsi.list
wget -nv https://download.opensuse.org/repositories/home:uibmz:opsi:4.1:stable/xUbuntu_16.04/Release.key -O Release.key
apt-key add - < Release.key
update-inetd --remove tftp
apt update
apt install opsi-tftpd-hpa
apt upgrade
apt install opsi-server
opsi-setup --update-mysql
on the next step
opsi-setup --init-current-config
i get this error
[2] [Jun 24 12:55:42] Traceback: (Logger.py|798)
[2] [Jun 24 12:55:42] File "/usr/bin/opsi-setup", line 1159, in <module>
main()
(Logger.py|798)
[2] [Jun 24 12:55:42] File "/usr/bin/opsi-setup", line 1115, in main
initializeBackends(ipAddress)
(Logger.py|798)
[2] [Jun 24 12:55:42] File "/usr/lib/python2.7/dist-packages/OPSI/Util/Task/InitializeBackend.py", line 68, in initializeBackends
with BackendManager(**managerConfig) as backend:
(Logger.py|798)
[2] [Jun 24 12:55:42] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/BackendManager.py", line 227, in __init__
self._backend = BackendDispatcher(context=self, **kwargs)
(Logger.py|798)
[2] [Jun 24 12:55:42] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/BackendManager.py", line 327, in __init__
raise BackendConfigurationError(u"Dispatcher not configured")
(Logger.py|798)
[2] [Jun 24 12:55:42] ==>>> Backend configuration error: Dispatcher not configured (opsi-setup|1163)

ERROR: Backend configuration error: Dispatcher not configured
Benutzeravatar
ThomasT
uib-Team
Beiträge: 515
Registriert: 26 Jun 2013, 12:26

Re: opsi update from 4.0 to 4.1

Beitrag von ThomasT »

Could you please post your dispatch.conf? Typically located here:

Code: Alles auswählen

/etc/opsi/backendManager/dispatch.conf
Kein Support per DM!
_________________________
opsi support - https://www.uib.de/
For productive opsi installations we recommend support contracts.
a.ahindi
Beiträge: 8
Registriert: 23 Jun 2019, 15:10

Re: opsi update from 4.0 to 4.1

Beitrag von a.ahindi »

ThomasT hat geschrieben:Could you please post your dispatch.conf? Typically located here:

Code: Alles auswählen

/etc/opsi/backendManager/dispatch.conf
nothing its empty
~
~
~
~
~
~
"dispatch.conf" 0L, 0C
but in the new updated file from the 4.0 to 4.1 (the old one dispatch.conf.defualt the ne one .example )
backend_.* : file, mysql, opsipxeconfd
host_.* : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
license.* : mysql
softwareLicense.* : mysql
audit.* : mysql
.* : file
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: opsi update from 4.0 to 4.1

Beitrag von n.wenselowski »

Use the english forums for english threads!

Your dispatch.conf looks broken. I'd suggest using the one from your last working backup instead.

Code: Alles auswählen

import OPSI
Antworten