Seite 1 von 1

Updates für 4.3 stable

Verfasst: 03 Apr 2024, 07:45
von j.schneider
Sehr geehrte opsi-Anwenderinnen und -Anwender,

mit diesem Release haben wir weitere Pakete für opsi veröffentlicht.

Das neue Release enthält eine Reihe von Korrekturen und Verbesserungen.

Das Grafana-Panel wurde überarbeitet und verwendet nun das simpod-json-datasource-Plugin.

Mit dem Flag --list-attributes kann opsi-cli nun die Attribute eines Befehls anzeigen.
Darüber hinaus kann die Ausgabe mit der Option `--sort-by` sortiert werden.
Wichtig: Bitte verwenden Sie jetzt `--clients all` mit dem Befehl client-action, um alle Clients anzusprechen.
Das Verhalten, dass alle Clients angesprochen werden wenn keine Clients und Gruppen angegeben werden ist überholt und wird in Zukunft entfernt.



===========================
Pakete für opsi 4.3 stable:
===========================

== TOOL ==
* opsi-cli 4.3.2.0 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-client-agent-msi 4.3.1.1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-configed-portable 4.3.1.11 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-logviewer-portable 4.3.1.11 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-webgui.zip 4.3.29 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt

== OPSI_PACKAGE ==
* opsi-cli 4.3.2.0-1
* opsi-client-agent 4.3.1.1-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-configed 4.3.1.11-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-linux-client-agent 4.3.1.2-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-mac-client-agent 4.3.1.1-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-vhd-control 4.3.0.2-1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* ubuntu22-04 4.2.0.2-6 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt

== SERVER_PACKAGE ==
* opsi-server 4.3.2.0 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-utils 4.3.3.10 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsi-webgui 4.3.29 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsiconfd 4.3.12.8 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
* opsipxeconfd 4.3.3.1 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt


Mit freundlichen Grüßen
Jan Schneider

Re: Updates für 4.3 stable

Verfasst: 03 Apr 2024, 09:12
von thomas.besser
Beim Update auf einem OPSI 4.3 stable ist mir aufgefallen

[...]
Setting up opsi-server-full (4.3.2.0-1) ...
Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mysql
Failed to enable unit: Refusing to operate on alias name or linked unit file: mysql.service
Synchronizing state of mariadb.service with SysV service script with /lib/systemd/systemd-sysv-install.
[...]

Einen Tip, wie ich das weg bekomme?

Danke und Gruß
Thomas

Re: Updates für 4.3 stable

Verfasst: 03 Apr 2024, 15:02
von feltel
Nach dem Update des OCA auf einem Mac muss wieder der Full Disk Access eingestellt werden, da sich der Hashwert des OCA-Binaries geändert hat. Wie schon in viewtopic.php?p=59630#p59630 bereitgestellt hier der Config-Payload, falls man mehrere Macs z.B. über Intune verwaltet. Ich bin nämlich gerade wieder über den Fehler gestolpert, konnte mich aber gerade noch so erinnern. :lol:

Code: Alles auswählen

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>PayloadContent</key>
	<array>
		<dict>
			<key>PayloadDescription</key>
			<string>OPSI opsiclientd Full Disk Access v4.3.1.0-1</string>
			<key>PayloadDisplayName</key>
			<string>OPSI opsiclientd Full Disk Access v4.3.1.0-1</string>
			<key>PayloadIdentifier</key>
			<string>B3871CF4-29D0-442E-BD4D-377852317B19</string>
			<key>PayloadOrganization</key>
			<string>Docemus Privatschulen gGmbH</string>
			<key>PayloadType</key>
			<string>com.apple.TCC.configuration-profile-policy</string>
			<key>PayloadUUID</key>
			<string>F8796D85-1686-427A-B7B1-0B7CB446DD43</string>
			<key>PayloadVersion</key>
			<integer>1</integer>
			<key>Services</key>
			<dict>
				<key>SystemPolicyAllFiles</key>
				<array>
					<dict>
						<key>Allowed</key>
						<true/>
						<key>CodeRequirement</key>
						<string>identifier "org.opsi.opsi-script" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "5H88T32F7P"</string>
						<key>Comment</key>
						<string></string>
						<key>Identifier</key>
						<string>org.opsi.opsi-script</string>
						<key>IdentifierType</key>
						<string>bundleID</string>
					</dict>
					<dict>
						<key>Allowed</key>
						<true/>
						<key>CodeRequirement</key>
						<string>cdhash H"517c0ee1ceb7eabf1759b0a676c659e7c12a221e"</string>
						<key>Comment</key>
						<string></string>
						<key>Identifier</key>
						<string>/usr/local/lib/opsiclientd/opsiclientd</string>
						<key>IdentifierType</key>
						<string>path</string>
					</dict>
				</array>
			</dict>
		</dict>
	</array>
	<key>PayloadDescription</key>
	<string>OPSI opsiclientd Full Disk Access v4.3.1.0-1</string>
	<key>PayloadDisplayName</key>
	<string>OPSI opsiclientd Full Disk Access v4.3.1.0-1</string>
	<key>PayloadIdentifier</key>
	<string>B3871CF4-29D0-442E-BD4D-377852317B19</string>
	<key>PayloadOrganization</key>
	<string>Docemus Privatschulen gGmbH</string>
	<key>PayloadScope</key>
	<string>System</string>
	<key>PayloadType</key>
	<string>Configuration</string>
	<key>PayloadUUID</key>
	<string>B08675DE-0C75-4462-85F2-991CB715650A</string>
	<key>PayloadVersion</key>
	<integer>1</integer>
</dict>
</plist>

Re: Updates für 4.3 stable

Verfasst: 04 Apr 2024, 07:23
von reb
Seit dem Update geht der HealthCheck in der neuen WebUI (/addons/webgui/app/adminserverhealthcheck) nicht mehr. Im Log kommt folgender Fehler:
[3] [2024-04-04 07:19:39,942] [192.168.3.79 ] Could not get health check.
[3] [2024-04-04 07:19:39,942] [192.168.3.79 ] asyncio.run() cannot be called from a running event loop
[3] [2024-04-04 07:19:39,942] [192.168.3.79 ] Could not get health check.

Traceback (most recent call last):
File "opsiconfd/check/addon.py", line 35, in check_opsi_failed_addons
File "uvloop/loop.pyx", line 1511, in uvloop.loop.Loop.run_until_complete
File "uvloop/loop.pyx", line 1504, in uvloop.loop.Loop.run_until_complete
File "uvloop/loop.pyx", line 1377, in uvloop.loop.Loop.run_forever
File "uvloop/loop.pyx", line 518, in uvloop.loop.Loop._run
RuntimeError: this event loop is already running.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/lib/opsiconfd/addons/webgui/python/server.py", line 36, in get_health_check
server_health = backend.service_healthCheck()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "opsiconfd/backend/rpc/__init__.py", line 185, in wrapper
File "opsiconfd/backend/rpc/general.py", line 166, in service_healthCheck
File "opsiconfd/check/main.py", line 60, in health_check
File "opsiconfd/check/addon.py", line 37, in check_opsi_failed_addons
File "asyncio/runners.py", line 186, in run
RuntimeError: asyncio.run() cannot be called from a running event loop

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "opsiconfd/rest.py", line 241, in create_response
File "opsiconfd/rest.py", line 233, in exec_func
File "/var/lib/opsiconfd/addons/webgui/python/server.py", line 41, in get_health_check
raise OpsiApiException(
opsiconfd.rest.OpsiApiException: Could not get health check.
[4] [2024-04-04 07:19:39,943] [192.168.3.79 ] Warning 'coroutine '_get_failed_addons' was never awaited' in file 'opsiconfd/rest.py', line 286

Re: Updates für 4.3 stable

Verfasst: 04 Apr 2024, 08:20
von fkalweit
Hallo,

vielen Dank für die Info. Wir schauen uns das an.
Ein Workaround für jetzt wäre in der /etc/opsi/opsiconfd.conf folgendes einzutragen:

Code: Alles auswählen

skip-checks=[opsi_failed_addons]
Viele Grüße
Fabian

Re: Updates für 4.3 stable

Verfasst: 26 Jun 2025, 11:39
von dslthomas
thomas.besser hat geschrieben: 03 Apr 2024, 09:12 Einen Tip, wie ich das weg bekomme?
Moin, Moin,

hast du das Problem lösen können? Bei mir kommt der gleiche Fehler und sitze nun schon die ganze Woche an diesem Problem