Restarted z2m: errors, big errors

Restarted z2m, wouldnt restart. Errors. Rebooted, now z2m, grafana and zwave wont start. I’ll post errors below. Please help @markus @april.brandt

This just runs over and over again.


2023-10-20 11:37:11 GMT+11	info	INFO: Skipped image updates since last update was less than 24 hours ago...
2023-10-20 11:37:11 GMT+11	info	INFO: Set permissions
2023-10-20 11:37:12 GMT+11	info	INFO: Done!
2023-10-20 11:37:12 GMT+11	info	INFO: We are root, becoming the oh-la user instead...
2023-10-20 11:37:12 GMT+11	info	INFO: Running "oll-z2m --prepare" as user oh-la
2023-10-20 11:37:12 GMT+11	info	(to oh-la) root on none
2023-10-20 11:37:12 GMT+11	info	pam_unix(su-l:session): session opened for user oh-la(uid=2000) by (uid=0)
2023-10-20 11:37:13 GMT+11	info	WARN: Config override! Config file "/home/oh-la/data/z2m/oll-z2m.conf" present and containing more than comments, possibly overriding defaults. Remove the file to disable overrides.
2023-10-20 11:37:13 GMT+11	info	---- CONFIG OVERRIDES START ----
2023-10-20 11:37:13 GMT+11	info	CONTAINER_REPO="koenkk/zigbee2mqtt:latest"
2023-10-20 11:37:13 GMT+11	info	----- CONFIG OVERRIDES END -----
2023-10-20 11:37:13 GMT+11	info	INFO: Running command: prepare
2023-10-20 11:37:13 GMT+11	info	INFO: Running as required user oh-la
2023-10-20 11:37:13 GMT+11	info	INFO: Finalizing preparing for the Zigbee2MQTT container as the podman user...
2023-10-20 11:39:50 GMT+11	info	WARN: Config override! Config file "/home/oh-la/data/z2m/oll-z2m.conf" present and containing more than comments, possibly overriding defaults. Remove the file to disable overrides.
2023-10-20 11:39:50 GMT+11	info	---- CONFIG OVERRIDES START ----
2023-10-20 11:39:50 GMT+11	info	CONTAINER_REPO="koenkk/zigbee2mqtt:latest"
2023-10-20 11:39:50 GMT+11	info	----- CONFIG OVERRIDES END -----
2023-10-20 11:39:50 GMT+11	info	INFO: Running command: defaults
2023-10-20 11:39:50 GMT+11	info	INFO: Running as required user oh-la
2023-10-20 11:39:50 GMT+11	info	INFO: Ensuring the ~/.systemd folder exists
2023-10-20 11:39:50 GMT+11	info	Settings already present in "/home/oh-la/data/z2m/configuration.yaml" for the Zigbee2MQTT container... No changes made!
2023-10-20 11:39:51 GMT+11	info	WARN: Config override! Config file "/home/oh-la/data/z2m/oll-z2m.conf" present and containing more than comments, possibly overriding defaults. Remove the file to disable overrides.
2023-10-20 11:39:51 GMT+11	info	---- CONFIG OVERRIDES START ----
2023-10-20 11:39:51 GMT+11	info	CONTAINER_REPO="koenkk/zigbee2mqtt:latest"
2023-10-20 11:39:51 GMT+11	info	----- CONFIG OVERRIDES END -----
2023-10-20 11:39:51 GMT+11	info	INFO: Running command: backup
2023-10-20 11:39:51 GMT+11	info	INFO: Running as required user oh-la
2023-10-20 11:39:51 GMT+11	info	INFO: Creating backup of essential Z2M files in /home/oh-la/data/z2m_backup...
2023-10-20 11:39:51 GMT+11	info	INFO: Creating backup of "configuration.yaml" in "/home/oh-la/data/z2m_backup".
2023-10-20 11:39:51 GMT+11	info	INFO: File "configuration.yaml" exist and is NOT empty!
2023-10-20 11:39:51 GMT+11	info	INFO: The latest backup is already up-to-date.
2023-10-20 11:39:51 GMT+11	info	INFO: Creating backup of "coordinator_backup.json" in "/home/oh-la/data/z2m_backup".
2023-10-20 11:39:51 GMT+11	info	INFO: File "coordinator_backup.json" exist and is NOT empty!
2023-10-20 11:39:51 GMT+11	info	INFO: The latest backup is already up-to-date.
2023-10-20 11:39:51 GMT+11	info	INFO: Creating backup of "database.db" in "/home/oh-la/data/z2m_backup".
2023-10-20 11:39:51 GMT+11	info	INFO: File "database.db" exist and is NOT empty!
2023-10-20 11:39:51 GMT+11	info	INFO: The latest backup is already up-to-date.
2023-10-20 11:39:51 GMT+11	info	INFO: Done!
2023-10-20 11:39:51 GMT+11	info	WARN: Config override! Config file "/home/oh-la/data/z2m/oll-z2m.conf" present and containing more than comments, possibly overriding defaults. Remove the file to disable overrides.
2023-10-20 11:39:51 GMT+11	info	---- CONFIG OVERRIDES START ----
2023-10-20 11:39:51 GMT+11	info	CONTAINER_REPO="koenkk/zigbee2mqtt:latest"
2023-10-20 11:39:51 GMT+11	info	----- CONFIG OVERRIDES END -----
2023-10-20 11:39:51 GMT+11	info	INFO: Running command: run
2023-10-20 11:39:51 GMT+11	info	INFO: Running as required user oh-la
2023-10-20 11:40:00 GMT+11	info	INFO: Running the Zigbee2MQTT container... Should ONLY be run through a systemd service!
2023-10-20 11:40:00 GMT+11	info	INFO: Exporting all serial devices to the container
2023-10-20 11:40:01 GMT+11	info	Mapped known serial device: /dev/serial/by-type/z-wave
2023-10-20 11:40:01 GMT+11	info	Mapped known serial device: /dev/serial/by-type/zigbee
2023-10-20 11:40:01 GMT+11	info	INFO: Mapping ports: 127.0.0.1:8080:8080
2023-10-20 11:40:01 GMT+11	info	INFO: Mapping folders: /home/oh-la/data/z2m:/app/data
2023-10-20 11:40:01 GMT+11	info	INFO: Mapping folders: /etc/ssl/certs:/etc/ssl/certs:ro
2023-10-20 11:40:01 GMT+11	info	INFO: Mapping folders: /usr/local/share/ca-certificates:/usr/local/share/ca-certificates:ro
2023-10-20 11:40:01 GMT+11	info	INFO: Mapping enviroment var: NODE_EXTRA_CA_CERTS=/etc/ssl/certs/ca-certificates.crt
2023-10-20 11:40:01 GMT+11	info	time="2023-10-20T11:40:01+11:00" level=info msg="/usr/bin/podman filtering at log level info"
2023-10-20 11:40:01 GMT+11	info	time="2023-10-20T11:40:01+11:00" level=info msg="Error initializing configured OCI runtime kata: no valid executable found for OCI runtime kata: invalid argument"
2023-10-20 11:40:01 GMT+11	info	time="2023-10-20T11:40:01+11:00" level=info msg="Error initializing configured OCI runtime runc: no valid executable found for OCI runtime runc: invalid argument"
2023-10-20 11:40:01 GMT+11	info	time="2023-10-20T11:40:01+11:00" level=info msg="Setting parallel job count to 13"
2023-10-20 11:40:01 GMT+11	info	time="2023-10-20T11:40:01+11:00" level=info msg="/usr/bin/podman filtering at log level info"
2023-10-20 11:40:16 GMT+11	info	time="2023-10-20T11:40:16+11:00" level=info msg="Error initializing configured OCI runtime runc: no valid executable found for OCI runtime runc: invalid argument"
2023-10-20 11:40:16 GMT+11	info	time="2023-10-20T11:40:16+11:00" level=info msg="Error initializing configured OCI runtime kata: no valid executable found for OCI runtime kata: invalid argument"
2023-10-20 11:40:16 GMT+11	info	time="2023-10-20T11:40:16+11:00" level=info msg="Setting parallel job count to 13"
2023-10-20 11:40:40 GMT+11	info	Error: layer not found in layer tree: "d0b01c211e81aa69596b4c17aed5af3db1b29ea806913cc07d4d9c0ce51b346e"
2023-10-20 11:40:40 GMT+11	info	Error: no arguments are needed with --latest or --cidfile
2023-10-20 11:40:49 GMT+11	info	WARN: Config override! Config file "/home/oh-la/data/z2m/oll-z2m.conf" present and containing more than comments, possibly overriding defaults. Remove the file to disable overrides.
2023-10-20 11:40:49 GMT+11	info	---- CONFIG OVERRIDES START ----
2023-10-20 11:40:49 GMT+11	info	CONTAINER_REPO="koenkk/zigbee2mqtt:latest"
2023-10-20 11:40:49 GMT+11	info	----- CONFIG OVERRIDES END -----
2023-10-20 11:40:49 GMT+11	info	INFO: Running command: prepare
2023-10-20 11:40:49 GMT+11	info	INFO: Executing the first part of prepare as root
2023-10-20 11:40:49 GMT+11	info	INFO: Retrieving/updating the device images
2023-10-20 11:40:49 GMT+11	info	INFO: Skipped image updates since last update was less than 24 hours ago...
2023-10-20 11:40:49 GMT+11	info	INFO: Set permissions
2023-10-20 11:40:51 GMT+11	info	INFO: Done!
2023-10-20 11:40:51 GMT+11	info	INFO: We are root, becoming the oh-la user instead...
2023-10-20 11:40:51 GMT+11	info	INFO: Running "oll-z2m --prepare" as user oh-la
2023-10-20 11:40:51 GMT+11	info	(to oh-la) root on none
2023-10-20 11:40:51 GMT+11	info	pam_unix(su-l:session): session opened for user oh-la(uid=2000) by (uid=0)
2023-10-20 11:40:51 GMT+11	info	WARN: Config override! Config file "/home/oh-la/data/z2m/oll-z2m.conf" present and containing more than comments, possibly overriding defaults. Remove the file to disable overrides.
2023-10-20 11:40:51 GMT+11	info	---- CONFIG OVERRIDES START ----
2023-10-20 11:40:51 GMT+11	info	CONTAINER_REPO="koenkk/zigbee2mqtt:latest"
2023-10-20 11:40:51 GMT+11	info	----- CONFIG OVERRIDES END -----
2023-10-20 11:40:51 GMT+11	info	INFO: Running command: prepare
2023-10-20 11:40:51 GMT+11	info	INFO: Running as required user oh-la
2023-10-20 11:40:51 GMT+11	info	INFO: Finalizing preparing for the Zigbee2MQTT container as the podman user...
2023-10-20 11:41:28 GMT+11	info	WARN: Config override! Config file "/home/oh-la/data/z2m/oll-z2m.conf" present and containing more than comments, possibly overriding defaults. Remove the file to disable overrides.
2023-10-20 11:41:28 GMT+11	info	---- CONFIG OVERRIDES START ----
2023-10-20 11:41:28 GMT+11	info	CONTAINER_REPO="koenkk/zigbee2mqtt:latest"
2023-10-20 11:41:28 GMT+11	info	----- CONFIG OVERRIDES END -----
2023-10-20 11:41:28 GMT+11	info	INFO: Running command: defaults
2023-10-20 11:41:28 GMT+11	info	INFO: Running as required user oh-la
2023-10-20 11:41:28 GMT+11	info	INFO: Ensuring the ~/.systemd folder exists
2023-10-20 11:41:28 GMT+11	info	Settings already present in "/home/oh-la/data/z2m/configuration.yaml" for the Zigbee2MQTT container... No changes made!
2023-10-20 11:41:28 GMT+11	info	WARN: Config override! Config file "/home/oh-la/data/z2m/oll-z2m.conf" present and containing more than comments, possibly overriding defaults. Remove the file to disable overrides.
2023-10-20 11:41:28 GMT+11	info	---- CONFIG OVERRIDES START ----
2023-10-20 11:41:28 GMT+11	info	CONTAINER_REPO="koenkk/zigbee2mqtt:latest"
2023-10-20 11:41:28 GMT+11	info	----- CONFIG OVERRIDES END -----
2023-10-20 11:41:28 GMT+11	info	INFO: Running command: backup
2023-10-20 11:41:28 GMT+11	info	INFO: Running as required user oh-la
2023-10-20 11:41:28 GMT+11	info	INFO: Creating backup of essential Z2M files in /home/oh-la/data/z2m_backup...
2023-10-20 11:41:28 GMT+11	info	INFO: Creating backup of "configuration.yaml" in "/home/oh-la/data/z2m_backup".
2023-10-20 11:41:28 GMT+11	info	INFO: File "configuration.yaml" exist and is NOT empty!
2023-10-20 11:41:28 GMT+11	info	INFO: The latest backup is already up-to-date.
2023-10-20 11:41:28 GMT+11	info	INFO: Creating backup of "coordinator_backup.json" in "/home/oh-la/data/z2m_backup".
2023-10-20 11:41:28 GMT+11	info	INFO: File "coordinator_backup.json" exist and is NOT empty!
2023-10-20 11:41:29 GMT+11	info	INFO: The latest backup is already up-to-date.
2023-10-20 11:41:29 GMT+11	info	INFO: Creating backup of "database.db" in "/home/oh-la/data/z2m_backup".
2023-10-20 11:41:29 GMT+11	info	INFO: File "database.db" exist and is NOT empty!
2023-10-20 11:41:29 GMT+11	info	INFO: The latest backup is already up-to-date.
2023-10-20 11:41:29 GMT+11	info	INFO: Done!
2023-10-20 11:41:29 GMT+11	info	WARN: Config override! Config file "/home/oh-la/data/z2m/oll-z2m.conf" present and containing more than comments, possibly overriding defaults. Remove the file to disable overrides.
2023-10-20 11:41:29 GMT+11	info	---- CONFIG OVERRIDES START ----
2023-10-20 11:41:29 GMT+11	info	CONTAINER_REPO="koenkk/zigbee2mqtt:latest"
2023-10-20 11:41:29 GMT+11	info	----- CONFIG OVERRIDES END -----
2023-10-20 11:41:29 GMT+11	info	INFO: Running command: run
2023-10-20 11:41:29 GMT+11	info	INFO: Running as required user oh-la
2023-10-20 11:41:34 GMT+11	info	INFO: Running the Zigbee2MQTT container... Should ONLY be run through a systemd service!
2023-10-20 11:41:34 GMT+11	info	INFO: Exporting all serial devices to the container
2023-10-20 11:41:34 GMT+11	info	Mapped known serial device: /dev/serial/by-type/z-wave
2023-10-20 11:41:34 GMT+11	info	Mapped known serial device: /dev/serial/by-type/zigbee
2023-10-20 11:41:34 GMT+11	info	INFO: Mapping ports: 127.0.0.1:8080:8080
2023-10-20 11:41:34 GMT+11	info	INFO: Mapping folders: /home/oh-la/data/z2m:/app/data
2023-10-20 11:41:34 GMT+11	info	INFO: Mapping folders: /etc/ssl/certs:/etc/ssl/certs:ro
2023-10-20 11:41:34 GMT+11	info	INFO: Mapping folders: /usr/local/share/ca-certificates:/usr/local/share/ca-certificates:ro
2023-10-20 11:41:34 GMT+11	info	INFO: Mapping enviroment var: NODE_EXTRA_CA_CERTS=/etc/ssl/certs/ca-certificates.crt
2023-10-20 11:41:34 GMT+11	info	time="2023-10-20T11:41:34+11:00" level=info msg="/usr/bin/podman filtering at log level info"
2023-10-20 11:41:34 GMT+11	info	time="2023-10-20T11:41:34+11:00" level=info msg="Error initializing configured OCI runtime runc: no valid executable found for OCI runtime runc: invalid argument"
2023-10-20 11:41:35 GMT+11	info	time="2023-10-20T11:41:34+11:00" level=info msg="Error initializing configured OCI runtime kata: no valid executable found for OCI runtime kata: invalid argument"
2023-10-20 11:41:35 GMT+11	info	time="2023-10-20T11:41:34+11:00" level=info msg="Setting parallel job count to 13"
2023-10-20 11:41:35 GMT+11	info	time="2023-10-20T11:41:35+11:00" level=info msg="/usr/bin/podman filtering at log level info"
2023-10-20 11:41:35 GMT+11	info	time="2023-10-20T11:41:35+11:00" level=info msg="Error initializing configured OCI runtime runc: no valid executable found for OCI runtime runc: invalid argument"
2023-10-20 11:41:35 GMT+11	info	time="2023-10-20T11:41:35+11:00" level=info msg="Error initializing configured OCI runtime kata: no valid executable found for OCI runtime kata: invalid argument"
2023-10-20 11:41:35 GMT+11	info	time="2023-10-20T11:41:35+11:00" level=info msg="Setting parallel job count to 13"
2023-10-20 11:41:35 GMT+11	info	Resolving "koenkk/zigbee2mqtt" using unqualified-search registries (/etc/containers/registries.conf)
2023-10-20 11:41:35 GMT+11	info	Trying to pull docker.io/koenkk/zigbee2mqtt:latest...
2023-10-20 11:41:39 GMT+11	info	Getting image source signatures
2023-10-20 11:41:57 GMT+11	info	Copying blob sha256:6eaa2b68e42481c3405649aac64973ace766677cddb0d602615b59bfec703eab
2023-10-20 11:41:57 GMT+11	info	Copying blob sha256:66ca0f062d8a8f6d7b45df17d6e5915f993e2fe24b16b419cbe2401e4885767a
2023-10-20 11:42:17 GMT+11	info	Copying blob sha256:0361335fb39cf91d7c0935b80385a509dd0376fc00c41ce4936a06093f1ea266
2023-10-20 11:42:20 GMT+11	info	Copying blob sha256:83fc99af3c71c56e17929584a3365c8020680d314fa81de084c034025eda81f1
2023-10-20 11:42:27 GMT+11	info	Copying blob sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329
2023-10-20 11:42:28 GMT+11	info	Copying blob sha256:8a2df5248edcd58bcf4385f02e080a81b7a6c9bb489d42b7543d49a9504830e8
2023-10-20 11:42:37 GMT+11	info	Copying blob sha256:ca04fe8b25e64c71e7a9e370d8264491f44a5fe52c2165b8c1ad9bb0c76d6090
2023-10-20 11:42:49 GMT+11	info	Copying blob sha256:13d320790ed0ba2be924f6e4da83855f79bd791a395b7967da861f54e5b7d7e9
2023-10-20 11:42:49 GMT+11	info	Copying blob sha256:913161b757bb3f5ee8b61955928f2d6235219478f2f7186a4f5a3daa0d7b67b6
2023-10-20 11:42:49 GMT+11	info	Copying blob sha256:025331feb6a894693d71428173211189da6b51ab5cb036be941b4629d41f6f1a
2023-10-20 11:42:49 GMT+11	info	Copying config sha256:e04b78c4d43248df1b9fc50de1c3fd21a35539d2b0e2f20488ab2555d9aa9b23
2023-10-20 11:42:50 GMT+11	info	Writing manifest to image destination
2023-10-20 11:42:50 GMT+11	info	Storing signatures
2023-10-20 11:43:36 GMT+11	info	2023-10-20 11:43:36.155645993 +1100 AEDT m=+121.244083869 image pull

Grafana and zwave came back up, but not z2m. Weird.
Frustrating.

do you only run z2m? or do you have zwave too?

Both. I run them both.

And your zwave is running fine?

Mike, I’ve seen this error, but I know not how to fix it. (combed your logs). Markus will be around in about an hour and a half . I’ve already messaged him to take a look. I’ll make sure that he gets you a fix.

1 Like

Thanks, just got home now. Still not working.

Zwave running fine.

I got it working. It was a corrupt configuration.yaml file. Restored from backup. Dunno what happened.

3 Likes

More for future reference, do you have any steps you followed to do the restore (including any I have been too lazy to lookup in the OLL doco :slight_smile: )?

Not really. I just copied the configuration.yaml file from backup, and pasted it (from clipboard) into the original. I copy the important directories and keep them elsewhere.

2 Likes

That’s how it works. You can pull any file doing this. I documented this.
Restore A File From Backup

2 Likes

This topic was automatically closed after 180 days. New replies are no longer allowed.