[Support] binhex - Libresonic


Recommended Posts

  • Replies 74
  • Created
  • Last Reply

Top Posters In This Topic

So something very strange is happening today.  Yesterday I spent all that time trying to get my playlists imported which finally worked based on @binhex's suggestion.  I played music for about an hour or so in the web player and everything was working fine.  Also tested it in D-Sub on my Android and everything works there as well.  However, today I wake up and the web player will not play any songs at all.  D-Sub will play the songs fine but the web player will not play anything from any web browser.  I've attached my libresonic.log file in case that is helpful but I don't understand what could have happened between yesterday and today to cause this to stop working as I haven't touched anything.

 

 

libresonic.log

Edited by IamSpartacus
Link to comment
31 minutes ago, IamSpartacus said:

So something very strange is happening today.  Yesterday I spent all that time trying to get my playlists imported which finally worked based on @binhex's suggestion.  I played music for about an hour or so in the web player and everything was working fine.  Also tested it in D-Sub on my Android and everything works there as well.  However, today I wake up and the web player will not play any songs at all.  D-Sub will play the songs fine but the web player will not play anything from any web browser.  I've attached my libresonic.log file in case that is helpful but I don't understand what could have happened between yesterday and today to cause this to stop working as I haven't touched anything.

 

 

libresonic.log

 

clear cookies? try different browser also.

Link to comment
13 hours ago, IamSpartacus said:

Weird.  Turns on if I access the web client via IP (http://serverip:4040) I can play files fine.  If I access via my reverse proxy hostname (music.domainname.com) I can't play music.  This is an odd one.

 

i know nothing about reverse proxying, but its possible that the web player uses a different port perhaps that needs to be defined as well in order to reverse proxy it to libresonic, i have no idea how this is done, might be worth asking on the support thread for the reverse proxy docker container your running.

Link to comment
35 minutes ago, jonathanm said:

Have you tried the suggestions at this site?

https://github.com/Libresonic/libresonic/issues/119

 

I have not because my reverse proxy is working fine.  I can access libresonic both locally and externally via my hostname (music.domain.com).  Both locally and remotely I can play music via the hostname from DSub and from some of my local workstations but my main PC will only play music in the web player (though it can still access the interface just fine) if I access it via http://serverip:4040.

 

So clearly I'm having an issue related to my PC I just don't get what it could be.  What does the webplayer use, java?

 

EDIT:  Got it working by clearing the cache on my DNS server and restarting the service.

Edited by IamSpartacus
Link to comment
  • 2 weeks later...
On 6/23/2017 at 10:34 AM, IamSpartacus said:

 

I have not because my reverse proxy is working fine.  I can access libresonic both locally and externally via my hostname (music.domain.com).  Both locally and remotely I can play music via the hostname from DSub and from some of my local workstations but my main PC will only play music in the web player (though it can still access the interface just fine) if I access it via http://serverip:4040.

 

So clearly I'm having an issue related to my PC I just don't get what it could be.  What does the webplayer use, java?

 

EDIT:  Got it working by clearing the cache on my DNS server and restarting the service.

@IamSpartacus I've been having the exact same issue since about the same time as you.  However, I've restarted my DNS resolver a couple of times (I have a pfsense box with DNS pointed at Google) and I can't seem to get the web player working again.  

 

Has anyone else had this issue?  I also have no problems with my reverse proxy otherwise and accessing music through the local ip works fine.  DSub is still good to go as well.  Everything is fine until I go through https://music.domain.com

 

EDIT: Oh boy, my turn to say I finally got it working.  I was searching through the console on Chrome to figure out what the issue was and found a very helpful reddit post that mirrored some of the console errors.  I put everything from the suggestion after the proxy_pass into my nginx config for music.domain.com  and got the player working again! 

Edited by noja
solution found
Link to comment

I just hit an odd situation that may or may not be related to Libresonic, so I'm asking to see if there's anything here that might be worth pursing.

 

As detailed in my post here, I discovered an odd directory in /mnt/user that I've not created manually. I have a ".Trash-99" directory there that was created on 4 Jun 2017. There was a suggestion in my post that it might be something created by Ubuntu as a recycle bin and if something had a mapping to /mnt/user, it might be the culprit for creating this. As Libresonic is one of two dockers that have a mapping to /mnt/user, I'm asking here.

 

A) Has anyone else seen this directory created?

B) Was there a release on or about 4th June that may have unintentionally included creating a Recycle Bin?

C) Does anyone have any thoughts at all as to any other cause for this directory to have appeared?

 

 

 

Link to comment
On 09/07/2017 at 6:08 PM, FreeMan said:

I just hit an odd situation that may or may not be related to Libresonic, so I'm asking to see if there's anything here that might be worth pursing.

 

As detailed in my post here, I discovered an odd directory in /mnt/user that I've not created manually. I have a ".Trash-99" directory there that was created on 4 Jun 2017. There was a suggestion in my post that it might be something created by Ubuntu as a recycle bin and if something had a mapping to /mnt/user, it might be the culprit for creating this. As Libresonic is one of two dockers that have a mapping to /mnt/user, I'm asking here.

 

A) Has anyone else seen this directory created?

B) Was there a release on or about 4th June that may have unintentionally included creating a Recycle Bin?

C) Does anyone have any thoughts at all as to any other cause for this directory to have appeared?

 

 

 

 

A) nope i havent

B) nope

C) another docker or a plugin perhaps?

Link to comment
On 7/6/2017 at 8:55 AM, noja said:

@IamSpartacus I've been having the exact same issue since about the same time as you.  However, I've restarted my DNS resolver a couple of times (I have a pfsense box with DNS pointed at Google) and I can't seem to get the web player working again.  

 

Has anyone else had this issue?  I also have no problems with my reverse proxy otherwise and accessing music through the local ip works fine.  DSub is still good to go as well.  Everything is fine until I go through https://music.domain.com

 

EDIT: Oh boy, my turn to say I finally got it working.  I was searching through the console on Chrome to figure out what the issue was and found a very helpful reddit post that mirrored some of the console errors.  I put everything from the suggestion after the proxy_pass into my nginx config for music.domain.com  and got the player working again! 

 

@noja Sorry for not getting back to you, I somehow missed this reply.  I found the EXACT same reddit post last week and it fixed my issue as well.  Nice find!

Link to comment
  • 1 month later...

I'm using UltraSonic on my Android phone and two kids using Firefox who can access my Libresonic docker just fine. The third kid(-in-law) cannot play videos on her laptop, though she can play music, while her husband can play videos just fine on his laptop.

 

On her machine (Win10), she gets the error:

Quote

The video could not be loaded, either because the server or network failed or because the format is not supported: http://url:4040/steram?id=1234&player=5&maxBitRate=2000&timeOffset=0

 

It's an older laptop that apparently "upgraded itself" from Win7 to Win10 - they're in Alaska and I'm not, so I'm not sure what happened there. Is there possibly some codec missing on her machine to play the videos? I just tried installing VLC (including the Firefox plugin) thinking that may help, but, unfortunately, it didn't. Any other suggestions?

 

EDIT: I realize this issue has nothing to do with the docker itself and I'm not trying to imply that it does. I'm just hoping that someone here may have seen something like this and have a suggestion for a solution.

 

Another EDIT: I'm running Win10, one kid is on Win7, and an another is on a Mac. Locally, I can connect my Win10 machine to the internal unRAID IP, OR via my external URL and it works just fine. On the non-functional machine, she's got Win10, and I've tried playing in Edge, Chrome and Firefox, none work

Edited by FreeMan
Clarification
Link to comment
  • 3 months later...

Just updated my docker and am getting this while attempting to start it:

 

Ive reverted back a version already but just thought Id report what I saw.

 

Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2017-12-07 08:24:04.362925 [info] Host is running unRAID
2017-12-07 08:24:04.403486 [info] System information Linux b2e4a88fdb68 4.9.30-unRAID #1 SMP PREEMPT Fri May 26 13:56:36 PDT 2017 x86_64 GNU/Linux
2017-12-07 08:24:04.463534 [info] PUID defined as '99'
2017-12-07 08:24:04.517825 [info] PGID defined as '100'
2017-12-07 08:24:04.583641 [warn] UMASK not defined (via -e UMASK), defaulting to '000'
2017-12-07 08:24:04.628122 [info] Permissions already set for volume mappings
2017-12-07 08:24:04.693152 [info] CONTEXT_PATH defined as '/'
2017-12-07 08:24:04.776092 [info] Starting Supervisor...
2017-12-07 08:24:05,049 CRIT Set uid to user 0
2017-12-07 08:24:05,049 INFO Included extra file "/etc/supervisor/conf.d/libresonic.conf" during parsing
2017-12-07 08:24:05,053 INFO supervisord started with pid 7
2017-12-07 08:24:06,055 INFO spawned: 'start-script' with pid 47
2017-12-07 08:24:06,056 INFO reaped unknown pid 8
2017-12-07 08:24:06,078 DEBG 'start-script' stdout output:
[info] transcoder binaries already in /config/transcode...

2017-12-07 08:24:06,078 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-12-07 08:24:06,087 DEBG 'start-script' stderr output:
Error: Unable to access jarfile /opt/libresonic/libresonic.war

2017-12-07 08:24:06,087 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47774687669496 for <Subprocess at 47774687669784 with name start-script in state RUNNING> (stdout)>
2017-12-07 08:24:06,087 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 47774696970432 for <Subprocess at 47774687669784 with name start-script in state RUNNING> (stderr)>
2017-12-07 08:24:06,087 INFO exited: start-script (exit status 1; not expected)
2017-12-07 08:24:06,088 DEBG received SIGCLD indicating a child quit

 

Edited by thebeae
Link to comment
19 hours ago, thebeae said:

Just updated my docker and am getting this while attempting to start it:

 

Ive reverted back a version already but just thought Id report what I saw.

 


Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2017-12-07 08:24:04.362925 [info] Host is running unRAID
2017-12-07 08:24:04.403486 [info] System information Linux b2e4a88fdb68 4.9.30-unRAID #1 SMP PREEMPT Fri May 26 13:56:36 PDT 2017 x86_64 GNU/Linux
2017-12-07 08:24:04.463534 [info] PUID defined as '99'
2017-12-07 08:24:04.517825 [info] PGID defined as '100'
2017-12-07 08:24:04.583641 [warn] UMASK not defined (via -e UMASK), defaulting to '000'
2017-12-07 08:24:04.628122 [info] Permissions already set for volume mappings
2017-12-07 08:24:04.693152 [info] CONTEXT_PATH defined as '/'
2017-12-07 08:24:04.776092 [info] Starting Supervisor...
2017-12-07 08:24:05,049 CRIT Set uid to user 0
2017-12-07 08:24:05,049 INFO Included extra file "/etc/supervisor/conf.d/libresonic.conf" during parsing
2017-12-07 08:24:05,053 INFO supervisord started with pid 7
2017-12-07 08:24:06,055 INFO spawned: 'start-script' with pid 47
2017-12-07 08:24:06,056 INFO reaped unknown pid 8
2017-12-07 08:24:06,078 DEBG 'start-script' stdout output:
[info] transcoder binaries already in /config/transcode...

2017-12-07 08:24:06,078 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-12-07 08:24:06,087 DEBG 'start-script' stderr output:
Error: Unable to access jarfile /opt/libresonic/libresonic.war

2017-12-07 08:24:06,087 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47774687669496 for <Subprocess at 47774687669784 with name start-script in state RUNNING> (stdout)>
2017-12-07 08:24:06,087 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 47774696970432 for <Subprocess at 47774687669784 with name start-script in state RUNNING> (stderr)>
2017-12-07 08:24:06,087 INFO exited: start-script (exit status 1; not expected)
2017-12-07 08:24:06,088 DEBG received SIGCLD indicating a child quit

 

 

Thanks for the report, fyi there is no change in the version of libresonic, this was purely a build script change from me that triggered the build, so you wont notice any difference in the version, ive just triggered a new build so this should fix the issue.

Link to comment

The 6.2-04 build of the docker seems to have broken things.  The docker starts, but I can't connect to the web interface (Firefox just says, "Unable to connect") on <serverIP>:4040, just as I always have. It was working fine on Wednesday.

 

I'm drawing a total blank on the rest of the "docker exec..." command to get into the container to get the logs. I'll post them as soon as someone smacks me with the clue bat (or my mad search skillz improve).


Somebody's virtual clue-bat worked - I clicked the "log" button on the Dockers page. It's been one of those days...

 

Log:

Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2017-12-08 20:54:07.666031 [info] Host is running unRAID
2017-12-08 20:54:07.732409 [info] System information Linux 57c3547f7537 4.9.30-unRAID #1 SMP PREEMPT Fri May 26 13:56:36 PDT 2017 x86_64 GNU/Linux
2017-12-08 20:54:07.847831 [info] PUID defined as '99'
2017-12-08 20:54:07.897534 [info] PGID defined as '100'
2017-12-08 20:54:07.970607 [info] UMASK defined as '000'
2017-12-08 20:54:08.014226 [info] Permissions already set for volume mappings
2017-12-08 20:54:08.057310 [warn] CONTEXT_PATH not defined (via -e CONTEXT_PATH), assuming site runs from '/'
2017-12-08 20:54:08.123936 [info] Starting Supervisor...
2017-12-08 20:54:08,344 CRIT Set uid to user 0
2017-12-08 20:54:08,344 INFO Included extra file "/etc/supervisor/conf.d/libresonic.conf" during parsing
2017-12-08 20:54:08,349 INFO supervisord started with pid 5
2017-12-08 20:54:09,352 INFO spawned: 'start-script' with pid 45
2017-12-08 20:54:09,352 INFO reaped unknown pid 6
2017-12-08 20:54:09,371 DEBG 'start-script' stdout output:
[info] transcoder binaries already in /config/transcode...

2017-12-08 20:54:09,371 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-12-08 20:54:09,374 DEBG 'start-script' stderr output:
Error: Unable to access jarfile /opt/libresonic/libresonic.war

2017-12-08 20:54:09,375 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 47678128258296 for <Subprocess at 47678128258584 with name start-script in state RUNNING> (stdout)>
2017-12-08 20:54:09,375 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 47678137645248 for <Subprocess at 47678128258584 with name start-script in state RUNNING> (stderr)>
2017-12-08 20:54:09,375 INFO exited: start-script (exit status 1; not expected)
2017-12-08 20:54:09,375 DEBG received SIGCLD indicating a child quit

 

It looks like I've got the same issue thebeae had. I did a force update (I read your last post to mean that you'd pushed a fix), but that doesn't seem to have resolved anything.

Edited by FreeMan
Attack of the clue-bat
Link to comment
On 4/10/2017 at 2:49 PM, binhex said:

This was an error in the release from the Libresonic team, this has now been corrected and a new image has been built and tested.

 

Whilst i can understand it is annoying that it "keeps breaking", you have two options, firstly dont do auto updates, is there a good reason why you need beta3 over beta 2?, secondly this is currently tagged as beta software (as can be seen from the release name) so you may see teething problems whilst they get to a stable release structure, you can always instead stay on the non beta releases, see a list of tags here for available versions:- https://hub.docker.com/r/binhex/arch-libresonic/tags/ and here for how to use tags to specify the version See Q11:- 

 

 

The choice is yours in the end, but manual testing is out of the question, i manage a LOT of docker images, and i just dont have the time to manually test each release that comes along, i will look to see if i can automate some testing though in the future and see if this is possible.

 

 

@FreeMan See the above quote on those instructions from earlier in the thread.

Link to comment

ok guys it really is fixed now :-), as ive mentioned earlier, don't expect anything new, this is the same release as was released several months ago, just code change to build it, nothing more.

 

incase you aren't aware, development on libresonic has slowed (last commit to master was 25th may) as most of the dev's moved over to airsonic, if you see issues or you just want to see what the latest features added are then you might consider a switch over:-

 

 

Link to comment
  • 1 year later...

Does anyone know why when i go to the album and click on change for the album art it says it successfully downloaded it but it doesn't change it. I tried it on several albums it pulls up the album art but when i click on the desired one it says successfully downloaded but it doesn't change it or save it. Thanks.

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.