• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions can i change the admin user without issues?

     
    • 0 Vote(s) - 0 Average

    can i change the admin user without issues?

    Iacov
    Offline

    Member

    Posts: 64
    Threads: 22
    Joined: 2024 Feb
    Reputation: 0
    Country:Austria
    #1
    2024-03-10, 06:45 PM
    hey

    probably weird question, but couldn't find an answer and am too timid to try

    i have made the rookie mistake that "my" profile is also the admin account - which technically is not much of a big deal as the only other users are my wife and kdis, but following the zero trust approach, being admin and having easy pin enabled might be contradictory

    can i simply create a new admin user and remove the admin privileges off my profile without breaking anything?
    could there anywhere be configs or scheduled tasks that rely on the user that initially "created" them when the server was setup?

    thank you for your advice!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-03-10, 06:55 PM
    There can be only one admin account.

    If you want to change the name, go ahead.  Scheduled tasks aren't tied to a particular user.

    Go into the users dashboard and just change the name to admin or whatever and save.  Then create your "regular" user account with your name.

       
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Iacov
    Offline

    Member

    Posts: 64
    Threads: 22
    Joined: 2024 Feb
    Reputation: 0
    Country:Austria
    #3
    2024-03-10, 06:58 PM
    (2024-03-10, 06:55 PM)TheDreadPirate Wrote: There can be only one admin account.

    If you want to change the name, go ahead.  Scheduled tasks aren't tied to a particular user.

    Go into the users dashboard and just change the name to admin or whatever and save.  Then create your "regular" user account with your name.

    thank you
    would it also work to add a new user and make this user the admin? this way i could keep my watchlist etc (or so i think)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-03-10, 07:07 PM
    Negative. The account you created during the initial setup is THE admin. You could do some database hackery to change this, but that is not recommended. You can either manually tag shows/movies as watched or use something like Trakt to sync your watch status externally and then pull it into the new user.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Iacov
    Offline

    Member

    Posts: 64
    Threads: 22
    Joined: 2024 Feb
    Reputation: 0
    Country:Austria
    #5
    2024-03-10, 07:08 PM
    thank you, that clears it up for me and i save myself the trial and error then
    renaming and manually checking watched stuff, it is then xD
    thank you Smiling-face
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #6
    2024-03-10, 08:23 PM (This post was last modified: 2024-03-10, 08:25 PM by Efficient_Good_5784. Edited 2 times in total.)
    (2024-03-10, 07:07 PM)TheDreadPirate Wrote: Negative.  The account you created during the initial setup is THE admin.  You could do some database hackery to change this, but that is not recommended.  You can either manually tag shows/movies as watched or use something like Trakt to sync your watch status externally and then pull it into the new user.
    Is this true? Is there something in the code that has admin status hardwired to the first OG account?

    I also was in the same boat (created the first admin account as my personal account).
    I wanted to transfer over my watch status, so what I did was create a new account named "admin".
    I then gave it permission to manage the server (Dashboard > Users > Account > "Allow this user to manage to manage the server") as well as allowed it to delete media from all libraries and the rest of the admin things too.
    After that, I logged into the new admin account and disabled server management and media deletion for the original first account.

    Now my OG first account can't access the dashboard or modify/delete any media (except for playlists which is a bug that will be fixed soon).

    Also, I was playing around with this on my backup Jellyfin server before doing it on my main server, and I found out that Jellyfin would prevent you from doing the dumb action of removing server management rights from yourself if your the only one with server management rights. You'll just be presented with an infinite loading circle until you reload the page unless another account is present with access to the dashboard.

    My question is then, since you state that the first account is the admin account, is there somewhere in the database that still says my account is the admin, but with permissions disabled?
    My media library at this point still is small enough to where I can go and just mark things as watched, so would there be any benefit in just renaming the 2nd "admin" account I made to be my new personal account, then change the first OG account to actual "admin"?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-03-10, 11:48 PM
    I THINK in the database the first account has some special designation. I could be wrong, but that is my understanding. When you re-run the startup wizard to recover the "admin" account it would be this first account.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode