Closed cascooscuro closed 3 years ago
Never saw that one before.... Does it keep crashing or was this a one time thing?
Every time you click on show-artist/Artist Radio/Top Songs on play:Sub it crashes navidrome. Let me know if you need more logs or additional debugging. Thanks!
Can you please set loglevel=trace
, disable scan (scaninterval=0
) and try again? Send me the logs (not only the stacktrace) when/if it crashes. Thanks!
Just tested it again with dSub and it's also happening. Will collect logs and send it to you.
Thanks for the log. I'll take a look and get back to you. In the meantime, can you try enabling one of the integrations at a time (last.fm or spotify), to try to isolate the issue? Just confirming: Are you building it from source or using one of the pre-built binaries? Linux, right?
I'm using the linux pre-built binary. I will follow your suggestion and try one integration at a time.
Thanks.
In the meantime, can you try enabling one of the integrations at a time (last.fm or spotify), to try to isolate the issue?
- only Spotify integration enabled -> navidrome crashes
- only Last.fm integration enabled -> navidrome crashes
Will send you the logs.
Did you ever got any bio or image? Maybe it is a permission issue, as ND server will try to connect directly to these services, and maybe your systemd unit (or even your firewall/iptables) has some config to block it?
I'm afraid bio/image is never shown. systemd is the same as the one in contrib folder, except that /var/lib/navidrome is changed to /var/navidrome
And no iptables blocking traffic.
Hey @cascooscuro, I was not able to reproduce the error in my environment, but I did change some of the internals in 0.36.1. Can you give it a try, please?
Just tried it but it keeps crashing.
I'm running Linux Arch, kernel 5.9.1-arch1-1
Thanks for your help!
I managed to build it from source and now it works. There must be some incompatibility between the pre-built binary and my system.
I guess we can close this.
It is unfortunate that I'm not able to reproduce the issue and figure out what is going on, but I'm glad it you found a solution. But we will have to investigate a bit more, as this will probably happen with future releases as well. I'll keep this open and may "bug" you for more testing in the coming weeks, if you don't mind
Which Go version did you used to compile it?
Which Go version did you used to compile it?
version is: go1.15.3 linux/amd64, Linux Arch, kernel 5.9.1-arch1-1
I'll keep this open and may "bug" you for more testing in the coming weeks, if you don't mind
Sure! No problem, please ask whatever you need
The builds are using GoLang 1.15.2. I just built it with 1.15.3, can you try on your system: navidrome_v0.36.1-SNAPSHOT_Linux_x86_64.tar.gz
Before compiling it yourself, did you install from AUR or downloaded the binary?
The builds are using GoLang 1.15.2. I just built it with 1.15.3, can you try on your system: navidrome_v0.36.1-SNAPSHOT_Linux_x86_64.tar.gz
Same results. it keeps crashing when external integration API calls are triggered:
Before compiling it yourself, did you install from AUR or downloaded the binary?
I downloaded the binary
Hey @cascooscuro can you try using the official build, but setting this env var: GODEBUG=netdns=go
I have tried with and without the env var and in both cases it works.
I'm using Version: 0.39.0 (f2a8308)
Thanks!!
So the issue is resolved? Great! Hey @corinzio, can you please confirm it works for you so I can close this issue?
It doesn't crash but music stash app keep fetching data... In logs there is no line about calling lastfm or spotify api... I will check better tomorrow
Good Morning @deluan yesterday i tried the official build without the env var and the result was that the api call hangs.
Today i setted the environment variable GODEBUG=netdns=go
in the unit service file and everithing works fine.
the version of Navidrome i'm using is 0.39.0 (f2a8308)
Thanks and Happy new year!
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Version: 0.36.0 (ed84c5a)
Description: Running it for the first time (initial setup), while scanning navidrome crashed.
Not sure if it's related or not, but: