New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot update remote players databases #271
Comments
hi, can you show the output from gonic when it first starts? it should print stuff like the version and a list of config options |
Yeah sure, sorry about that. Here it is:
|
ah, it looks like i messed up some logic for checking if the client is requesting a valid music folder. that part should be fixed now however something weird is still happening. the client is requesting music folder number 1 (0 indexed) but you only have one music folder (/music) i would expect to see a &musicFolderId=1 in your logs, but i don't very strange. or maybe could be something to do with the official subsonic app. i've never used that one btw. is there any reason you use it over dsub/audinaut? |
PS there's a nightly image building here when its done you can test the changes with the sentriz/gonic:nightly image then you can see if that issue is fixed, and also any more logs that may be relevant |
I quickly tried it out, the error is still happening with the Subsonic client:
As a sidenote, the UI of the admin page looks somewhat squashed in the nightly build:
While the official Subsonic app gives me the above error, I've just tried to install dsub, and it appears to be working fine actually. |
thanks, can you try it again from the official subsonic client when this is done? somehow the app is sending a malformed music folder index, by passing the out of bounds check, or something. with the latest change it should print the request url and params, even if theres a panic |
It looks like everything is working correctly now! |
Hi,
I'm currently receiving a panic every time I try to update the library of a subsonic player (official Android app).
In particular, the following error is logged:
I've tried to understand if this error was related to my music library, but after removing everything from it and updating gonic's library the error persisted. Even stranger, I had this error appear some time ago. After a while I tried other software for my music, but I eventually came back to gonic. For some time, everything worked. Then this error came back.
I don't really know how this error can be reproduced, but maybe the trace is informative enough for someone who's familiar with the code base (and Go).
I'm using the following docker-compose, if it is of any help. It should be fairly similar to the suggested one anyway.
The text was updated successfully, but these errors were encountered: