nach umzug auf opsi4.2 sind 2 Depots aktiv
nach umzug auf opsi4.2 sind 2 Depots aktiv
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
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
Laut clientlog greift er auf das richtige Depot zu.
Re: nach umzug auf opsi4.2 sind 2 Depots aktiv
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
Re: nach umzug auf opsi4.2 sind 2 Depots aktiv
hier der Inhalt der Datei:
kommt er mit den depots durcheinander?`In den Logfiles sehe ich keine Zugrifffsversuche auf das falsche mehr.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 =
Oder ist das ein Zertifikatsproblem und er deswegen irgentwas nicht decodieren kann?
- j.schneider
- uib-Team
- Beiträge: 2045
- Registriert: 29 Mai 2008, 15:14
Re: nach umzug auf opsi4.2 sind 2 Depots aktiv
Code: Alles auswählen
opsi-admin -d task setPcpatchPassword
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
Re: nach umzug auf opsi4.2 sind 2 Depots aktiv
danke. es geht jetzt ein wenig besser, ich bekomme aber noch folgende Fehlermeldung bei einigen Paketen:
Hier das log vom client in Auszügen:(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
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
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?