pssc / ha-addon-lms

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

Same issue as #8 with 502: Bad gateway #9

Closed pezlin closed 2 years ago

pezlin commented 2 years ago

I have just installed the add-on on a PC running Home Assistant OS (Generic x86/64 version). I have the exact same issue as in issue #8. The same information is in the log as well.

pezlin commented 2 years ago

Seems to be working after trying the commands in the comments in issue #6.

pssc commented 2 years ago

@pezlin what version where you running?

pezlin commented 2 years ago

I'm running 0.0.50. The problem occurred when I restored a HA backup from a system running Home Assistant OS on a RPi onto Home Assistant OS running on a PC. I had to uninstall LMS add-on because it wouldn't start at all and re-install it but perhaps there were some files remaining from the old installation.

pssc commented 2 years ago

Yes you would need to convert the sql databases to native format and delete the string caches I suspect there would have been debris in /config/lms/cache that actually where most the working files and db's are, though I am a little suspired the permissions where toasted

On Fri, 14 Jan 2022 at 09:58, pezlin @.***> wrote:

I'm running 0.0.50. The problem occurred when I restored a HA backup from a system running Home Assistant OS on a RPi onto Home Assistant OS running on a PC. I had to uninstall LMS add-on because it wouldn't start at all and re-install it but perhaps there were some files remaining from the old installation.

— Reply to this email directly, view it on GitHub https://github.com/pssc/ha-addon-lms/issues/9#issuecomment-1012972056, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANORYNOC73VQJ44BR4NEMTUV7XWDANCNFSM5L3TKISQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you modified the open/close state.Message ID: @.***>

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

pezlin commented 2 years ago

Yes, that was what I thought as well. But now it is working so everything is good.

pssc commented 2 years ago

Fixed in https://github.com/pssc/ha-addon-lms/commit/b365889c610a7a5d0a980b4cf75554fb5f281a79