YunoHost-Apps / airsonic_ynh

Airsonic package for YunoHost
https://airsonic.github.io/
GNU General Public License v3.0
9 stars 7 forks source link

Unable to login with user after initial install #17

Closed GiantZOC closed 4 years ago

GiantZOC commented 4 years ago

Hello, I just did a fresh install of Airsonic and am unable to login. I tried logging in through SSO and through the site directly with my user. I get the message Incorrect username or password. I got a more detailed error message through SSO which I have attached.

Screenshot from 2020-01-03 16-28-27

I found some related errors on the Airsonic page but they are unresolved. It might just be an issue with the docker image. https://github.com/airsonic/airsonic/issues/893 https://github.com/airsonic/airsonic/issues/1047

kay0u commented 4 years ago

Hi, Which Yunohost version you use?

GiantZOC commented 4 years ago

Hello, It was on a fresh install of yunohost version 3.6.5.3.

GiantZOC commented 4 years ago

I did some further digging into the issue. It looks like the SSO is not working for me. I tested SSO with another application and it was working fine. I see that the script is setting the admin password to some random value. I also tried a password reset but the SMTP settings are not configured.

GiantZOC commented 4 years ago

I was able to login by providing my username instead of my email. I also got the SMTP working by altering the airsonic.properties file manually.

kay0u commented 4 years ago

Thank you for your feedback!

Ha yes indeed, you have to use your username. If you want to patch this, PR are welcome :-)