almost there @dbirch how can I stop pms while keeping the unraid container consul up?
@ChuckPa Sorry to bother you and thank you for your help. How can I stop PMS while running your script?
Plex Media Server Database Repair Utility (BINHEX)
Version v1.0.3
Select
1 - ‘stop’ - (Not available. Stop manually)
2 - ‘automatic’ - database check, repair/optimize, and reindex in one step.
3 - ‘check’ - Perform integrity check of database
4 - ‘vacuum’ - Remove empty space from database
5 - ‘repair’ - Repair/Optimize databases
6 - ‘reindex’ - Rebuild database database indexes
7 - ‘start’ - (Not available. Start manually)
8 - ‘import’ - Import watch history from another database independent of Plex. (risky)
9 - ‘replace’ - Replace current databases with newest usable backup copy (interactive)
10 - ‘show’ - Show logfile
11 - ‘status’ - Report status of PMS (run-state and databases)
12 - ‘undo’ - Undo last successful command
99 - exit
Enter command # -or- command name (4 char min) : 1
Start/Stop feature not available
Binhex, I think, requires you to kill -15 <plex_pid>
It’s not an elegant container. It’s nitty gritty get it done
I didn’t add it yet because I’m not 100% certain how to.
I use the Plex image on Unraid. The binaries are all from Plex, inc . the only change is the directory structure and how it’s controlled
Hi-
I got the script to work and import watch history. However it’s not showing previous play history on the admin account for any users. Is there anyway to do this or is that all I’m going to get?
Thanks!
I exported the entire table and then import it as extracted.
Are these managed users ?
I don’t know how managed users are tracked. If they’re in another table then I’ll need to figure that out.
There is only one home user. Every account has their watch history working. They only issue is I cannot see play history in plex. Thanks for helping and let me know if you need more logs.
I don’t think logs will help at this point.
I need to speak to the folks who know the DB and where all the history is stored.
If I’m missing something, It’ll be easy to add.
I’m surprised the admin (server owner) is not aligning. That should be the easiest…
(Account #1 in the DB and common to everyone)
I have that db I am the admin. I can send you the old and new db privately
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.