Given: PI4, HAOS, Z2M, Mosquito, RTL_433/auto discovery.
At this moment, after backup (read below):
Home Assistant 2023.2.5
Supervisor 2023.08.3
Operating System 9.5
Frontend 20230202.0 - latest
Everything was working fine… was… Well until I accidentally bought Thermopro TX-2C 866Mhz and discovered that it requires protocol 245 from RTL_433. Well, I added that protocol but add-on did not start, throwing errors all the time.
After some reading around it was mentioned that to enable all protocols - not just before protocol 223 - one needs to install rtl_433 (next). Well, I did and that was the error. While it could start without throwing error, it was not registering with Mosquito 6.2.0. Upgraded Mosquito and nothing changed.
Well, I decided to roll back to a backup from 2 weeks ago, and seems this was the second error. Nothing changed either.
I decided to roll back to the full backup I had from 7 months ago
PI4_HA_9_5_Supervisor_2023_01_1_Home_Assistant_2023_2_5
That’s 1.5GB. I was expecting that the backup will completely wipe the SD card and restore the system as it was 7 months ago. To my surprise, after 6 hours (!) and reboot I see the same OS and supervisor versions.
I manually downgraded OS to 9.5 and mosquito (now on version 6.1.3 again) started working but everything esle is broken - all Z2M devices are offline and rtl_433 (next) and rtl_433_auto_discovery (next) not working.
rtl_433 (next) has the following log output - nothing after that, like listening to the frequency 433Mhz or any other frequency.
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[17:58:27] WARNING: rtl_433 now supports automatic configuration and multiple radios. The rtl_433_conf_file option is deprecated. See the documentation for migration instructions.
Starting rtl_433 -c /config/rtl_433_conf.1
rtl_433 version nightly-3-g70d84d01 branch master at 202308211241 inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
MQTT: Publishing MQTT data to 192.168.20.200 port 1883
MQTT: Publishing events info to MQTT topic "rtl_433/9b13b3f4-rtl433/events".
MQTT: Publishing states info to MQTT topic "rtl_433/9b13b3f4-rtl433/states".
New defaults active, use "-Y classic -s 250k" if you need the old defaults
newmodel option (-M) is deprecated.
Use "-F log" if you want any messages, warnings, and errors in the console.
Detached kernel driver
Found Rafael Micro R820T tuner
Exact sample rate is: 1000000.026491 Hz
[R82XX] PLL not locked!
Allocating 15 zero-copy buffers
There is following entires in the supervisor log:
23-09-06 23:08:04 INFO (SyncWorker_0) [supervisor.docker.manager] Stopping addon_core_mosquitto application
23-09-06 23:08:06 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missing application response from core_mosquitto
23-09-06 23:08:10 INFO (SyncWorker_0) [supervisor.docker.manager] Cleaning addon_core_mosquitto application
23-09-06 23:08:12 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-mosquitto with version 6.1.2
23-09-06 23:08:13 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
23-09-06 23:08:17 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqtt'
23-09-06 23:08:18 INFO (MainThread) [supervisor.auth] Successful login for 'mqtt'
23-09-06 23:08:18 ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto
23-09-06 23:22:41 INFO (MainThread) [supervisor.jobs] 'MountManager.reload' blocked from execution, mounting not supported on system
And Mosquitto log itself:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] mosquitto.sh: executing...
[23:08:15] INFO: SSL is not enabled
[cont-init.d] mosquitto.sh: exited 0.
[cont-init.d] nginx.sh: executing...
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[23:08:16] INFO: Starting NGINX for authentication handling...
[23:08:16] INFO: Starting mosquitto MQTT broker...
1694066896: Warning: Mosquitto should not be run as root/administrator.
[23:08:18] INFO: Successfully send discovery information to Home Assistant.
[23:08:19] INFO: Successfully send service information to the Supervisor.
Anyway… my one question here would be - how do I roll back to that 7 month old working state and have that working HA again?
What is the EXACT procedure? Because ‘wipe out and restore from backup’ from GUI does not do sh$t.
Or do I need to start building everything from scratch?