Seite 1 von 1

install-on-shutdown opsi 4.3 webgui

Verfasst: 13 Okt 2023, 14:15
von elemay
Hallo,

die Opsi 4.3 webgui zeigt mir bei install-on-shutdown True (unknown) an. Auswählen kann ich nur 0 oder 1. Hat sich die Einstellung von True/False auf 1/0 geändert?

Re: install-on-shutdown opsi 4.3 webgui

Verfasst: 19 Okt 2023, 10:34
von n.doerrer
Moin,

das scheint das gleiche backend-Problem zu sein wie hier: viewtopic.php?p=59119#p59119
Durch löschen des configs und wieder neu anlegen des configs als BoolConfig analog zu meiner Antwort in dem anderen Thread sollte das Problem zu beheben sein.

Aber was mich interessiert ist, wo das Problem herkam. Eigentlich sollte es nur UnicodeConfig und BoolConfig geben (die beide von Config erben). Man kann reine Config-Objekte zwar manuell anlegen, aber das wird eigentlich nicht getan.
Vermute ich richtig, dass vor dem upgrade auf 4.3 mit einem file-Backend gearbeitet wurde? Dann wäre die /var/lib/opsi/config/config.ini interessant. Dort stehen Configs mit ihren jeweiligen Typen drin, die vor der Migration auf mysql aktiv waren.

Re: install-on-shutdown opsi 4.3 webgui

Verfasst: 19 Okt 2023, 11:08
von elemay
Hallo,

ja davor war es ein file-Backend.

Die ini Datei sieht so aus:

Code: Alles auswählen

defaultvalues = ["https://x.x.x.x:4447/rpc"]
description = URL(s) of opsi config service(s) to use
editable = true
multivalue = true
possiblevalues = ["https://x.x.x.x:4447/rpc"]
type = UnicodeConfig

[clientconfig.depot.drive]
defaultvalues = ["p:"]
description = Drive letter for depot share
editable = false
multivalue = false
possiblevalues = ["a:", "b:", "c:", "d:", "dynamic", "e:", "f:", "g:", "h:", "i:", "j:", "k:", "l:", "m:", "n:", "o:", "p:", "q:", "r:", "s:", "t:", "u:", "v:", "w:", "x:", "y:", "z:"]
type = UnicodeConfig

[clientconfig.depot.dynamic]
defaultvalues = [false]
description = Use dynamic depot selection
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[clientconfig.depot.id]
defaultvalues = ["opsi.workgroup.local"]
description = ID of the opsi depot to use
editable = true
multivalue = false
possiblevalues = ["opsi.workgroup.local"]
type = UnicodeConfig

[clientconfig.depot.protocol]
defaultvalues = ["cifs"]
description = Protocol for file transfer
editable = false
multivalue = false
possiblevalues = ["cifs", "webdav"]
type = UnicodeConfig

[clientconfig.depot.protocol.netboot]
defaultvalues = ["cifs"]
description = Protocol to use when mounting an depot share in netboot environment
editable = false
multivalue = false
possiblevalues = ["cifs", "webdav"]
type = UnicodeConfig

[clientconfig.depot.user]
defaultvalues = ["SAMBA\\pcpatch"]
description = User for depot share
editable = true
multivalue = false
possiblevalues = ["SAMBA\\pcpatch"]
type = UnicodeConfig

[clientconfig.dhcpd.filename]
defaultvalues = []
description = The name of the file that will be presented to the client on an TFTP request. For an client that should boot via UEFI this must include the term 'elilo'.
editable = true
multivalue = false
possiblevalues = ["elilo"]
type = UnicodeConfig

[clientconfig.install_by_shutdown.active]
defaultvalues = [true]
description = install_by_shutdown active
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[clientconfig.windows.domain]
defaultvalues = ["MYGROUP"]
description = Windows domain
editable = true
multivalue = false
possiblevalues = ["MYGROUP"]
type = UnicodeConfig

[configed.domains_given]
defaultvalues = ["workgroup.local"]
description = saved domains for creating clients
editable = true
multivalue = true
possiblevalues = ["workgroup.local"]
type = UnicodeConfig

[configed.host_actions_disabled]
defaultvalues = []
description =
editable = false
multivalue = true
possiblevalues = ["add client", "remove client"]
type = UnicodeConfig

[configed.host_displayfields]
defaultvalues = ["clientConnected", "clientDescription", "clientIPAddress", "clientLastSeen", "clientName"]
description =
editable = false
multivalue = true
possiblevalues = ["UEFIboot", "WANmode", "clientConnected", "clientCreated", "clientDescription", "clientHardwareAddress", "clientIPAddress", "clientInventoryNumber", "clientLastSeen", "clientName", "clientSessionInfo", "depotId", "installByShutdown"]
type = UnicodeConfig

[configed.license_inventory_extradisplayfields]
defaultvalues = []
description = Zusatzspalten zur Host-Beschreibung\nin der Tabelle "Abgleich mit Inventarisierung"\nBitte nach Änderungen configed neu starten
editable = false
multivalue = true
possiblevalues = ["description", "inventoryNumber", "ipAddress", "lastSeen", "notes"]
type = UnicodeConfig

[configed.meta_config.wan_mode_off.opsiclientd.event_gui_startup.active]
defaultvalues = [true]
description = meta configuration for default not wan behaviour
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[configed.meta_config.wan_mode_off.opsiclientd.event_gui_startup{user_logged_in}.active]
defaultvalues = [true]
description = meta configuration for default not wan behaviour
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[configed.meta_config.wan_mode_off.opsiclientd.event_net_connection.active]
defaultvalues = [false]
description = meta configuration for default not wan behaviour
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[configed.meta_config.wan_mode_off.opsiclientd.event_timer.active]
defaultvalues = [false]
description = meta configuration for default not wan behaviour
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[configed.opsiclientd_events]
defaultvalues = ["on_demand"]
description =
editable = true
multivalue = true
possiblevalues = ["on_demand", "silent_install"]
type = UnicodeConfig

[configed.productonclient_displayfields_localboot]
defaultvalues = ["actionRequest", "installationInfo", "installationStatus", "productId", "versionInfo"]
description =
editable = false
multivalue = true
possiblevalues = ["actionRequest", "installationInfo", "installationStatus", "position", "priority", "productId", "productName", "stateChange", "targetConfiguration", "versionInfo"]
type = UnicodeConfig

[configed.productonclient_displayfields_netboot]
defaultvalues = ["actionRequest", "installationInfo", "installationStatus", "productId", "versionInfo"]
description =
editable = false
multivalue = true
possiblevalues = ["actionRequest", "installationInfo", "installationStatus", "position", "priority", "productId", "productName", "stateChange", "targetConfiguration", "versionInfo"]
type = UnicodeConfig

[configed.query_supplementary.hosts_with_products]
defaultvalues = ["select hostId, productId, installationStatus from  HOST, PRODUCT_ON_CLIENT  WHERE HOST.hostId  = PRODUCT_ON_CLIENT.clientId  AND =  installationStatus='installed'  order by hostId, productId "]
description = all hosts and their installed products
editable = true
multivalue = false
possiblevalues = ["select hostId, productId, installationStatus from  HOST, PRODUCT_ON_CLIENT  WHERE HOST.hostId  = PRODUCT_ON_CLIENT.clientId  AND =  installationStatus='installed'  order by hostId, productId "]
type = UnicodeConfig

[configed.query_supplementary.hosts_with_products.description]
defaultvalues = ["all hosts and their installed products"]
description =
editable = true
multivalue = false
possiblevalues = ["all hosts and their installed products"]
type = UnicodeConfig

[configed.query_supplementary.hosts_with_products.editable]
defaultvalues = [false]
description = (command may be edited)
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[configed.remote_control.opsiclientd_timeline_linux]
defaultvalues = ["firefox https://%host%:4441/info.html"]
description = opsiclientd  timeline, called from a Linux environment, firefox recommended
editable = true
multivalue = false
possiblevalues = ["firefox https://%host%:4441/info.html"]
type = UnicodeConfig

[configed.remote_control.opsiclientd_timeline_linux.description]
defaultvalues = ["opsiclientd  timeline, called from a Linux environment, firefox recommended"]
description =
editable = true
multivalue = false
possiblevalues = ["opsiclientd  timeline, called from a Linux environment, firefox recommended"]
type = UnicodeConfig

[configed.remote_control.opsiclientd_timeline_linux.editable]
defaultvalues = [false]
description = (command may not be edited)
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[configed.remote_control.opsiclientd_timeline_windows]
defaultvalues = ["cmd.exe /c start https://%host%:4441/info.html"]
description = opsiclientd  timeline, called rfrom a Windows environment
editable = true
multivalue = false
possiblevalues = ["cmd.exe /c start https://%host%:4441/info.html"]
type = UnicodeConfig

[configed.remote_control.opsiclientd_timeline_windows.description]
defaultvalues = ["opsiclientd  timeline, called rfrom a Windows environment"]
description =
editable = true
multivalue = false
possiblevalues = ["opsiclientd  timeline, called rfrom a Windows environment"]
type = UnicodeConfig

[configed.remote_control.opsiclientd_timeline_windows.editable]
defaultvalues = [false]
description = (command may not be edited)
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[configed.remote_control.ping_linux]
defaultvalues = ["xterm +hold -e ping %host%"]
description = ping, started in a Linux environment
editable = true
multivalue = false
possiblevalues = ["xterm +hold -e ping %host%"]
type = UnicodeConfig

[configed.remote_control.ping_linux.description]
defaultvalues = ["ping, started in a Linux environment"]
description =
editable = true
multivalue = false
possiblevalues = ["ping, started in a Linux environment"]
type = UnicodeConfig

[configed.remote_control.ping_linux.editable]
defaultvalues = [true]
description = (command may be edited)
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[configed.remote_control.ping_windows]
defaultvalues = ["cmd.exe /c start ping %host%"]
description = ping, started in a Windows terminal
editable = true
multivalue = false
possiblevalues = ["cmd.exe /c start ping %host%"]
type = UnicodeConfig

[configed.remote_control.ping_windows.description]
defaultvalues = ["ping, started in a Windows terminal"]
description =
editable = true
multivalue = false
possiblevalues = ["ping, started in a Windows terminal"]
type = UnicodeConfig

[configed.remote_control.ping_windows.editable]
defaultvalues = [true]
description = (command may be edited)
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[configed.saved_search.product_failed]
defaultvalues = ["{ \"version\" : \"2\", \"data\" : { \"element\" : null,  \"elementPath\" : null, \"operation\" : \"SoftwareOperation\", \"dataType\" : null, \"data\" : null,  \"children\" : [ { \"element\" : \"SoftwareActionResultElement\", \"elementPath\" : [ \"Product\", \"Action Result\" ], \"operation\" : \"StringEqualsOperation\", \"dataType\" : TextType, \"data\" : \"failed\", \"children\" : null } ] } }"]
description = any product failed
editable = true
multivalue = false
possiblevalues = ["{ \"version\" : \"2\", \"data\" : { \"element\" : null,  \"elementPath\" : null, \"operation\" : \"SoftwareOperation\", \"dataType\" : null, \"data\" : null,  \"children\" : [ { \"element\" : \"SoftwareActionResultElement\", \"elementPath\" : [ \"Product\", \"Action Result\" ], \"operation\" : \"StringEqualsOperation\", \"dataType\" : TextType, \"data\" : \"failed\", \"children\" : null } ] } }"]
type = UnicodeConfig

[configed.saved_search.product_failed.description]
defaultvalues = ["any product failed"]
description =
editable = true
multivalue = false
possiblevalues = ["any product failed"]
type = UnicodeConfig

[configed.search_by_sql]
defaultvalues = [true]
description = Use SQL calls for search if SQL backend is active
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[configed.ssh.deploy-client-agent.default.password]
defaultvalues = [""]
description = default windows password for deploy-client-agent-script
editable = true
multivalue = false
possiblevalues = [""]
type = UnicodeConfig

[configed.ssh.deploy-client-agent.default.user]
defaultvalues = ["Administrator"]
description = default windows username for deploy-client-agent-script
editable = true
multivalue = false
possiblevalues = ["Administrator"]
type = UnicodeConfig

[configed.workbench.default]
defaultvalues = ["/home/opsiproducts/"]
description = default path to opsiproducts
editable = true
multivalue = false
possiblevalues = ["/home/opsiproducts/"]
type = UnicodeConfig

[license-management.use]
defaultvalues = [false]
description = Activate license management
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[licensing.client_limit_warning_absolute]
defaultvalues = ["5"]
description = saved domains for creating clients
editable = true
multivalue = false
possiblevalues = ["5"]
type = UnicodeConfig

[licensing.client_limit_warning_days]
defaultvalues = ["30"]
description = saved domains for creating clients
editable = true
multivalue = false
possiblevalues = ["30"]
type = UnicodeConfig

[licensing.client_limit_warning_percent]
defaultvalues = ["95"]
description = saved domains for creating clients
editable = true
multivalue = false
possiblevalues = ["95"]
type = UnicodeConfig

[licensing.disable_warning_for_modules]
defaultvalues = []
description = saved domains for creating clients
editable = true
multivalue = true
possiblevalues = []
type = UnicodeConfig

[opsi-linux-bootimage.append]
defaultvalues = []
description = Extra options to append to kernel command line
editable = true
multivalue = true
possiblevalues = ["acpi=off", "irqpoll", "noapic", "pci=nomsi", "reboot=b", "vga=normal"]
type = UnicodeConfig

[opsi-script.global.autoactivitydisplay]
defaultvalues = [true]
description = opsi-script.global.AutoActivityDisplay
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsi-script.global.debug_lib]
defaultvalues = [false]
description = opsi-script.global.debug_lib
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsi-script.global.debug_prog]
defaultvalues = [false]
description = opsi-script.global.debug_prog
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsi-script.global.default_loglevel]
defaultvalues = ["7"]
description = opsi-script.global.default_loglevel
editable = false
multivalue = false
possiblevalues = ["4", "5", "6", "7", "8"]
type = UnicodeConfig

[opsi-script.global.force_min_loglevel]
defaultvalues = ["0"]
description = opsi-script.global.force_min_loglevel
editable = false
multivalue = false
possiblevalues = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
type = UnicodeConfig

[opsi-script.global.log_rotation_count]
defaultvalues = ["8"]
description = opsi-script.global.log_rotation_count
editable = true
multivalue = false
possiblevalues = ["1", "16", "32", "4", "8"]
type = UnicodeConfig

[opsi-script.global.reverseproductorderbyuninstall]
defaultvalues = [false]
description = opsi-script.global.ReverseProductOrderByUninstall
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsi-script.global.scripterrormessages]
defaultvalues = [false]
description = opsi-script.global.ScriptErrorMessages
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsi-script.global.supresssystemencodingwarning]
defaultvalues = [false]
description = opsi-script.global.supressSystemEncodingWarning
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsi-script.global.testsyntax]
defaultvalues = [false]
description = opsi-script.global.testsyntax
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsi-script.global.w10bitlockersuspendonreboot]
defaultvalues = [false]
description = opsi-script.global.w10BitlockerSuspendOnReboot
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsi-script.global.writeproductlogfile]
defaultvalues = [false]
description = opsi-script.global.writeProductLogFile
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsiclientd.event_gui_startup.active]
defaultvalues = [true]
description = gui_startup active
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsiclientd.event_gui_startup{user_logged_in}.active]
defaultvalues = [true]
description = gui_startup{user_logged_in} active
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsiclientd.event_net_connection.active]
defaultvalues = [false]
description = event_net_connection active
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsiclientd.event_on_shutdown.active]
defaultvalues = [true]
description = event on_shutdown active
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsiclientd.event_software_on_demand.shutdown_warning_time]
defaultvalues = ["3600"]
description = opsiclientd.event_software_on_demand.shutdown_warning_time
editable = true
multivalue = false
possiblevalues = ["0", "300", "3600"]
type = UnicodeConfig

[opsiclientd.event_timer.active]
defaultvalues = [false]
description = event_timer active
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsiclientd.event_user_login.action_processor_command]
defaultvalues = ["%action_processor.command% /sessionid service_session /loginscripts /silent"]
description = user_login action_processor
editable = true
multivalue = false
possiblevalues = ["%action_processor.command% /sessionid service_session /loginscripts /silent"]
type = UnicodeConfig

[opsiclientd.event_user_login.active]
defaultvalues = [false]
description = user_login active
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsiclientd.global.install_opsi_ca_into_os_store]
defaultvalues = [false]
description = Automatically install opsi CA into operating systems certificate store
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[opsiclientd.global.verify_server_cert]
defaultvalues = [false]
description = Verify opsi server TLS certificates
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[product_sort_algorithm]
defaultvalues = ["algorithm1"]
description = algorithm1 = dependencies first\; algorithm2 = priorities first
editable = false
multivalue = false
possiblevalues = ["algorithm1", "algorithm2"]
type = UnicodeConfig

[software-on-demand.active]
defaultvalues = [false]
description = Activate software-on-demand
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[software-on-demand.admin-mode]
defaultvalues = [false]
description = software-on-demand.admin-mode
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[software-on-demand.disable-tilesview]
defaultvalues = [false]
description = software-on-demand.disable-tilesview
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[software-on-demand.installation-now-button]
defaultvalues = [true]
description = software-on-demand.installation-now-button
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[software-on-demand.product-group-ids]
defaultvalues = ["software-on-demand"]
description = Product group ids containing products which are allowed to be installed on demand
editable = true
multivalue = true
possiblevalues = ["software-on-demand"]
type = UnicodeConfig

[user.role.{default}.has_role]
defaultvalues = [""]
description = which role should determine this users configuration
editable = false
multivalue = false
possiblevalues = [""]
type = UnicodeConfig

[user.role.{default}.modified]
defaultvalues = ["[2023-02-20 13:12:28 set by role prototype]"]
description = last modification time for entries of this user
editable = false
multivalue = false
possiblevalues = ["[2023-02-20 13:12:28 set by role prototype]"]
type = UnicodeConfig

[user.role.{default}.privilege.host.all.registered_readonly]
defaultvalues = [false]
description = the primary value setting is based on the user group
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[user.role.{default}.privilege.host.createclient]
defaultvalues = [true]
description = the primary value setting is based on the user group
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[user.role.{default}.privilege.host.depotaccess.configured]
defaultvalues = [false]
description = the primary value setting is false
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[user.role.{default}.privilege.host.depotaccess.depots]
defaultvalues = []
description = the primary value setting is an empty selection list, but all existing items as option
editable = false
multivalue = true
possiblevalues = ["opsi.workgroup.local"]
type = UnicodeConfig

[user.role.{default}.privilege.host.groupaccess.configured]
defaultvalues = [false]
description = the primary value setting is false
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[user.role.{default}.privilege.host.groupaccess.hostgroups]
defaultvalues = []
description = the primary value setting is an empty selection list, but all existing items as option
editable = false
multivalue = true
possiblevalues = []
type = UnicodeConfig

[user.role.{default}.privilege.host.opsiserver.write]
defaultvalues = [true]
description = the primary value setting is based on the user group
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[user.role.{default}.privilege.product.groupaccess.configured]
defaultvalues = [false]
description = the primary value setting is false
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[user.role.{default}.privilege.product.groupaccess.productgroups]
defaultvalues = []
description = the primary value setting is an empty selection list, but all existing items as option
editable = false
multivalue = true
possiblevalues = []
type = UnicodeConfig

[user.role.{default}.ssh.commandmanagement.active]
defaultvalues = [false]
description = the primary value setting is based on the user group
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[user.role.{default}.ssh.commands.active]
defaultvalues = [true]
description = the primary value setting is based on the user group
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[user.role.{default}.ssh.menu_serverconsole.active]
defaultvalues = [true]
description = the primary value setting is based on the user group
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[user.role.{default}.ssh.serverconfiguration.active]
defaultvalues = [true]
description = the primary value setting is based on the user group
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig

[user.{}.register]
defaultvalues = [false]
description = the primary value setting is false
editable = false
multivalue = false
possiblevalues = [false, true]
type = BoolConfig
Wenn ich die Befehle aus dem anderen Thread ausführe dann bekomme ich folgende Fehlermeldungen:

Code: Alles auswählen

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2087 abort (core dumped)  opsi-cli jsonrpc execute config_delete
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2094 abort (core dumped)  opsi-cli jsonrpc execute config_delete
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2100 abort (core dumped)  opsi-cli jsonrpc execute config_delete
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2106 abort (core dumped)  opsi-cli jsonrpc execute config_delete
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2114 abort (core dumped)  opsi-cli jsonrpc execute config_delete
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2122 abort (core dumped)  opsi-cli jsonrpc execute config_delete "opsiclientd.event_timer.active"
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2131 abort (core dumped)  opsi-cli jsonrpc execute config_delete "opsiclientd.event_gui_startup.active"
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2139 abort (core dumped)  opsi-cli jsonrpc execute config_delete "opsiclientd.event_on_shutdown.active"
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2147 abort (core dumped)  opsi-cli jsonrpc execute config_delete "user.{}.register"
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2155 abort (core dumped)  opsi-cli jsonrpc execute config_createBool  "" true
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2165 abort (core dumped)  opsi-cli jsonrpc execute config_createBool  "" false
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2173 abort (core dumped)  opsi-cli jsonrpc execute config_createBool  "" false
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2181 abort (core dumped)  opsi-cli jsonrpc execute config_createBool  "" true
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2190 abort (core dumped)  opsi-cli jsonrpc execute config_createBool  "" true
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2197 abort (core dumped)  opsi-cli jsonrpc execute config_createBool  "" false
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2205 abort (core dumped)  opsi-cli jsonrpc execute config_createBool  "" false
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2213 abort (core dumped)  opsi-cli jsonrpc execute config_createBool  "" true
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2224 abort (core dumped)  opsi-cli jsonrpc execute config_createBool  "" true
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MarkerNotFoundError', src/bin/ziplauncher.rs:348:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    2229 abort (core dumped)  opsi-cli jsonrpc execute config_createBool user.{}.register "" false

Re: install-on-shutdown opsi 4.3 webgui

Verfasst: 19 Okt 2023, 17:06
von n.doerrer
Danke für das Beispiel. Damit kann ich es reproduzieren. Ist ein Bug. Wir arbeiten an einem fix. Vielen Dank!

Re: install-on-shutdown opsi 4.3 webgui

Verfasst: 23 Okt 2023, 11:49
von n.doerrer
Der Bug ist behoben mit opsiconfd 4.3.0.111 (jetzt in 4.3 testing). Damit entsteht der Fehler bei der Konvertierung von file-Backend zu mysql-Backend nicht mehr. Außerdem wird er nachträglich im mysql-Backend korrigiert. Mit dem neuen opsiconfd sollten alle Config-Objekte automatisch zu BoolConfig bzw UnicodeConfig konvertiert werden.

Über einen kurzen Test mit dem neuen opsiconfd und eine Rückmeldung würde ich mich freuen.