I’m trying to do a View State Copy in WebTools-NG, but it won’t work.
My server is on a Debian Linux system. My desktop is a Mac. I just yesterday downloaded the latest version of WebTools-NG and put it on my Mac. (My Debian media server does not have a GUI, so I can’t run it on there.) I run the program, sign in and it recognizes my Plex server. Then I pick Plex Media Server, then View State Copy. I pick my main account as a source and my only other account, a managed one, as the destination, then click “Copy.” I get a message like this:
Status: Processing
Info: TV Shows
Libraries to process: Processing library (1 of 1) - TV Shows
Start Time: 00:18:18
And that’s it. I changed the log level to debug and the log is at the end of the post. It looks like the DB is reporting a problem with the request sent to it.
What can I do to copy the view state from one user to another? This is the one task I need to do and the reason I downloaded this program. It looks like there’s a bug (although I realize I may need to change a setting or something). If there’s a way to just get into the DB and run a few queries by hand, I’m okay with that, too. I just want to get this copied to the new user.
[2023-11-05 00:00:42.781] [verbose] Show Rel Notes
[2023-11-05 00:00:42.781] [debug] Fetching Github Release Note
[2023-11-05 00:00:42.785] [verbose] [Home.vue] (UpdatePresent) Check for updates enabled
[2023-11-05 00:00:42.785] [debug] [wtutils.js] (Releases) Checking for Github updates
[2023-11-05 00:00:42.786] [info] [wtutils.js] (ExportDirPresent) Checking ExportPath
[2023-11-05 00:00:42.787] [info] [Home.vue] (CheckExportDir) ExportDir OK
[2023-11-05 00:00:43.164] [debug] [plextv.js] (fetchPlexServers) Response from fetchPlexServers recieved
[2023-11-05 00:00:43.519] [verbose] [wtutils.js] (Releases) Found release version v1.2.1
[2023-11-05 00:00:43.527] [verbose] [wtutils.js] (Releases) Found beta version v1.2.1.fbd58dc
[2023-11-05 00:00:43.527] [verbose] [Home.vue] (UpdatePresent) Github releases {“beta”:true,“rel”:true,“betadate”:“2022-12-04”,“reldate”:“2022-12-06”,“betadateFull”:“2022-12-04T21:04:55Z”,“reldateFull”:“2022-12-06T22:30:15Z”,“relver”:“1.2.1”,“relname”:“1.2.1”,“relurl”:“https://github.com/WebTools-NG/WebTools-NG/releases/tag/v1.2.1",“betaver”:“1.2.1.fbd58dc”,“betaname”:"1.2.1 (BETA)”,“betaurl”:“Release 1.2.1 (BETA) · WebTools-NG/WebTools-NG · GitHub”}
[2023-11-05 00:00:59.693] [debug] [wtutils.js] (hideMenu) Start menu check for pmsButler
[2023-11-05 00:00:59.696] [debug] [wtutils.js] (hideMenu) Menu returning false
[2023-11-05 00:00:59.697] [debug] [wtutils.js] (hideMenu) Start menu check for pmsDVR
[2023-11-05 00:00:59.697] [debug] [wtutils.js] (hideMenu) Menu returning true
[2023-11-05 00:00:59.697] [debug] [wtutils.js] (hideMenu) Start menu check for pmsFindMedia
[2023-11-05 00:00:59.697] [debug] [wtutils.js] (hideMenu) Menu returning false
[2023-11-05 00:00:59.698] [debug] [wtutils.js] (hideMenu) Start menu check for pmsLibMapping
[2023-11-05 00:00:59.698] [debug] [wtutils.js] (hideMenu) Menu returning true
[2023-11-05 00:00:59.698] [debug] [wtutils.js] (hideMenu) Start menu check for pmsSettings
[2023-11-05 00:00:59.699] [debug] [wtutils.js] (hideMenu) Menu returning false
[2023-11-05 00:00:59.699] [debug] [wtutils.js] (hideMenu) Start menu check for pmsViewState
[2023-11-05 00:00:59.699] [debug] [wtutils.js] (hideMenu) Menu returning false
[2023-11-05 00:00:59.699] [info] PMS Created
[2023-11-05 00:00:59.700] [debug] serverCheck is none
[2023-11-05 00:01:06.221] [info] [Headers.vue] (selected) Selected server: Brandy Hall
[2023-11-05 00:01:06.222] [verbose] [plextv.js] (checkServerConnect) Checking address for server: Brandy Hall
[2023-11-05 00:01:06.222] [verbose] [plextv.js] (checkServerConnect) Checking: https://172.16.7.4:32400
[2023-11-05 00:01:06.241] [verbose] [plextv.js] (checkServerConnect) Address https://172.16.7.4:32400 is alive, so check if local
[2023-11-05 00:01:06.242] [verbose] [plextv.js] (checkServerConnect) It’s a local server, so need to check if correct one
[2023-11-05 00:01:06.242] [verbose] [plextv.js] (checkServerConnect) Local server found as: https://172.16.7.4:32400
[2023-11-05 00:01:06.242] [info] [plextv.js] (checkServerConnect)Returning valid address as: https://172.16.7.4:32400
[2023-11-05 00:01:27.083] [info] [ViewState.vue] viewState Created
[2023-11-05 00:01:27.092] [info] [viewState.js] Start getUsers
[2023-11-05 00:01:27.093] [debug] Getting users from plex.tv
[2023-11-05 00:01:27.323] [debug] Response from fetchUsers recieved
[2023-11-05 00:01:27.324] [verbose] Users added to store
[2023-11-05 00:01:27.578] [debug] [viewState.js] Response from getServerToken recieved
[2023-11-05 00:01:27.588] [info] [viewState.js] Start getShareList
[2023-11-05 00:01:27.799] [debug] [viewState.js] Response from getShareList recieved
[2023-11-05 00:01:36.558] [info] [viewstate.js] (getLibs) Starting getLibs
[2023-11-05 00:01:36.559] [info] [viewstate.js] (getLibs) Both users not yet selected, so exit
[2023-11-05 00:01:38.654] [info] [viewstate.js] (getLibs) Starting getLibs
[2023-11-05 00:01:38.656] [debug] [viewstate.js] SrcUsr is owner
[2023-11-05 00:01:50.949] [info] [viewstate.js] Starting copyViewState
[2023-11-05 00:01:50.950] [info] [viewstate.js] (getLibs) Starting getLibs
[2023-11-05 00:01:50.951] [debug] [viewstate.js] SrcUsr is owner
[2023-11-05 00:01:50.952] [info] [viewstate.js] Starting getUsrTokens
[2023-11-05 00:01:51.173] [debug] [viewState.js] Response from getUsrTokens recieved
[2023-11-05 00:01:51.200] [info] etHelper (getFileName) OutFile ET is /Users/hal/Documents/WebTools-NG/Plex Media Server/View State Copy/Brandy Hall_TangoOversway-House_2023.11.05_12.01.51.csv.tmp
[2023-11-05 00:01:51.203] [info] Added CSV Header as: undefined
[2023-11-05 00:01:51.203] [info] [viewstate.js] (walkSourceUsr) Walking SourceUsr
[2023-11-05 00:01:51.205] [info] [viewstate.js] (processWatchedList) Process Watched list
[2023-11-05 00:01:51.205] [info] Getting amount of watched items
[2023-11-05 00:01:51.226] [error] [viewState.js] (getAmountOfWatched) getAmountOfWatched: “Bad Request


