2024-02-25, 08:56 AM
(This post was last modified: 2024-02-25, 05:09 PM by Efficient_Good_5784. Edited 1 time in total.)
(2024-02-25, 03:46 AM)jamesatlinux Wrote: Wow! If you get locked out you are presented with:The documentation is giving you the command to make a copy of the database. You just need to replace the paths with the correct paths.
CAUTION
Manual changes to the database can destroy your instance beyond repair. to prevent this create a copy of your database before executing: cp /PATH/TO/JELLYFIN/DB/jellyfin.db /PATH/TO/JELLYFIN/DB/jellyfin.db.bck
I would suggest turning off the Jellyfin server before copying the database to avoid copying it while it's being modified.
(2024-02-25, 03:46 AM)jamesatlinux Wrote: I guess Jellyfin will be a fringe app. You have to learn Sqlite if you make a common mistake of locking yourself out. Not to mention that half of the tutorials are invalid since they changed where the database even is. SCARY!The documentation link provided earlier in this thread shows how to install sqlite3 on a Debian-based OS and what to do with it.
The hard part about finding the database file is finding where your Jellyfin config folder is located. Once you know where your config folder is at, the db files are located in the data folder. Use that path with sqlite3.