pssc / ha-addon-lms

Logitech Media Server Addon for Home Assistant
GNU General Public License v3.0
55 stars 13 forks source link

ha-addon-lms does not start #67

Closed DAONEW closed 6 months ago

DAONEW commented 6 months ago

Thanks for the great addon! Super convenient and worked like a charm before.

The addon simply does not start. I tried set_permissions, resetting defaults, restarting at every step.

The issue appeared after the last updates I did. Version 8.3.1.59 on rpi 4 (Core 2024.1.5 Supervisor 2023.12.1 Operating System 11.4 Frontend 20240104.0)

I don't find much in the logs: host_2024-01-24T13-05-40.605Z.log fc57b866_lms_2024-01-24T13-05-32.099Z.log supervisor_2024-01-24T13-05-25.756Z.log home-assistant_2024-01-24T13-05-16.387Z.log

LMS log lms init pid 1 args s6init next /init: line 9: /s6init: Success

Core log

Logger: pysqueezebox.server
Source: components/squeezebox/media_player.py:166
First occurred: 12:27:06 PM (69 occurrences)
Last logged: 1:46:26 PM

Failed communicating with LMS: <class 'TimeoutError'>

Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:138
Integration: Home Assistant Supervisor ([documentation](https://www.home-assistant.io/integrations/hassio), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+hassio%22))
First occurred: 1:53:58 PM (2 occurrences)
Last logged: 1:54:02 PM

Failed to to call /addons/fc57b866_lms/stats - Container addon_fc57b866_lms is not running

supervisor log 24-01-24 13:53:38 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_fc57b866_lms application 24-01-24 13:53:50 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/pssc/ha-addon-lms-aarch64 with version 8.3.1.59 24-01-24 13:53:50 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.32.1:65358 ssl:default [Connect call failed ('172.30.32.1', 65358)] 24-01-24 13:53:58 ERROR (SyncWorker_3) [supervisor.docker.manager] Container addon_fc57b866_lms is not running 24-01-24 13:53:58 ERROR (MainThread) [asyncio] Task exception was never retrieved future: <Task finished name='Task-11804' coro=<Addon.watchdog_container() done, defined at /usr/src/supervisor/supervisor/addons/addon.py:1346> exception=AddonsJobError('Rate limit exceeded, more than 10 calls in 0:30:00')> Traceback (most recent call last): File "/usr/src/supervisor/supervisor/addons/addon.py", line 1360, in watchdog_container await self._restart_after_problem(event.state) File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 276, in wrapper raise on_condition( supervisor.exceptions.AddonsJobError: Rate limit exceeded, more than 10 calls in 0:30:00 24-01-24 13:54:02 ERROR (SyncWorker_7) [supervisor.docker.manager] Container addon_fc57b866_lms is not running

pssc commented 6 months ago

As I have had no other exports and did a fare amount of testing its probably a local issue. What architecture are you running on the Pi4? and what OS?

Is That it for the log in the LMS addon section having refreshed? From that it looks like the container isn't starting properly at all, corrupt container image?, are you using a SD Card? Might be worth uninstalling and reinstalling the addon your config in /config/lms will be untouched.

Not really a lot to go on.

Phill.

On Wed, 24 Jan 2024 at 13:05, DAONEW @.***> wrote:

Thanks for the great addon! Super convenient and worked like a charm before.

The addon simply does not start. I tried set_permissions, resetting defaults, restarting at every step.

The issue appeared after the last updates I did. Version 8.3.1.59 on rpi 4 (Core 2024.1.5 Supervisor 2023.12.1 Operating System 11.4 Frontend 20240104.0)

I don't find much in the logs:

LMS log lms init pid 1 args s6init next /init: line 9: /s6init: Success

Core log `Logger: pysqueezebox.server Source: components/squeezebox/media_player.py:166 First occurred: 12:27:06 PM (69 occurrences) Last logged: 1:46:26 PM

Failed communicating with LMS: <class 'TimeoutError'>

Logger: homeassistant.components.hassio Source: components/hassio/websocket_api.py:138 Integration: Home Assistant Supervisor (documentation https://www.home-assistant.io/integrations/hassio, issues https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+hassio%22 ) First occurred: 1:53:58 PM (2 occurrences) Last logged: 1:54:02 PM

Failed to to call /addons/fc57b866_lms/stats - Container addon_fc57b866_lms is not running`

supervisor log 24-01-24 13:53:38 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_fc57b866_lms application 24-01-24 13:53:50 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/pssc/ha-addon-lms-aarch64 with version 8.3.1.59 24-01-24 13:53:50 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.32.1:65358 ssl:default [Connect call failed ('172.30.32.1', 65358)] 24-01-24 13:53:58 ERROR (SyncWorker_3) [supervisor.docker.manager] Container addon_fc57b866_lms is not running 24-01-24 13:53:58 ERROR (MainThread) [asyncio] Task exception was never retrieved future: <Task finished name='Task-11804' coro=<Addon.watchdog_container() done, defined at /usr/src/supervisor/supervisor/addons/addon.py:1346> exception=AddonsJobError('Rate limit exceeded, more than 10 calls in 0:30:00')> Traceback (most recent call last): File "/usr/src/supervisor/supervisor/addons/addon.py", line 1360, in watchdog_container await self._restart_after_problem(event.state) File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 276, in wrapper raise on_condition( supervisor.exceptions.AddonsJobError: Rate limit exceeded, more than 10 calls in 0:30:00 24-01-24 13:54:02 ERROR (SyncWorker_7) [supervisor.docker.manager] Container addon_fc57b866_lms is not running

— Reply to this email directly, view it on GitHub https://github.com/pssc/ha-addon-lms/issues/67, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANORYNDF62B5RZCLO6ORALYQEBIRAVCNFSM6AAAAABCIXHFSWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4TQMRSG4ZDOMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- I Can Resist Everything Except Temptation -- Oscar Wilde

DAONEW commented 6 months ago

Thanks for the quick reply.

Yea, the container isn't starting at all.

Maybe the issue was some corruption after a backup I didn't notice.

Will backup even to when it worked and see from there.

pssc commented 6 months ago

Hmmm Pi's and iffy SDcards have knobbled lots of systems, uninstall and reinstalling the addon should force the container image to be refreshed at least. The back doesn't contain the image that's pulled form the internet.

On Wed, 24 Jan 2024 at 14:06, DAONEW @.***> wrote:

Thanks for the quick reply.

Yea, the container isn't starting at all.

Maybe the issue was some corruption after a backup I didn't notice.

Will backup even to when it worked and see from there.

— Reply to this email directly, view it on GitHub https://github.com/pssc/ha-addon-lms/issues/67#issuecomment-1908191495, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANORYK57RCAEASVUPDNCALYQEIO7AVCNFSM6AAAAABCIXHFSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBYGE4TCNBZGU . You are receiving this because you commented.Message ID: @.***>

-- I Can Resist Everything Except Temptation -- Oscar Wilde

DAONEW commented 6 months ago

Thanks, @pssc. It works again. I had to de-re-re-de-re-de install back and forth as it failed time after time. But in the end it did install successful and now loads. All of these issues might really hint at a storage issue. I finally should tackle switching to an ssd.