Jellyfin LDAP Failure

What app is this about, and its version: Jellyfin 10.11.9
What YunoHost version are you running: 12.1.40.1
What type of hardware are you using: Other(?)

Describe your issue

Hi All,

Unable to login to Jellyfin, states that the server is unavailable.
Searched around and there seems to be an issue with Jellyfin and the Jellyfin LDAP plugin.

If you rollback to 10.11.8 it works fine apparently. I am unable to test as I have a fresh install of Yunohost.

Is there anyway for me to install the previous version of Jellyfin until this is resolved? I am sure other Yunohost users will also run into issues.

Share relevant logs or error messages

System.MissingMethodException: Method not found: ‘System.Threading.Tasks.Task MediaBrowser.Controller.Library.IUserManager.RenameUser(Jellyfin.Database.Implementations.Entities.User, System.String)’.

Just as an update, the LDAP plugin for Jellyfin has been updated to address the issue.

Stop the Jellyfin server
Download the latest .zip file, extract it into the Jellyfin Plugins LDAP folder
/home/yunohost.app/jellyfin/plugins/LDAP Authentication
Start the Jellyfin server

I tried the above and at first it looked like it worked but it wasn’t giving me admin settings. I restarted the Jellyfin service again and it all failed.

Back to square one.

I’m currently in the same situation. For some reason I still have access to Jellyfin with normal user accounts, but it fails with admin accounts.

The bug will be resolved with v10.11.9~ynh2. It will be published in the catalog in a few hours.

If you cannot wait, you can force it with yunohost app upgrade jellyfin -u https://github.com/YunoHost-Apps/jellyfin_ynh.

1 Like

Thank you.
I have run the update and can log in using regular user account but unable to log in as an admin.

I tried elevating a user account that logged in normally to admin and it isn’t working.

Please share the Jellyfin service log.

You will see that there were some login attempts with incorrect username password. Those were tests. It recognised the admin account password was incorrect but won’t seem to login at all with correct credentials.

I don’t have this issue, but I think the latest Jellyfin release fixes it. Could you try it?

yunohost app upgrade jellyfin -u https://github.com/YunoHost-Apps/jellyfin_ynh/tree/testing --debug

I’ve tested and the upgrade works.

EDIT: I’ve adapted the link to reflect the merge to the testing branch

Thank you @Tho and @tituspijean

After the update I was able to log in but it was logging in as a normal account, not admin.I signed out and tried again but then it failed again like above.

I can sign in with a normal account, sign out then still sign in again without issue.It is perplexing!!

I have tried completely uninstalling Jellyfin and reinstalling, still no luck.

This was a fresh install as I only just came back to using Yunohost. So I have never had a chance to log in.

If someone created a new admin account, could they test and see if this happens for them?

I see there is also a Github issue logged for the same thing.

I have the same problem, and this update (10.11.10) doesn’t fix it

Unfortunately it seems to be an upstream issue that has to be fixed by Jellyfin [Bug] Infinite hang on login for existing LDAP users when admin status diverges (AsyncKeyedLocker deadlock, regression from 10.11.9) · Issue #16934 · jellyfin/jellyfin · GitHub

@Tho

Thank you very much for your help.

I ended up uninstalling the current version and installing 10.11.8 version.
Able to access admin and add my libraries.

Will wait and see what the next version brings.

hello, how do you install this older version? I didn’t find it on the repo…

Thanks!

@Lascar_s

sudo yunohost app install https://github.com/YunoHost-Apps/jellyfin_ynh/tree/f1fe08b54be5b0e36e42d9111b89e32b88d5134d

1 Like

:folded_hands:thanks!

1 Like