Re: [SlimDevices: SqueezeCenter] Problems with LMS on Freenas 11.1 U1 (FreeBSD11.1/iocage)

2018-03-01 Thread mrMuppet

If i create the jail with vnet iocage create -n "jailname" -r
11.1-RELEASE ip4_addr="vnet0|192.168.1.100/24"
defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1"
boot="on" autodetect does work!



mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722
View this thread: http://forums.slimdevices.com/showthread.php?t=108622

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


Re: [SlimDevices: SqueezeCenter] Problems with LMS on Freenas 11.1 U1 (FreeBSD11.1/iocage)

2018-02-03 Thread mrMuppet

epoch1970 wrote: 
> igb0 is a bridge member.
> Why does it have an IP address when bridge0 has none?
> 
> I would remove the IP address from ibg0 and give it bridge0.

Thants interresting. I'm not so deep in network settings and i can't
find any bridge or so in the freenas setup. Perhaps i have to renew the
complete Server installation on day. Thanks for that. Will have an eye
on it and try to find out.



mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722
View this thread: http://forums.slimdevices.com/showthread.php?t=108622

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


Re: [SlimDevices: SqueezeCenter] Problems with LMS on Freenas 11.1 U1 (FreeBSD11.1/iocage)

2018-02-03 Thread mrMuppet

Roland0 wrote: 
> Settings>Advanced>Networking>Remote Libraries
> 
Thats working! I just didn't know (feels like i have checked those menus
1000 times...) I can connect to the iocage server with the ip!

Roland0 wrote: 
> 
> This shows that manually specifying the server works - what about auto
> discovery?
Now i made a try with autoconnect (with the working server):

Code:


  [12:31:28.927] discover_server:826 sending discovery
  [12:31:28.927] discover_server:837 got response from: 192.168.178.156:3483
  [12:31:28.927] slimproto:925 connecting to 192.168.178.156:3483
  [12:31:28.943] slimproto:964 connected
  [12:31:28.943] sendHELO:138 mac: 88:d7:f6:3c:f5:6c
  [12:31:28.943] sendHELO:140 cap: 
Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.8.7-1052,ModelName=SqueezeLite,MaxSampleRate=384000,dsf,dff,alc,wma,wmap,wmal,aac,ogg,flc,aif,pcm,mp3
  [12:31:28.979] _output_frames:114 avail: 1136 frames: 1136 silence: 1
  [12:31:28.979] _output_frames:274 wrote 1136 frames



And the iocage server:

Code:


  [12:37:10.062] discover_server:826 sending discovery
  [12:37:10.113] _output_frames:114 avail: 1136 frames: 1136 silence: 1



And i checked the server's logfile in this moment. And there are no
entries at 12:37:...

Its ok for me to use my players with the manual ip (without autoconnect)
but it wouldnt bad to find out what blocks the autodiscovery.



mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722
View this thread: http://forums.slimdevices.com/showthread.php?t=108622

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


Re: [SlimDevices: SqueezeCenter] Problems with LMS on Freenas 11.1 U1 (FreeBSD11.1/iocage)

2018-02-02 Thread mrMuppet

Roland0 wrote: 
> 
> 
> The autodiscovery iocage issue does seem relevant.
> 
> So if you do not use autodiscovery, can any of your devices connect
> without mysqueezebox?
> You should install squeezelite somewhere and use it for testing, if you
> enable logging, you will get a lot more information.
> Also, in the LMS advanced settings, set logging to debug for
> network.protocol and network.protocol.slimproto

I don't know any way to connect those boxes to the server without
autodiscovery. 
But i was able to connect squeezelite as you told me.
'
here' (https://pastebin.com/mrH1g0mX) is my lms log



mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722
View this thread: http://forums.slimdevices.com/showthread.php?t=108622

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


Re: [SlimDevices: SqueezeCenter] Problems with LMS on Freenas 11.1 U1 (FreeBSD11.1/iocage)

2018-02-01 Thread mrMuppet

New Errors appear: 


Code:

[18-02-01 21:44:11.1042] Slim::Utils::Misc::msg (1250) Warning: 
[21:44:11.1040] Use of uninitialized value $name in hash element at 
/usr/local/share/logitechmediaserver/CPAN/arch/5.24/amd64-freebsd-thread-multi/Template/Context.pm
 line 100.
  [18-02-01 21:44:11.1044] Slim::Utils::Misc::msg (1250) Warning: 
[21:44:11.1043] Use of uninitialized value $shortname in substitution (s///) at 
/usr/local/share/logitechmediaserver/CPAN/arch/5.24/amd64-freebsd-thread-multi/Template/Context.pm
 line 116.
  [18-02-01 21:44:11.1045] Slim::Utils::Misc::msg (1250) Warning: 
[21:44:11.1044] Use of uninitialized value $name in concatenation (.) or string 
at 
/usr/local/share/logitechmediaserver/CPAN/arch/5.24/amd64-freebsd-thread-multi/Template/Context.pm
 line 168.
  [18-02-01 21:44:11.1047] Slim::Web::Template::SkinManager::_fillTemplate 
(337) Error: file error - : not found




mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722
View this thread: http://forums.slimdevices.com/showthread.php?t=108622

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


Re: [SlimDevices: SqueezeCenter] Problems with LMS on Freenas 11.1 U1 (FreeBSD11.1/iocage)

2018-02-01 Thread mrMuppet

I remember that i had problems with autodiscovery with my logitech (!)
Harmony system in connection with this iocage thing. Maybe 'this'
(https://github.com/Pmant/ioBroker.harmony/issues/20) has something to
do with it?



mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722
View this thread: http://forums.slimdevices.com/showthread.php?t=108622

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


Re: [SlimDevices: SqueezeCenter] Problems with LMS on Freenas 11.1 U1 (FreeBSD11.1/iocage)

2018-02-01 Thread mrMuppet

Roland0 wrote: 
> change Custom.pm line 42 from
> > 
Code:

  >   > } elsif ($dir eq 'strings' || $dir eq 'revision') {

> > 
> to
> > 
Code:

  >   > } elsif ($dir =~ /^(?:strings|revision|repositories)$/) {

> > 

Thank you very much for your help, Roland0 . Now the last error Message
is gone. But i still can't get connect to my server in the normal way.
The only thing i can do is to connect the device (radio) to
mysqueezebox.com and the i can take it from there to my server: But then
i can only control it by the webif. The Radio itself doesn't display
anything correct. It shows a cover last played on the mysqueezebox.com
and if i chose to open "my music" it tells me i should download the
serversoftware and install a server. I think it still doesn't discover
the server.

When i did this taking over of the radio to my local server (via
mysqueezebox.com) there appeared a new error msg:

Code:

[18-02-01 21:08:16.2716] Slim::Utils::Misc::msg (1250) Warning: 
[21:08:16.1171] prepare_cached(SELECT value FROM metainformation WHERE name = 
'isScanning') statement handle DBI::st=HASH(0x80a271420) still Active at 
/usr/local/share/logitechmediaserver/Slim/Music/Import.pm line 679.
  



Do you have any idea what i can do?



mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722
View this thread: http://forums.slimdevices.com/showthread.php?t=108622

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


Re: [SlimDevices: SqueezeCenter] Problems with LMS on Freenas 11.1 U1 (FreeBSD11.1/iocage)

2018-02-01 Thread mrMuppet

i found out that the both starting scripts (don't know the right term)
are very diffrent:

'warden' (https://pastebin.com/5rzjH6V2)

'iocage with ports' (https://pastebin.com/hFv3Cem1)

don't know if it has something to do with it...



mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722
View this thread: http://forums.slimdevices.com/showthread.php?t=108622

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


Re: [SlimDevices: SqueezeCenter] Problems with LMS on Freenas 11.1 U1 (FreeBSD11.1/iocage)

2018-02-01 Thread mrMuppet

Roland0 wrote: 
> Compare the Slim/Utils/OS/ directories of both versions. Any
> differences?
> 

There is a "Custom.pm" in the iocage but not in the warden one. Without
the file, LMS doesn't start Error: "mkdir
/usr/local/share/logitechmediaserver/Logs: Permission denied at
/usr/local/share/logitechmediaserver/Slim/Utils/Log.pm".  
Alle other files have the same filesize. i think they are identic.
Roland wrote: 
> 
> Edit OSDetect.pm line 134
> > 
Code:

  >   > 
  > $isLinux   = $os->get('os') eq 'Linux';
  > # add this
  > print STDOUT "OS: " .  $os->get('os') . " / OSname: " . $os->get('osName') 
. "\n";
  > 

> > 
> and check the output when starting LMS
Output is: OS: FreeBSD / OSname: FreeBSD


BTW. one of my tries that didn't lead to anything...:  in the logfile i
found: 
Code:

[18-02-01 18:49:05.1592] Slim::Utils::Misc::addFindBinPaths (161) not 
adding /usr/local/share/logitechmediaserver/Bin/amd64-freebsd-thread-multi - 
does not exist
  [18-02-01 18:49:05.1594] Slim::Utils::Misc::addFindBinPaths (161) not adding 
/usr/local/share/logitechmediaserver/Bin/freebsd - does not exist


I copied the dir "i386-freebsd-64int" that is at exacly this position
from warden to iocage. Leads to

Code:

[18-02-01 18:54:50.5752] Slim::Utils::Misc::addFindBinPaths (155) adding 
/usr/local/share/logitechmediaserver/Bin/amd64-freebsd-thread-multi
  [18-02-01 18:54:50.5753] Slim::Utils::Misc::addFindBinPaths (155) adding 
/usr/local/share/logitechmediaserver/Bin/freebsd




mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722
View this thread: http://forums.slimdevices.com/showthread.php?t=108622

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


Re: [SlimDevices: SqueezeCenter] Problems with LMS on Freenas 11.1 U1 (FreeBSD11.1/iocage)

2018-02-01 Thread mrMuppet

Roland0 wrote: 
> This most likely means that the platform detection has an issue, and/or
> that there are no defaults for this platform. Check which platform LMS
> thinks it's running on (see Slim/Utils/OSDetect.pm and
> Slim/Utils/OS/*.pm)

Thanks for your advice. Now I've looked in these files but don't know
how to find the system out. In the setup page its detected as 

Code:

Betriebssystem: FreeBSD - DE - utf8
  Plattformarchitektur: amd64-freebsd
  Perl-Version: 5.24.3 - amd64-freebsd-thread-multi



suspicious seems to be the LMS Server Version: 
Code:

Logitech Media Server Version: 7.9.1 - TRUNK @ UNKNOWN



If if compare it to the info my old LMS-install in a warden-jail (no
iocage-jail), there a some little differences:

(old, working) warden: 

Logitech Media Server Version: 7.9.1 - 1499900819 @ Mon Jul 24
04:09:37 UTC 2017
Hostname: LMS_v4
IP-Adresse des Servers: 192.168.178.156
Server-HTTP-Portnummer: 9000
Betriebssystem: freebsd - DE - UTF-8
Plattformarchitektur: amd64-freebsd
Perl-Version: 5.24.2 - amd64-freebsd-thread-multi

(new, not working) iocage:

Logitech Media Server Version: 7.9.1 - TRUNK @ UNKNOWN
Hostname: lms_v2
IP-Adresse des Servers: 192.168.178.168
Server-HTTP-Portnummer: 9000
Betriebssystem: FreeBSD - DE - utf8
Plattformarchitektur: amd64-freebsd
Perl-Version: 5.24.3 - amd64-freebsd-thread-multi



mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722
View this thread: http://forums.slimdevices.com/showthread.php?t=108622

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


Re: [SlimDevices: SqueezeCenter] Problems with LMS on Freenas 11.1 U1 (FreeBSD11.1/iocage)

2018-02-01 Thread mrMuppet

Ok. I reset the radio, and was able to overtake it from mysqueezebox to
my local server. But now it is in a kind of meta stadium: I can send
songs to it from my servers ui and they are played on the radio, but the
radio itself doesn't recognize it: when I go to "my music" it shows me I
should download the server software and when I press the homebutton to
show the actually played song I get the error "pling".

Anyone who knows what to do now?



mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722
View this thread: http://forums.slimdevices.com/showthread.php?t=108622

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


[SlimDevices: SqueezeCenter] Problems with LMS on Freenas 11.1 U1 (FreeBSD11.1/iocage)

2018-01-24 Thread mrMuppet

I finally get a build of LMS via ports to work (you have to disable the
tests in the LMS options), but i still have problems with the server.
Even when the installation process is much easier than 'before '
(http://forums.slimdevices.com/showthread.php?104122-How-to-Installing-LMS-7-9-nightly-in-a-FreeBSD-jail-on-FreeNAS-9-3),
its just 
Code:


  LMS
  portsnap fetch extract
  cd /usr/ports/.../logitechmediaserver/
  (tests off)
  make install clean
  echo 'logitechmediaserver_enable="YES"' >> /etc/rc.conf
  service logitechmediaserver start
  

the server is not completely working as it should: I was only able to
connect two of my Squeezeboxes (touch and radio). The second radio was
not able to find the server. But via webif i was able to start some
spotty play on the radio and i was able to listen. But the display on
the radio still tells me i couldn't find any server. Very strange.
Another thing i found out is: the old installation just has three open
ports: 3483, 9000, 9090
But with the new "ports"-pkg i get 21,22,111,139,445,2049,6000
additionally to the 3483,9000,9090

Anyone who uses the ports version of LMS, too? Whats wrong with the
discovery and why are there so many open ports?



mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722
View this thread: http://forums.slimdevices.com/showthread.php?t=108622

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