Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Snoopy - Logitech Media Server, Emoncms, Ubuntu, FFmpeg

Featured Replies

On 4/14/2021 at 11:51 PM, al_uk said:

I now have it kinda working, connecting to a mariadb instance but I'm not able to do an update, and much of the left hand side menu is missing. Here's a couple of screenshots.

 

image.thumb.png.07ae1b34167087514215c653504ceb3e.png

 

 

 

 

 

Still not got emoncms fully working. I do have inputs coming in via MQTT, and I can create feeds. It is also connecting to redis and mariadb dockers. But I can'tupdate it due to the error above, and I don't have most of the modules, eg. Sync or Schedule. Anyone any ideas? Cheers.

Edited by al_uk

  • Replies 184
  • Views 73k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Thanks to your comment I found out the user and passwd as well lol. Cannot find it in the front page or installation page. Not sure how to edit it either.

  • looks like a new install is not setting the proper permissions:   root:root rwxrwxr-x /LogitechMediaServer-8.0/cache root:root rwxrwxr-x /LogitechMediaServer-8.0/logs root:root rwxrwxr-x /L

  • Is your docker network type set to Host? Also, check your permissions. I like you had an older install that worked - check my previous post a page back.

Posted Images

I have successfully started the LMS docker and accessed the WebUI.  However, there is no /music directory (host -> container) available. I have tried adding a second path to an alternate /music2 container directory and its also not visible. Before I got the container working/webui accessible, I had to change the permissions of the config directory.  Is there some other permission I need to change?

2022-09-26 19_27_22-ATLAS_UpdateContainer — Mozilla Firefox.png

Edited by GalloLoco
add pic

22 minutes ago, GalloLoco said:

there is no /music directory (host -> container) available

post docker run

  • 4 months later...

Hi, since a few days my docker shows 'not available' as the version. I'm not aware that I made any changes. The repository still points to 'snoopy86/logitechmediaserver'. I updated frequently - not sure what I can do.

  • 2 weeks later...
On 2/7/2023 at 6:46 AM, rehajel said:

Hi, since a few days my docker shows 'not available' as the version. I'm not aware that I made any changes. The repository still points to 'snoopy86/logitechmediaserver'. I updated frequently - not sure what I can do.

 

Showing advanced options and doing a 'forced update' fixed it.

I recently installed the Emoncms docker image, and when I configured it to speak with the existing MySQL database container I have - it doesn't seem to use the container variable with the value provided. I provided a Docker network address ending in 10, but the MySQL error I get lists the Emoncms's address (which ends in 8). What am I missing here?

On 2/28/2023 at 5:40 PM, Matthew Orres said:

I recently installed the Emoncms docker image, and when I configured it to speak with the existing MySQL database container I have - it doesn't seem to use the container variable with the value provided. I provided a Docker network address ending in 10, but the MySQL error I get lists the Emoncms's address (which ends in 8). What am I missing here?

So. I think I figured out what the issue was here - I don't think there's anything explicitly wrong with Snoopy's Docker template (though it is a bit out of date, and I think I'm going to dig in to seeing how to get emoncms to run on PHP 8). The issue was... I created the MySQL user incorrectly. The user needs scoped to more than just localhost. Primary way to determine if this is your issue is if the error message you get from emoncms/PHP includes a Docker IP (starts with 172) that doesn't correspond to any of your other Docker containers (still don't 100% understand where the IP came from). Once I setup the user correctly, the emoncms web UI showed up and I was able to log in.

 

That being said. I've also created my own emoncms app in CA, the difference from Snoopy's is that it's fully standalone and does not include MQTT. I think the version of emoncms used is newer, but it might also be a far larger Docker image (might be better if I find a production-optimized version of emoncms - their docker is used as a devbox). Anywho, search for emoncms in CA and mine will show up next to Snoopy's if you're interested.

 

Thank you for your work on this container, Snoopy. Yours was an excellent guide to work off of (I've never used emoncms prior to this, so your work was crucial to me!)

  • 6 months later...

Ran this LMS container for years under 6.9 and recently upgraded Unraid to 6.12.  Ever since switching to 6.12, I've had the "persistent process restarting" forever and LMS refuses to start and present itself to my logitech devices.  Tried chmod'ing and chown'ing directories in the data folder to nobody:users & 755 as recommended earlier in this forum, but nothing seems to work.

 

The most recent update pushed 3 days ago now presents another interesting problem ...

 

docker run
  -d
  --name='LogitechMediaServer-latest'
  --net='proxynet'
  -e TZ="America/New_York"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="myunraid"
  -e HOST_CONTAINERNAME="LogitechMediaServer-latest"
  -e 'test'='yes'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:9000]/'
  -l net.unraid.docker.icon='https://i.imgur.com/PoUuA3k.png'
  -p '3483:3483/tcp'
  -p '3483:3483/udp'
  -p '5354:5353/udp'
  -p '9000:9000/tcp'
  -p '9090:9090/tcp'
  -v '/mnt/user/music/SBox Server/My Music/':'/music':'rw'
  -v '/var/run/dbus':'/var/run/dbus':'rw'
  -v '/mnt/user/appdata/LogitechMediaServer-latest':'/config':'rw' 'snoopy86/logitechmediaserver'
9454622d76ca5c50871e83875238fee4c172867918cae0ebcaefeb15e87e2679

 

But this never shows up either ... logs:

 

usermod: no changes
2023-09-17 11:54:36,230 INFO Set uid to user 0 succeeded
2023-09-17 11:54:36,234 INFO supervisord started with pid 17
2023-09-17 11:54:37,238 INFO spawned: 'dbus' with pid 18
2023-09-17 11:54:37,241 INFO spawned: 'avahi-daemon' with pid 19
2023-09-17 11:54:37,245 INFO spawned: 'squeezeboxserver' with pid 20
2023-09-17 11:54:37,392 INFO exited: squeezeboxserver (exit status 0; not expected)
2023-09-17 11:54:38,252 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-09-17 11:54:38,252 INFO success: avahi-daemon entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-09-17 11:54:39,256 INFO spawned: 'squeezeboxserver' with pid 22
2023-09-17 11:54:39,378 INFO exited: squeezeboxserver (exit status 0; not expected)
2023-09-17 11:54:41,383 INFO spawned: 'squeezeboxserver' with pid 24
2023-09-17 11:54:41,502 INFO exited: squeezeboxserver (exit status 0; not expected)
2023-09-17 11:54:44,508 INFO spawned: 'squeezeboxserver' with pid 26
2023-09-17 11:54:44,629 INFO exited: squeezeboxserver (exit status 0; not expected)
2023-09-17 11:54:45,631 INFO gave up: squeezeboxserver entered FATAL state, too many start retries too quickly

 

Not sure what else to try, as this container worked perfectly for so long.

 

I'm also not sure what is using 5353, as the original docker run showed a conflict (but none was listed in the utilization list).

 

I also thought about "rolling back" to a previous version, but can only seem to find the 'latest' tag on docker hub, with no ability to select a previous image :(

Edited by gizmo000

On 9/17/2023 at 5:59 PM, gizmo000 said:

 

...

But this never shows up either ... logs:

 

usermod: no changes
2023-09-17 11:54:36,230 INFO Set uid to user 0 succeeded
2023-09-17 11:54:36,234 INFO supervisord started with pid 17
2023-09-17 11:54:37,238 INFO spawned: 'dbus' with pid 18
2023-09-17 11:54:37,241 INFO spawned: 'avahi-daemon' with pid 19
2023-09-17 11:54:37,245 INFO spawned: 'squeezeboxserver' with pid 20
2023-09-17 11:54:37,392 INFO exited: squeezeboxserver (exit status 0; not expected)
2023-09-17 11:54:38,252 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-09-17 11:54:38,252 INFO success: avahi-daemon entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-09-17 11:54:39,256 INFO spawned: 'squeezeboxserver' with pid 22
2023-09-17 11:54:39,378 INFO exited: squeezeboxserver (exit status 0; not expected)
2023-09-17 11:54:41,383 INFO spawned: 'squeezeboxserver' with pid 24
2023-09-17 11:54:41,502 INFO exited: squeezeboxserver (exit status 0; not expected)
2023-09-17 11:54:44,508 INFO spawned: 'squeezeboxserver' with pid 26
2023-09-17 11:54:44,629 INFO exited: squeezeboxserver (exit status 0; not expected)
2023-09-17 11:54:45,631 INFO gave up: squeezeboxserver entered FATAL state, too many start retries too quickly

 

Not sure what else to try, as this container worked perfectly for so long.

 

I'm also not sure what is using 5353, as the original docker run showed a conflict (but none was listed in the utilization list).

 

I also thought about "rolling back" to a previous version, but can only seem to find the 'latest' tag on docker hub, with no ability to select a previous image :(

Same problem for me too

I'm having the same problem with LMS

Same problem here

  • Author

I've reverted the changes. The image should be uploaded in a few minutes so you can update it.

@snoopy86 do you know if it's a dockerhub setting to not show historical tags?  If so, would it be possible to list more than just  latest?  I'm still hitting the LMS issue after removing the docker + image in unraid and reinstalling.  I see that dockerhub says the last update was 3 days ago so I'm guessing the update still hasn't rolled out yet.

Also thanks for maintaining this image.  I've also been using it for years and it's been invaluable.

Edited by ambidex2

Same situation like ambidex2, it is still not working with the latest image on dockerhub...

15 hours ago, aschamberger said:

Same situation like ambidex2, it is still not working with the latest image on dockerhub...

It looks like the fix was accidentally never pushed.

 

RE only the latest tag being available, if docker images are anything like git it's likely that the images are pushed directly to 'latest' versus pushing to some other changing identifier and then moving the 'latest' tag to the new identifier.

Finally, this is probably not the place to say it so I apologize, but there's another LogitechMediaServer in the Unraid app store that worked for me.

On 9/22/2023 at 3:20 AM, snoopy86 said:

I've reverted the changes. The image should be uploaded in a few minutes so you can update it.

 

'latest' image still refuses to start up:

 

2023-10-02 11:05:38,666 INFO Set uid to user 0 succeeded
2023-10-02 11:05:38,670 INFO supervisord started with pid 16
2023-10-02 11:05:39,673 INFO spawned: 'dbus' with pid 17
2023-10-02 11:05:39,675 INFO spawned: 'avahi-daemon' with pid 18
2023-10-02 11:05:39,677 INFO spawned: 'squeezeboxserver' with pid 19
2023-10-02 11:05:39,688 INFO exited: avahi-daemon (exit status 255; not expected)
2023-10-02 11:05:39,789 INFO exited: squeezeboxserver (exit status 0; not expected)
2023-10-02 11:05:40,791 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-10-02 11:05:40,794 INFO spawned: 'avahi-daemon' with pid 21
2023-10-02 11:05:40,797 INFO spawned: 'squeezeboxserver' with pid 22
2023-10-02 11:05:40,907 INFO exited: squeezeboxserver (exit status 0; not expected)
2023-10-02 11:05:42,718 INFO success: avahi-daemon entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-10-02 11:05:43,722 INFO spawned: 'squeezeboxserver' with pid 24
2023-10-02 11:05:43,841 INFO exited: squeezeboxserver (exit status 0; not expected)
2023-10-02 11:05:46,847 INFO spawned: 'squeezeboxserver' with pid 26
2023-10-02 11:05:46,966 INFO exited: squeezeboxserver (exit status 0; not expected)
2023-10-02 11:05:47,968 INFO gave up: squeezeboxserver entered FATAL state, too many start retries too quickly

 

  • 1 month later...
  • Author

Logitech Squeezebox Server and Emoncms were updated and are now based on the latest releases.

The updated version works fine now, thank you. For some reason your container plays better with my set of plugins.

  • 2 months later...

Hello,

I have created a user-defined network (starnet) as recommended in which all my dockers run, only the LogitechMediaServer reports "Installation failed" after the corresponding setting under network type and the network type: "Bridge" is not possible, only "Host" is accepted.

Can someone please explain this to me or is there a solution?

Many thanks!

Docker Netzwerk.jpg

LMS Docker.png

Edited by Arminius

  • 1 month later...
On 11/10/2023 at 1:23 PM, snoopy86 said:

Logitech Squeezebox Server and Emoncms were updated and are now based on the latest releases.

When can we expect an update to LMS 8.5? It already has the advantage that the real LMS from Logitech has been removed.

  • Author
16 minutes ago, Boogie2005 said:

When can we expect an update to LMS 8.5? It already has the advantage that the real LMS from Logitech has been removed.

Will have a look this week.

Thank you

  • 2 weeks later...

Hi @snoopy86, thanks for maintaining the LMS docker. The Logitech Media Server scanner in my install exits prematurely (as in after one album or so) with the following error message in scanner log. Is there something I can do to repair this? Thanks.

 

[24-04-03 13:01:47.4889] Slim::Schema::Storage::throw_exception (121) Error: DBI Exception: DBD::SQLite::db prepare_cached failed: no such table: tracks_persistent [for Statement "
			SELECT *
			FROM tracks_persistent
			WHERE (	urlmd5 = ? OR musicbrainz_id = ? )
		"]
[24-04-03 13:01:47.4892] Slim::Schema::Storage::throw_exception (121) Backtrace:

   frame 0: Slim::Utils::Log::logBacktrace (/lms/Slim/Schema/Storage.pm line 121)
   frame 1: Slim::Schema::Storage::throw_exception (/lms/CPAN/DBIx/Class/Storage/DBI.pm line 1007)
   frame 2: DBIx::Class::Storage::DBI::__ANON__ (/lms/Slim/Schema/TrackPersistent.pm line 84)
   frame 3: Slim::Schema::TrackPersistent::findhash (/lms/Slim/Schema.pm line 1480)
   frame 4: Slim::Schema::_createTrack (/lms/Slim/Schema.pm line 1731)
   frame 5: Slim::Schema::_newTrack (/lms/Slim/Schema.pm line 1937)
   frame 6: Slim::Schema::updateOrCreateBase (/lms/Slim/Utils/Scanner/Local.pm line 945)
   frame 7: Slim::Utils::Scanner::Local::__ANON__ (/lms/Slim/Utils/Scanner/Local.pm line 1010)
   frame 8: Slim::Utils::Scanner::Local::new (/lms/Slim/Utils/Scanner/Local.pm line 543)
   frame 9: Slim::Utils::Scanner::Local::__ANON__ (/lms/Slim/Utils/Scanner/Local.pm line 576)
   frame 10: Slim::Utils::Scanner::Local::addTracks (/lms/Slim/Utils/Scanner/Local.pm line 359)
   frame 11: Slim::Utils::Scanner::Local::__ANON__ (/lms/Slim/Utils/Scanner/Local/Async.pm line 86)
   frame 12: Slim::Utils::Scanner::Local::Async::__ANON__ (/lms/Slim/Utils/Scanner/Local/Async.pm line 169)
   frame 13: Slim::Utils::Scanner::Local::Async::find (/lms/Slim/Utils/Scanner/Local.pm line 104)
   frame 14: Slim::Utils::Scanner::Local::find (/lms/Slim/Utils/Scanner/Local.pm line 391)
   frame 15: Slim::Utils::Scanner::Local::rescan (/lms/Slim/Media/MediaFolderScan.pm line 63)
   frame 16: Slim::Media::MediaFolderScan::startScan (/lms/Slim/Music/Import.pm line 581)
   frame 17: Slim::Music::Import::runImporter (/lms/Slim/Music/Import.pm line 403)
   frame 18: Slim::Music::Import::runScan (/lms/scanner.pl line 333)
   frame 19: (eval) (/lms/scanner.pl line 327)
   frame 20: main::main (/lms/scanner.pl line 497)

[24-04-03 13:01:47.4895] main::main (338) Error: Failed when running main scan: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db prepare_cached failed: no such table: tracks_persistent [for Statement "
			SELECT *
			FROM tracks_persistent
			WHERE (	urlmd5 = ? OR musicbrainz_id = ? )
		"] at /lms/Slim/Schema/Storage.pm line 125
]
[24-04-03 13:01:47.4896] main::main (339) Error: Skipping post-process & Not updating lastRescanTime!
[24-04-03 13:01:47.4922] Slim::Schema::disconnect (328) Warning: DBI::db=HASH(0x55fb8a637ec8)->disconnect invalidates 1 active statement handle (either destroy statement handles or call finish on them before disconnecting) at /lms/Slim/Schema.pm line 328.

 

  • Author
1 hour ago, janpeeters said:

Hi @snoopy86, thanks for maintaining the LMS docker. The Logitech Media Server scanner in my install exits prematurely (as in after one album or so) with the following error message in scanner log. Is there something I can do to repair this? Thanks.

 

[24-04-03 13:01:47.4889] Slim::Schema::Storage::throw_exception (121) Error: DBI Exception: DBD::SQLite::db prepare_cached failed: no such table: tracks_persistent [for Statement "
			SELECT *
			FROM tracks_persistent
			WHERE (	urlmd5 = ? OR musicbrainz_id = ? )
		"]
[24-04-03 13:01:47.4892] Slim::Schema::Storage::throw_exception (121) Backtrace:

   frame 0: Slim::Utils::Log::logBacktrace (/lms/Slim/Schema/Storage.pm line 121)
   frame 1: Slim::Schema::Storage::throw_exception (/lms/CPAN/DBIx/Class/Storage/DBI.pm line 1007)
   frame 2: DBIx::Class::Storage::DBI::__ANON__ (/lms/Slim/Schema/TrackPersistent.pm line 84)
   frame 3: Slim::Schema::TrackPersistent::findhash (/lms/Slim/Schema.pm line 1480)
   frame 4: Slim::Schema::_createTrack (/lms/Slim/Schema.pm line 1731)
   frame 5: Slim::Schema::_newTrack (/lms/Slim/Schema.pm line 1937)
   frame 6: Slim::Schema::updateOrCreateBase (/lms/Slim/Utils/Scanner/Local.pm line 945)
   frame 7: Slim::Utils::Scanner::Local::__ANON__ (/lms/Slim/Utils/Scanner/Local.pm line 1010)
   frame 8: Slim::Utils::Scanner::Local::new (/lms/Slim/Utils/Scanner/Local.pm line 543)
   frame 9: Slim::Utils::Scanner::Local::__ANON__ (/lms/Slim/Utils/Scanner/Local.pm line 576)
   frame 10: Slim::Utils::Scanner::Local::addTracks (/lms/Slim/Utils/Scanner/Local.pm line 359)
   frame 11: Slim::Utils::Scanner::Local::__ANON__ (/lms/Slim/Utils/Scanner/Local/Async.pm line 86)
   frame 12: Slim::Utils::Scanner::Local::Async::__ANON__ (/lms/Slim/Utils/Scanner/Local/Async.pm line 169)
   frame 13: Slim::Utils::Scanner::Local::Async::find (/lms/Slim/Utils/Scanner/Local.pm line 104)
   frame 14: Slim::Utils::Scanner::Local::find (/lms/Slim/Utils/Scanner/Local.pm line 391)
   frame 15: Slim::Utils::Scanner::Local::rescan (/lms/Slim/Media/MediaFolderScan.pm line 63)
   frame 16: Slim::Media::MediaFolderScan::startScan (/lms/Slim/Music/Import.pm line 581)
   frame 17: Slim::Music::Import::runImporter (/lms/Slim/Music/Import.pm line 403)
   frame 18: Slim::Music::Import::runScan (/lms/scanner.pl line 333)
   frame 19: (eval) (/lms/scanner.pl line 327)
   frame 20: main::main (/lms/scanner.pl line 497)

[24-04-03 13:01:47.4895] main::main (338) Error: Failed when running main scan: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db prepare_cached failed: no such table: tracks_persistent [for Statement "
			SELECT *
			FROM tracks_persistent
			WHERE (	urlmd5 = ? OR musicbrainz_id = ? )
		"] at /lms/Slim/Schema/Storage.pm line 125
]
[24-04-03 13:01:47.4896] main::main (339) Error: Skipping post-process & Not updating lastRescanTime!
[24-04-03 13:01:47.4922] Slim::Schema::disconnect (328) Warning: DBI::db=HASH(0x55fb8a637ec8)->disconnect invalidates 1 active statement handle (either destroy statement handles or call finish on them before disconnecting) at /lms/Slim/Schema.pm line 328.

 

This is not something i can help you with. You will need to check with LMS dev.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.