Closed meijer3 closed 1 year ago
I checked portainer. It has no IP nor Ports open
Bit more logging:
[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] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: Logitech Media Server
Logitech Media Server, SqueezeBox Server & UPNP Media Server
-----------------------------------------------------------
Add-on version: 0.0.53
You are running the latest version of this add-on.
System: Home Assistant OS 10.4 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2023.8.2
Home Assistant Supervisor: 2023.08.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-timezone.sh: executing...
Setting the timezone to : Europe/Amsterdam
Current default time zone: 'Europe/Amsterdam'
Local time is now: Mon Aug 14 08:20:03 CEST 2023.
Universal Time is now: Mon Aug 14 06:20:03 UTC 2023.
Date: Mon Aug 14 08:20:04 CEST 2023
[cont-init.d] 02-timezone.sh: exited 0.
[cont-init.d] 05-ha-options-json.sh: executing...
[cont-init.d] 05-ha-options-json.sh: exited 0.
[cont-init.d] 07-ha-addon_name.sh: executing...
[cont-init.d] 07-ha-addon_name.sh: exited 0.
[cont-init.d] 09-ha-config-to-env.sh: executing...
[08:20:05] INFO: Option MOUNT to MOUNT=null
[08:20:05] INFO: Option TMPFS to TMPFS=null
[08:20:06] INFO: Option OPTIONS to LMS_OPTIONS=null
[08:20:06] INFO: Option LOGFILE to LMS_LOGFILE=null
[08:20:07] INFO: Option LOGDIR to LMS_LOGDIR=null
[08:20:07] INFO: Option NX to LMS_NX=null
[08:20:07] INFO: Option set_permissions to LMS_set_permissions=null
[08:20:08] INFO: Option autoupdate_notify to LMS_autoupdate_notify=null
[cont-init.d] 09-ha-config-to-env.sh: exited 0.
[cont-init.d] 11-ha-dirs.sh: executing...
[cont-init.d] 11-ha-dirs.sh: exited 0.
[cont-init.d] 15-ha-mounts.sh: executing...
[cont-init.d] 15-ha-mounts.sh: exited 0.
[cont-init.d] 17-ha-links.sh: executing...
[cont-init.d] 17-ha-links.sh: exited 0.
[cont-init.d] 17-packages.sh: executing...
[cont-init.d] 17-packages.sh: exited 0.
[cont-init.d] 21-pulse.sh: executing...
[08:20:10] INFO: Fix pulse perms
[cont-init.d] 21-pulse.sh: exited 0.
[cont-init.d] 90-lms_paths_perms.sh: executing...
[cont-init.d] 90-lms_paths_perms.sh: exited 0.
[cont-init.d] 95-nxgix.sh: executing...
[cont-init.d] 95-nxgix.sh: exited 0.
[cont-init.d] 95-scripts.sh: executing...
[cont-init.d] 95-scripts.sh: exited 0.
[cont-init.d] 99-print-env.sh: executing...
[cont-init.d] 99-print-env.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
Start Logitech Media Server...
[services.d] done.
[[08:20:15] INFO: Waiting for lms before starting NGinx...
[23-08-14 08:20:20.7432] main::init (377) Starting Logitech Media Server (v8.3.0, 1667251155, Fri 04 Nov 2022 09:16:39 AM CET) perl 5.032001 - aarch64-linux-gnu-thread-multi
[23-08-14 08:20:23.9877] Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (587) Fulltext index missing or outdated - re-building
[23-08-14 08:20:23.9889] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (475) Starting fulltext index build
[23-08-14 08:20:23.9900] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (483) Initialize fulltext table
[23-08-14 08:20:24.0004] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (496) Create fulltext index for tracks
[23-08-14 08:20:24.0034] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (506) Create fulltext index for albums
[23-08-14 08:20:24.0056] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (515) Create fulltext index for contributors
[23-08-14 08:20:24.0098] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (525) Create fulltext index for playlists
[23-08-14 08:20:24.0256] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (540) Optimize fulltext index
[23-08-14 08:20:24.0309] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (555) Fulltext index build done!
[23-08-14 08:20:24.4514] main::checkDataSource (1107) Warning: Schema updated or no media found in the database, initiating scan.
[23-08-14 08:20:27.6254] main::main (202) Starting Logitech Media Server scanner (v8.3.0, 1667251155, Fri 04 Nov 2022 09:16:39 AM CET) perl 5.032001
[23-08-14 08:20:29.9902] Slim::Music::Import::runImporter (579) Starting Slim::Media::MediaFolderScan scan
[23-08-14 08:20:29.9916] Slim::Utils::Scanner::Local::rescan (179) Discovering audio files in /media
[23-08-14 08:20:30.0578] Slim::Utils::Scanner::Local::__ANON__ (191) Start processing found tracks
[23-08-14 08:20:30.0586] Slim::Utils::Scanner::Local::__ANON__ (199) Connect do DB
[23-08-14 08:20:30.0615] Slim::Utils::Scanner::Local::__ANON__ (202) Get latest ID
[23-08-14 08:20:30.0631] Slim::Utils::Scanner::Local::__ANON__ (225) Build temporary table for new tracks
[23-08-14 08:20:30.0656] Slim::Utils::Scanner::Local::__ANON__ (245) Build temporary table for changed tracks
[23-08-14 08:20:30.0692] Slim::Utils::Scanner::Local::__ANON__ (282) Get deleted tracks count
[23-08-14 08:20:30.0702] Slim::Utils::Scanner::Local::__ANON__ (289) Get new tracks count
[23-08-14 08:20:30.0717] Slim::Utils::Scanner::Local::__ANON__ (294) Get changed tracks count
[23-08-14 08:20:30.0727] Slim::Utils::Scanner::Local::deleteTracks (370) Removing deleted audio files (0)
[23-08-14 08:20:30.0736] Slim::Utils::Scanner::Local::updateTracks (537) Rescanning changed audio files (0)
[23-08-14 08:20:30.0745] Slim::Utils::Scanner::Local::addTracks (453) Scanning new audio files (0)
[23-08-14 08:20:30.0760] Slim::Music::Import::endImporter (712) Completed Slim::Media::MediaFolderScan Scan in 0.086 seconds.
[23-08-14 08:20:30.0869] Slim::Music::Import::runImporter (579) Starting Slim::Plugin::WiMP::Importer scan
[23-08-14 08:20:30.4220] Slim::Music::Import::endImporter (712) Completed Slim::Plugin::WiMP::Importer Scan in 0.337 seconds.
[23-08-14 08:20:30.4241] Slim::Music::Import::runImporter (579) Starting Slim::Plugin::FullTextSearch::Plugin scan
[23-08-14 08:20:30.4267] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (475) Starting fulltext index build
[23-08-14 08:20:30.4276] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (483) Initialize fulltext table
[23-08-14 08:20:30.4321] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (496) Create fulltext index for tracks
[23-08-14 08:20:30.4529] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (506) Create fulltext index for albums
[23-08-14 08:20:30.4558] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (515) Create fulltext index for contributors
[23-08-14 08:20:30.4582] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (525) Create fulltext index for playlists
[23-08-14 08:20:30.4695] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (540) Optimize fulltext index
[23-08-14 08:20:30.4917] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (555) Fulltext index build done!
[23-08-14 08:20:30.4929] Slim::Music::Import::endImporter (712) Completed Slim::Plugin::FullTextSearch::Plugin Scan in 0.069 seconds.
[23-08-14 08:20:30.4946] Slim::Music::Import::runImporter (579) Starting Slim::Plugin::ExtendedBrowseModes::Libraries scan
[23-08-14 08:20:30.4955] Slim::Music::Import::endImporter (712) Completed Slim::Plugin::ExtendedBrowseModes::Libraries Scan in 0.001 seconds.
[23-08-14 08:20:30.4970] Slim::Music::Import::runImporter (579) Starting Slim::Plugin::OnlineLibrary::Importer::VirtualLibrariesCleanup scan
[23-08-14 08:20:30.5003] Slim::Music::Import::endImporter (712) Completed Slim::Plugin::OnlineLibrary::Importer::VirtualLibrariesCleanup Scan in 0.003 seconds.
[23-08-14 08:20:30.5058] Slim::Music::Artwork::precacheAllArtwork (657) Starting precacheArtwork for 0 albums
[23-08-14 08:20:30.5071] Slim::Music::Import::endImporter (712) Completed precacheArtwork Scan in 0.004 seconds.
[23-08-14 08:20:30.5091] Slim::Music::Import::runScanPostProcessing (481) Starting Database optimization.
[23-08-14 08:20:30.6641] Slim::Music::Import::endImporter (712) Completed dbOptimize Scan in 0.154 seconds.
[08:35:15] INFO: Starting NGinx...
[08:35:15] INFO: Services up or timeout
[08:35:15] INFO: Event lms.service
{"message":"Event lms.service fired."}
[08:35:15] INFO: Starting the Home Assistant STDIN service for lms...
{"entity_id":"binary_sensor.entity_state_cli_test","state":"on","attributes":{},"last_changed":"2023-08-12T04:55:10.345963+00:00","last_updated":"2023-08-12T04:55:10.345963+00:00","context":{"id":"01H7M1JA89VJXZCR1J9D5WCXXJ","parent_id":null,"user_id":"ec0ec353cac54634ba8e7e37b662158b"}}
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "Can't connect to 127...") at /usr/share/perl5/JSON/RPC/Legacy/Client.pm line 180.
{"entity_id":"sensor.lms_players","state":"count","attributes":{},"last_changed":"2023-08-12T04:55:13.363732+00:00","last_updated":"2023-08-12T04:55:13.363732+00:00","context":{"id":"01H7M1JD6K6QMNA0Y50FCQZAR4","parent_id":null,"user_id":"ec0ec353cac54634ba8e7e37b662158b"}}
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "Can't connect to 127...") at /usr/share/perl5/JSON/RPC/Legacy/Client.pm line 180.
{"entity_id":"sensor.lms_albums","state":"count","attributes":{},"last_changed":"2023-08-12T04:55:16.014106+00:00","last_updated":"2023-08-12T04:55:16.014106+00:00","context":{"id":"01H7M1JFSDX87HFZKWWTHBFZE8","parent_id":null,"user_id":"ec0ec353cac54634ba8e7e37b662158b"}}
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "Can't connect to 127...") at /usr/share/perl5/JSON/RPC/Legacy/Client.pm line 180.
{"entity_id":"sensor.lms_songs","state":"count","attributes":{},"last_changed":"2023-08-12T04:55:18.040958+00:00","last_updated":"2023-08-12T04:55:18.040958+00:00","context":{"id":"01H7M1JHRR7VJ1P75RTXFPVJYZ","parent_id":null,"user_id":"ec0ec353cac54634ba8e7e37b662158b"}}
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "Can't connect to 127...") at /usr/share/perl5/JSON/RPC/Legacy/Client.pm line 180.
{"entity_id":"sensor.lms_genres","state":"count","attributes":{},"last_changed":"2023-08-12T04:55:20.250879+00:00","last_updated":"2023-08-12T04:55:20.250879+00:00","context":{"id":"01H7M1JKXT915YBW18NB940RAC","parent_id":null,"user_id":"ec0ec353cac54634ba8e7e37b662158b"}}
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "Can't connect to 127...") at /usr/share/perl5/JSON/RPC/Legacy/Client.pm line 180.
{"entity_id":"sensor.lms_artists","state":"count","attributes":{},"last_changed":"2023-08-12T04:55:22.555840+00:00","last_updated":"2023-08-12T04:55:22.555840+00:00","context":{"id":"01H7M1JP5VGMJA6BYYBP83FKNK","parent_id":null,"user_id":"ec0ec353cac54634ba8e7e37b662158b"}}
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "Can't connect to 127...") at /usr/share/perl5/JSON/RPC/Legacy/Client.pm line 180.
{"entity_id":"sensor.lms_duration","state":"seconds","attributes":{},"last_changed":"2023-08-12T04:55:24.477248+00:00","last_updated":"2023-08-12T04:55:24.477248+00:00","context":{"id":"01H7M1JR1X05X0HW23D3DBSNER","parent_id":null,"user_id":"ec0ec353cac54634ba8e7e37b662158b"}}
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "Can't connect to 127...") at /usr/share/perl5/JSON/RPC/Legacy/Client.pm line 180.
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "Can't connect to 127...") at /usr/share/perl5/JSON/RPC/Legacy/Client.pm line 180.
If I use telnet I see that port 9001 is comming online. Maybe an old config file?
Oke, the port you pick the first time is hardcoded in all config files. Reinstalling / reconfiguration won't help. Delete all files helped me. Lost my LMS settings tho. I do have LMS working inside HA, however I think this should be stated somewhere or uninstall should clean this up
@meijer3 to be clear which config files for what add-on?
LMS.
I deleted \config\lms.
I cannot recall, but I thought it was server.prefs
httpport: 9001
. And maybe more?
My LMS wont start. 502 Bad Gateway
I suspected portainer being a conflict with the 9000 port, but i uninstalled that one, restart HA. But still can't I open the UI
I also tried port 9009 for example. I tried to browse it outside the HA, directly on
home.ii:9009
Home Assistant 2023.8.1 Supervisor 2023.08.1 Operating System 10.4 Frontend 20230802.0 - latest