Probleme Update 4.3 EmptyKeyError

Antworten
Florian.Podehl
Beiträge: 11
Registriert: 26 Nov 2021, 16:38

Probleme Update 4.3 EmptyKeyError

Beitrag von Florian.Podehl »

Hallo,

beim update auf die 4.3 bekomme ich einige Problem angezeigt.

MySQL Server Problem vor allelem.

Aber mir scheint dieser Fehler als erstes wichtig zu sein:

Code: Alles auswählen

opsiconfd -l 9
[7] [2023-12-08 14:32:20.249] [               ] Using selector: EpollSelector   (selector_events.py:54)
[6] [2023-12-08 14:32:20.250] [               ] Creating new file log '/var/log/opsi/opsiconfd/opsiconfd.log'   (logging.py:301)
[6] [2023-12-08 14:32:20.253] [               ] Using trusted certificates database: /usr/lib/opsiconfd/certifi/cacert.pem   (main.py:343)
Traceback (most recent call last):
  File "run-opsiconfd.py", line 12, in <module>
  File "opsiconfd/main.py", line 416, in main
  File "opsiconfd/main.py", line 346, in opsiconfd_main
  File "opsiconfd/config.py", line 120, in get_depotserver_id
  File "opsicommon/config/opsi.py", line 208, in get
  File "opsicommon/config/opsi.py", line 199, in _assert_config_read
  File "opsicommon/config/opsi.py", line 284, in read_config_file
  File "opsicommon/config/opsi.py", line 260, in upgrade_config_file
  File "tomlkit/api.py", line 42, in loads
  File "tomlkit/api.py", line 82, in parse
  File "tomlkit/parser.py", line 154, in parse
  File "tomlkit/parser.py", line 1002, in _parse_table
  File "tomlkit/parser.py", line 238, in _parse_item
  File "tomlkit/parser.py", line 311, in _parse_key_value
  File "tomlkit/parser.py", line 360, in _parse_key
  File "tomlkit/parser.py", line 404, in _parse_bare_key
tomlkit.exceptions.EmptyKeyError: Empty key at line 3 col 0
Hat einer eine Idee was ich mir anschauen sollte. Leider gibt mir Google nicht so viel Feedback.

MfG
Alexander Koch
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1819
Registriert: 29 Mai 2008, 15:14

Re: Probleme Update 4.3 EmptyKeyError

Beitrag von j.schneider »

Hallo!

Da scheint ein Syntax-Fehler in der /etc/opsi/opsi.conf (Zeile 3) zu sein.

Grüße
Jan Schneider
Florian.Podehl
Beiträge: 11
Registriert: 26 Nov 2021, 16:38

Re: Probleme Update 4.3 EmptyKeyError

Beitrag von Florian.Podehl »

Hallo,

danke für den Hinweis, dort wurde eine Gruppe mit einem ";" auskommentiert, das scheint Ihn gestört zu haben.
Da hätte ich nie nachgeschaut.

wenn ich das ändere kommt die Nächste Fehlermeldung!

Code: Alles auswählen

opsiconfd -l 9
Traceback (most recent call last):
  File "run-opsiconfd.py", line 12, in <module>
  File "opsiconfd/main.py", line 416, in main
  File "opsiconfd/main.py", line 335, in opsiconfd_main
  File "contextlib.py", line 137, in __enter__
  File "opsiconfd/redis.py", line 106, in redis_client
  File "opsiconfd/redis.py", line 96, in get_redis_connection
  File "redis/commands/core.py", line 1216, in ping
  File "redis/client.py", line 536, in execute_command
  File "redis/retry.py", line 46, in call_with_retry
  File "redis/client.py", line 537, in <lambda>
  File "redis/client.py", line 513, in _send_command_parse_response
  File "redis/client.py", line 553, in parse_response
  File "redis/connection.py", line 524, in read_response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1819
Registriert: 29 Mai 2008, 15:14

Re: Probleme Update 4.3 EmptyKeyError

Beitrag von j.schneider »

Da hat der Redis-Server ein Problem.
Am besten mal einen Blick in das Log des Redis-Servers werfen (vermutlich /var/log/redis/redis-server.log).
Antworten