Hmmm…
Ostatnio po każdym ponownym uruchomieniu, bramka nie chce “wrócić”.
Dopiero odcięcie zasilania lub pm2 restart ais przywraca dostęp przez przeglądarkę (tunnel i local).
Mam stabilną wersje 0.116.6.
Ostatnio co zmieniałem to tylko zapis do bazy Marian.db.
HACS już jakiś czas temu wywaliłem.
Pm2 status pokazuje, że wszystko jest OK ale mimo tego bramka nie działa przez przeglądarkę. FTP i SSH działa bez problemu
pm2 logs
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/data/data/pl.sviete.dom/files/home/.pm2/pm2.log last 15 lines:
PM2 | [2020-11-12 13:41:50] PM2 log: App name:mqtt id:2 online
PM2 | [2020-11-12 13:41:50] PM2 log: Starting execution sequence in -fork mode- for app name:ais id:3
PM2 | [2020-11-12 13:41:50] PM2 log: App name:ais id:3 online
PM2 | [2020-11-12 13:41:50] PM2 log: Starting execution sequence in -fork mode- for app name:zigbee id:4
PM2 | [2020-11-12 13:41:50] PM2 log: App name:zigbee id:4 online
PM2 | [2020-11-12 13:43:59] PM2 log: Stopping app:zigbee id:4
PM2 | [2020-11-12 13:43:59] PM2 log: pid=5577 msg=failed to kill - retrying in 100ms
PM2 | [2020-11-12 13:43:59] PM2 log: pid=5577 msg=failed to kill - retrying in 100ms
PM2 | [2020-11-12 13:43:59] PM2 log: pid=5577 msg=failed to kill - retrying in 100ms
PM2 | [2020-11-12 13:43:59] PM2 log: App [zigbee] with id [4] and pid [5577], exited with code [0] via signal [SIGINT]
PM2 | [2020-11-12 13:43:59] PM2 log: pid=5577 msg=process killed
PM2 | [2020-11-12 13:44:23] PM2 log: Starting execution sequence in -fork mode- for app name:tunnel id:5
PM2 | [2020-11-12 13:44:23] PM2 log: App name:tunnel id:5 online
PM2 | [2020-11-12 13:44:37] PM2 log: Starting execution sequence in -fork mode- for app name:zigbee id:6
PM2 | [2020-11-12 13:44:37] PM2 log: App name:zigbee id:6 online
pm2 logs ais
[TAILING] Tailing last 15 lines for [ais] process (change the value with --lines option)
3|ais | Login to Audi service failed, trying again in 10 seconds
3|ais | Update for media_player.philips_nowy fails
3|ais | Traceback (most recent call last):
3|ais | File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 278, in async_update_ha_state
3|ais | await self.async_device_update()
3|ais | File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 471, in async_device_update
3|ais | await self.hass.async_add_executor_job(self.update) # type: ignore
3|ais | File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/homeassistant/core.py", line 350, in async_add_executor_job
3|ais | task = self.loop.run_in_executor(None, target, *args)
3|ais | File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/asyncio/base_events.py", line 747, in run_in_executor
3|ais | executor.submit(func, *args), loop=self)
3|ais | File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/concurrent/futures/thread.py", line 163, in submit
3|ais | raise RuntimeError('cannot schedule new futures after shutdown')
3|ais | RuntimeError: cannot schedule new futures after shutdown
pm2 logs tunnel
[TAILING] Tailing last 15 lines for [tunnel] process (change the value with --lines option)
[PM2][ERROR] No file to stream for app [tunnel], exiting.
pm2 logs zigbee
[TAILING] Tailing last 15 lines for [zigbee] process (change the value with --lines option)
[PM2][ERROR] No file to stream for app [zigbee], exiting.