Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-08-31 Thread BruceFeuillette


pputzer wrote: 
> This might be related to
> https://www.pedrolamas.com/2020/11/04/exposing-the-client-ips-to-docker-containers-on-synology-nas/

I tried this without luck. :/



BruceFeuillette's Profile: http://forums.slimdevices.com/member.php?userid=71990
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-08-30 Thread BruceFeuillette


mamema wrote: 
> use this BEFORE launching the docker container and look if some ports
> are already used
> 
> https://synocommunity.com/package/darkstat

Unfortunately, I'm on a DS918+, which has an Apollolake architecture and
DarkStat don't provide a package for this one.
Maybe a simple netstat in SSH will do the trick ?



BruceFeuillette's Profile: http://forums.slimdevices.com/member.php?userid=71990
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-08-29 Thread BruceFeuillette


Jaca wrote: 
> Not sure but I would think it's container ports problem, that's if you
> run it in bridge mode? If so, maybe try host mode temporarily to verify.
> If host mode works fine then it's defo some conflict with ports on
> synology

Yep, it works better. :D
No more DNS issues. The server isn't listed in my UPnP list on Foobar
but it's a small problem as AudioStation is providing a connection.
Meanwhile I want to run it in the bridge mode, with a clean
configuration.
I mapped these ports
Container : TCP 3483 -> local TCP 3483
Container : UDP 3483 -> local UDP 3483
Container : TCP 9000 -> local TCP 9000
Container : TCP 9090 -> local TCP 9090
What's wrong with it?

The really strange thing is that the Debian distrib in the image DNS
part is working well. I don't get why Perl can't work right with the
DNS.



BruceFeuillette's Profile: http://forums.slimdevices.com/member.php?userid=71990
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-08-29 Thread BruceFeuillette

BruceFeuillette wrote: 
> Hello!
> I managed to have a running docker image on my Synology DS918+.
> This one ->
> https://registry.hub.docker.com/r/lmscommunity/logitechmediaserver/
> The only remaining problem is a DNS one.
> My log is full of "Couldn't resolve IP address for". I launched a bash
> inside the image, with a wget. And everything worked fine.
> The image resolv.conf is well done
> > 
Code:

  >   > root@lmscommunity-logitechmediaserver1:/config# cat /etc/resolv.conf
 
  > nameserver  XXX.XXX.XXX.XXX 
 
  > nameserver  80.67.169.12

> > 
> XXX is my local DNS server.
> Dowloading a file that the LMS can't acces, from the image
> > 
Code:

  >   > root@lmscommunity-logitechmediaserver1:/config# wget 
https://www.mysqueezebox.com/api/sounds/v1/opml 
   
  > --2021-08-03 10:12:10-- https://www.mysqueezebox.com/api/sounds/v1/opml 

   
  > Resolving www.mysqueezebox.com (www.mysqueezebox.com)... 63.33.236.17   


  > Connecting to www.mysqueezebox.com 
(www.mysqueezebox.com)|63.33.236.17|:443... connected.  

 
  > HTTP request sent, awaiting response... 200 OK  


  > Length: 10399 (10K) [text/xml]  


  > Saving to: ‘opml’   


  > 
  > opml   
100%[>]
  10.16K  --.-KB/sin 0s   
  > 
  > 2021-08-03 10:12:10 (79.1 MB/s) - ‘opml’ saved [10399/10399]

> > 
> I don't understand why the LMS can't access to MySqueezeBox or
> radiotime by itself.
> > 
Code:

  >   > [21-08-03 10:06:27.0908] Slim::Formats::XML::gotErrorViaHTTP (339) 
Error: getting https://www.mysqueezebox.com/api/sounds/v1/opml
  > 
  > Couldn't resolve IP address for: www.mysqueezebox.com

> > 

Hi!
No ideas for this one?
The lack of network tools and system utilities (like ps) make the
debugging a bit hard. So I can't modify the PM files "on the fly" and
relaunch the server.
The underlying Debian works fine but LMS don't want to make DNS
request.
I begin to think that it's a network container problem as my LMS isn't
no more visible in Foobar2000 when it was the case before. I guess both
things are linked.



BruceFeuillette's Profile: http://forums.slimdevices.com/member.php?userid=71990
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-08-03 Thread BruceFeuillette


Hello!
I managed to have a running docker image on my Synology DS918+.
The only remaining problem is a DNS one.
My log is full of "Couldn't resolve IP address for". I launched a bash
inside the image, with a wget. And everything worked fine.
The image resolv.conf is well done

Code:

root@lmscommunity-logitechmediaserver1:/config# cat /etc/resolv.conf
 
  nameserver  XXX.XXX.XXX.XXX   
   
  nameserver  80.67.169.12


XXX is my local DNS server.
Dowloading a file that the LMS can't acces, from the image

Code:

root@lmscommunity-logitechmediaserver1:/config# wget URL/api/sounds/v1/opml 

   
  --2021-08-03 10:12:10-- URL/api/sounds/v1/opml


  Resolving mysqueezebox (mysqueezebox)... 63.33.236.17 

  
  Connecting to mysqueezebox (mysqueezebox)|63.33.236.17|:443... connected. 

  
  HTTP request sent, awaiting response... 200 OK

  
  Length: 10399 (10K) [text/xml]

  
  Saving to: ‘opml’ 

  
  
  opml   
100%[>]
  10.16K  --.-KB/sin 0s   
  
  2021-08-03 10:12:10 (79.1 MB/s) - ‘opml’ saved [10399/10399]


I don't understand why the LMS can't access to MySqueezeBox or radiotime
by itself.

Code:

[21-08-03 10:06:27.0908] Slim::Formats::XML::gotErrorViaHTTP (339) Error: 
getting URL/api/sounds/v1/opml
  
  Couldn't resolve IP address for: mysqueezebox



PS : URL is MySqueezeBox URL. As this is my first post, I'm not able to
put URL. :)
http://test.com



BruceFeuillette's Profile: http://forums.slimdevices.com/member.php?userid=71990
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix