Seite 1 von 1
nach umzug auf opsi4.2 sind 2 Depots aktiv
Verfasst: 22 Mai 2023, 10:35
von Rzpertt
Hallo,
ich hatte meine alte opsi VM auf 4.2 geupdatet und dann einen neuen Host instaliert und dort dann das backup der alten VM eingespielt.
Jetzt habe ich der neuen VM die alte IP Adresse gegeben und clients haben Zugriff.
Nur habe ich jetzt 2 Depots, eines mit dem alten Namen und eines mit dem Hostnamen denn ich bei einspielen das Backup aktiv hatte.
Leider sind im Depot jetzt auch die ganzen alten Packete die ich auf dem neuen Host nicht installiert hatte.
Auch hatten sich die schon mit opsi installierten Clients auf beide Depots verteilt, ich hatte während des Umzugs keine Clients installiert.
Kann man in dem configed einen scan machen so das er nur pakete listet die auch wirklich im depot sind?
Im grunde möchte ich die Pakete so haben wie sie auf dem temporären server sind.
Re: nach umzug auf opsi4.2 sind 2 Depots aktiv
Verfasst: 23 Mai 2023, 12:00
von Rzpertt
ich bekomme beim versuch eine Anwendung zu installieren dieses Fehler:
Code: Alles auswählen
OPSI.Util.BlowfishError: Failed to convert decrypted text to unicode.
[3] [2023-05-23 10:39:25.259] [xxx.xx.x.180 ] 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte (__init__.py:543)
[3] [2023-05-23 10:39:25.259] [xxx.xx.x.180 ] Failed to convert decrypted text to unicode. (jsonrpc.py:534)
Traceback (most recent call last):
File "OPSI/Util/__init__.py", line 541, in blowfishDecrypt
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte
Woran kann das liegen? Hostname ist richtig angegeben.
Laut clientlog greift er auf das richtige Depot zu.
Re: nach umzug auf opsi4.2 sind 2 Depots aktiv
Verfasst: 23 Mai 2023, 16:33
von ThomasT
Kannst du mal schauen, ob /etc/opsi/modules eine Textdatei ist? Falls ja, kannst du das mal hier posten ( natürlich ohne deine Lizenz ) falls du eine gekauft haben solltest.
Re: nach umzug auf opsi4.2 sind 2 Depots aktiv
Verfasst: 24 Mai 2023, 08:26
von Rzpertt
Hallo,
hier der Inhalt der Datei:
dynamic_depot = yes
vista = yes
linux_agent = no
monitoring = no
license_management = no
swondemand = yes
wim-capture = no
userroles = no
roaming_profiles = yes
scalability1 = no
local_imaging = no
multiplex = no
install_by_shutdown = yes
vpn = no
treeview = yes
mysql_backend = no
uefi = no
customer = opsivm basic license
expires = never
signature =
kommt er mit den depots durcheinander?`In den Logfiles sehe ich keine Zugrifffsversuche auf das falsche mehr.
Oder ist das ein Zertifikatsproblem und er deswegen irgentwas nicht decodieren kann?
Re: nach umzug auf opsi4.2 sind 2 Depots aktiv
Verfasst: 24 Mai 2023, 09:09
von j.schneider
Das Problem sollte durch Setzen eines neuen pcpatch-Passworts verschwinden.
Re: nach umzug auf opsi4.2 sind 2 Depots aktiv
Verfasst: 24 Mai 2023, 09:47
von Rzpertt
Hallo,
danke. es geht jetzt ein wenig besser, ich bekomme aber noch folgende Fehlermeldung bei einigen Paketen:
(194) [3] [2023-05-24 09:46:28.403] [o4i_audacity] Error: Can not find $ProductVersion$ in $InstFile$!!!
(195) [2] [2023-05-24 09:46:28.403] [o4i_audacity] Error level set to fatal
Hier das log vom client in Auszügen:
Included (insert) file: p:\o4i_audacity\common.opsiinc with encoding: utf8
[6] [2023-05-24 09:58:02.304] [o4i_audacity] opsi-script has version 4.12.9.1, required is : >= 4.12.3.12
[7] [2023-05-24 09:58:02.305] [o4i_audacity] defined global string list $ResultList$
[7] [2023-05-24 09:58:02.305] [o4i_audacity] defined global string list $InstFileList$
[6] [2023-05-24 09:58:02.306] [o4i_audacity] The value of the variable "$InstType$" is now: "64 Bit System"
[6] [2023-05-24 09:58:02.306] [o4i_audacity] The value of the variable "$MSVersion$" is now: "10.0"
[6] [2023-05-24 09:58:02.306] [o4i_audacity] The value of the variable "$LogDir$" is now: "c:\opsi.org\log"
[6] [2023-05-24 09:58:02.306] [o4i_audacity] The value of the variable "$ProductVersion$" is now: "3.2.5"
[6] [2023-05-24 09:58:02.306] [o4i_audacity] The value of the variable "$DesktopIcon$" is now: "False"
[6] [2023-05-24 09:58:02.307] [o4i_audacity] The value of the variable "$SilentOption$" is now: "/silent"
[6] [2023-05-24 09:58:02.307] [o4i_audacity] The value of the variable "$ProductId$" is now: "audacity"
[6] [2023-05-24 09:58:02.307] [o4i_audacity] The value of the variable "$ProductName$" is now: "Audacity"
[6] [2023-05-24 09:58:02.307] [o4i_audacity] The value of the variable "$MinimumSpace$" is now: "140 MB"
....
[6] [2023-05-24 09:58:02.456] [o4i_audacity] Added defined function: setproductpropertyvalue to the known functions
[7] [2023-05-24 09:58:02.471] [o4i_audacity] The value of the variable "$InstFileList$" is now:
[7] [2023-05-24 09:58:02.471] [o4i_audacity] (string 0)p:\o4i_audacity\audacity-win-3.3.2-x64.exe
[6] [2023-05-24 09:58:02.473] [o4i_audacity] If
[7] [2023-05-24 09:58:02.474] [o4i_audacity] count($InstFileList$) = "1" <<< result true
[6] [2023-05-24 09:58:02.474] [o4i_audacity] not (count($InstFileList$) = "1") <<< result false
[6] [2023-05-24 09:58:02.474] [o4i_audacity] Then
[6] [2023-05-24 09:58:02.475] [o4i_audacity] EndIf
[6] [2023-05-24 09:58:02.475] [o4i_audacity] The value of the variable "$InstFile$" is now: "p:\o4i_audacity\audacity-win-3.3.2-x64.exe"
[6] [2023-05-24 09:58:02.475] [o4i_audacity] If
[7] [2023-05-24 09:58:02.475] [o4i_audacity] contains($InstFile$, $ProductVersion$) <<< result false
[6] [2023-05-24 09:58:02.475] [o4i_audacity] not (contains($InstFile$, $ProductVersion$)) <<< result true
[6] [2023-05-24 09:58:02.475] [o4i_audacity] Then
[3] [2023-05-24 09:58:02.475] [o4i_audacity] Error: Can not find $ProductVersion$ in $InstFile$!!!
[2] [2023-05-24 09:58:02.475] [o4i_audacity] Error level set to fatal
[6] [2023-05-24 09:58:02.475] [o4i_audacity] Process aborted
[1] [2023-05-24 09:58:02.475] [o4i_audacity] ___________________
[1] [2023-05-24 09:58:02.475] [o4i_audacity] script finished: failed
Re: nach umzug auf opsi4.2 sind 2 Depots aktiv
Verfasst: 24 Mai 2023, 11:09
von Rzpertt
Ich habe jetzt das zweite Depot gelöscht und nochmal die o4i pakete mit dem package-updater aktualisiert und nun laufen die meisten die Installationen durch. Ich glaube der dachte ich nutze noch das zweite Depot.
Teils sind pakete im configed aber nicht wirklich im depot.
Was genau macht denn --cleanup-backend ?
Kann ich damit die im backend gelisteten aber garnicht mehr installierten Pakete loswerden?