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


Recommended Posts

Hi Snoopy! Thanks for your work.

I'm getting my LMS container logs full of:

 

avahi-daemon 0.6.31 exiting.

Found user 'avahi' (UID 104) and group 'avahi' (GID 107).

Successfully dropped root privileges.

avahi-daemon 0.6.31 starting up.

dbus_bus_get_private(): Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

WARNING: Failed to contact D-Bus daemon.

 

 

Is there a way to fix it?

 

Hi Snoopy, im getting this error too. My docker is set to host network.  Running the latest version of unraid.  Any suggestions?

Link to comment
  • 2 weeks later...
  • 3 weeks later...

I am having a problem with Ubuntu-XRDP.  I swear that it worked a few days ago when I installed it.  But now I can't connect with RDP.  I get the following in the logs:

*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/firstrun.sh...

Current default time zone: 'America/New_York'
Local time is now: Thu Feb 9 19:18:58 EST 2017.
Universal Time is now: Fri Feb 10 00:18:58 UTC 2017.

mkdir: cannot create directory ‘/var/run/sshd’: File exists
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/firstrun.sh...
using existing wallpapers etc...
using existing libreoffice settings file
mkdir: cannot create directory ‘/var/run/sshd’: File exists
mkdir: cannot create directory ‘/root/.vnc’: File exists
*** An error occurred. Aborting.

*** Shutting down /etc/my_init.d/firstrun.sh (PID 9)...
*** Init system aborted.
*** Killing all processes...
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/firstrun.sh...
using existing wallpapers etc...
using existing libreoffice settings file
mkdir: cannot create directory ‘/var/run/sshd’: File exists
mkdir: cannot create directory ‘/root/.vnc’: File exists
*** An error occurred. Aborting.

*** Shutting down /etc/my_init.d/firstrun.sh (PID ...
*** Init system aborted.
*** Killing all processes...
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/firstrun.sh...
using existing wallpapers etc...
using existing libreoffice settings file
mkdir: cannot create directory ‘/var/run/sshd’: File exists
mkdir: cannot create directory ‘/root/.vnc’: File exists

Link to comment
  • 3 months later...

Hi @snoopy86 , I appreciate your LMS and emoncms containers.

 

I have been trying to set up remote logging (as seen in links below) but there is no "emonhub" tab for the config to do so in your emoncms docker. The tab is usually under the Setup tab but is not there. Do you have any suggestions for exposing or editing the config?

 

https://guide.openenergymonitor.org/setup/remote/

 

https://community.openenergymonitor.org/t/emoncms-running-on-own-server/1648

 

 

Edited by ubergeek
Link to comment
  • 6 months later...

@snoopy86

Hi, trying Flickr uploader again i managed to get it to start. when i go to the URL from the log, i get redirected to the flickr home page without anything else happening. is this app still active?

 

here's the log details:

Quote

 

*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/uploadr.py...
--------- Start time: Wed Dec 13 13:56:27 2017 ---------
Setting up the database: /etc/my_init.d/flickrdb
Completed database setup
Error: {u'stat': u'fail', u'code': 98, u'message': u'Invalid auth token'}
Getting new token
Copy-paste following URL into a web browser and follow instructions ( you have 60 seconds! :) ):
https://api.flickr.com/services/auth/?perms=delete&api_key=430ebc476e2f5a61ffcf3fcea5312848&frob=72157690287682334-3b3306f5acd7676b-335468&api_sig=8d48a0efcf947c6f84d407aae2d1d601
Waiting0
Waiting2
Error: {u'stat': u'fail', u'code': 108, u'message': u'Invalid frob'}
*****Removing empty Sets from DB*****
*****Completed removing empty Sets from DB*****
*****Adding Flickr Sets to DB*****
{'nojsoncallback': '1', 'format': 'json', 'perms': '', 'auth_token': 'None', 'api_sig': '639833d751d809c50f8ae50ba2eca295', 'api_key': '430ebc476e2f5a61ffcf3fcea5312848', 'method': 'flickr.photosets.getList'}
Error: {u'stat': u'fail', u'code': 98, u'message': u'Invalid auth token'}
*****Completed adding Flickr Sets to DB*****
*****Uploading files*****
Found 0 files
*****Completed uploading files*****
*****Removing deleted files*****
Error: {u'stat': u'fail', u'code': 98, u'message': u'Invalid auth token'}
Getting new token
Copy-paste following URL into a web browser and follow instructions ( you have 60 seconds! :) ):
https://api.flickr.com/services/auth/?perms=delete&api_key=430ebc476e2f5a61ffcf3fcea5312848&frob=72157689516299841-23630d17417164eb-335468&api_sig=4a37538c3d60e811460b49db82668c24
Waiting0
Waiting2
Error: {u'stat': u'fail', u'code': 108, u'message': u'Invalid frob'}
*****Completed deleted files*****
*****Creating Sets*****
*****Completed creating sets*****
*****Adding tags to existing photos*****
*****Completed adding tags*****
--------- End time: Wed Dec 13 13:59:26 2017 ---------
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 10
Dec 13 13:59:26 Tower syslog-ng[15]: syslog-ng starting up; version='3.5.3'

 

and here's a screenshot of the docker settings:

 

uploader.jpg

Link to comment
  • 2 weeks later...
  • 2 months later...
  • 3 months later...
  • 7 months later...

Has anyone here had luck getting the YouTube plugin to work on Logitech Media Server?

I have successfully authorised it to my YouTube account, but I just can't get it to find any videos let alone play them. 

I note on the plugin page that it states:

"Note that SSL is required, but on some Linux installation, a few libraries are missing. If the plugin does not work, open a command line and run: "sudo apt-get install libio-socket-ssl-perl libnet-ssleay-perl""

Could this be the problem? 

If so, is it possible for you, Snoopy86, to include those dependencies in the next update (or is it possible for me to add them myself?)? 

Many thanks. 

Link to comment
  • 4 weeks later...

Hello, i just installed this Docker ...used LXTerminal to run "sudo apt get update" but is asking for password and no clue what is it?

 

Thanks

 

EDIT: if i install there somehting it get wiped after reboot?!

Ive spend an hour installing weewx and seems like its gone :(

Edited by killeriq
Link to comment
  • 5 months later...
3 hours ago, jang430 said:

Hi.  Can I use Microsoft Remote Desktop to connect to this container?  When I did, I get a login screen, that doesn't display anything.  There is a drop down selection, to which I cannot read what's written on it since it's blank.  So I cannot proceed.

I guess you mean to ubuntu right. No, you have to use VNC, XRDP or similar because Microsoft RDP is not supported for linux OS.

Link to comment
On 2/27/2019 at 11:09 PM, jademonkee said:

Has anyone here had luck getting the YouTube plugin to work on Logitech Media Server?

I have successfully authorised it to my YouTube account, but I just can't get it to find any videos let alone play them. 

I note on the plugin page that it states:

"Note that SSL is required, but on some Linux installation, a few libraries are missing. If the plugin does not work, open a command line and run: "sudo apt-get install libio-socket-ssl-perl libnet-ssleay-perl""

Could this be the problem? 

If so, is it possible for you, Snoopy86, to include those dependencies in the next update (or is it possible for me to add them myself?)? 

Many thanks. 

With philippe44 youtube plugin it works without any problem. I use it daily.

Link to comment
  • 2 months later...

Hey @snoopy86, first of all thank you for all the work you put into these dockers!

I have been looking into the Flickr Uploader, however I cant get it to work :/
I do have a Flickr Pro account and followed all the steps, however the validation URL does not seem to work. I only get to a page that tells me that I do not have permission to access.

Are there any things I need to customize except for the folder paths during setup and the Api key / secret in the uploader.ini ?
Is this app still working?
I do not know a lot about the Flickr api but I took a look into it and found this : https://www.flickr.com/services/api/flickr.auth.checkToken.html
Is the app still using the old authentication method ? would explain the Issue, or maybe I am just to stupid to set it up 😅

Anyway, excuse my bad English and greetings from Germany,
Jason.

 




 

Link to comment
  • 2 weeks later...
On 4/3/2020 at 3:08 PM, snoopy86 said:

LogitechMediaServer updated to v 8.0 and latest phusion image.

 

Emoncms updated with mqtt support.

Thanks for your work on this docker Snoopy86 - I use it daily and did even contribute via paypal once!

 

However, since the 8.0 update (I think - the timing seems to be right) I get errors when I try to send airplay from my phone to one of the players (using shairtunes2 plugin). The player gets all the metadata and tries to play the stream, but can't seem to connect back to the server. Have you seen this?

 

I checked and the shairport is listening on the port that the player is trying to connect (I was surprised to see it uses a random port which isn't explicitly mapped in docker, but it seems to - and I can manually connect and retrieve the stream from a remote command line (using http).  

 

Any ideas?

 

Thanks!

 

 

cantconnect.jpg

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.