Closed seanvree closed 8 years ago
I'll have to look into the issue. The issue appears to come from a principal that can't be mapped to a known identity on your computer. I'll see if I can code around it.
thanks @TechieGuy12 ! Let me know if I can help
Version 0.1.3.1 is in the development branch. Can you try out that version to see if the problem still exists?
Okay, so If I just double click on the .exe, I don't get a prompt or anything, doesn't seem to stop the plex service. So how do I know it worked since there is no update available?
I then ran from an admin cmd prompt and I got the error: "no mapping between account names and security IDs was done"
LMK.
Hmm. When you double-click you should get a prompt indicating you aren't an administrator, and if you are it should display a window. There is something amiss with the accounts on the machine.
Can you try doing he following:
Yeah, no changes needed to be made there.
If you'd like, I can let you RDC into my machine so you can take a look? LMK. seanvree@hotmail.com.
Hi,
RDC into your machine is an option. I have updated the development branch with another change in code to lookup the user SID. Can you give it a try?
okay, so if I run the .exe by just double-clicking it or right clicking and "run as admin" I didn't get an error or any message all, so may have worked? How do I know if it ran?
I also tried opening a CMD prompt first and CD to it's directory then typing the.exe, and when I do that I get "The SID for the user was not specified"
Have you logged into the machine using the account that is running the Plex service? The issue seems to be that the updater can't find the SID associated with the Plex service account.
Well, the PLEX service in my case runs as a Windows Service. No user needs to be logged on. However, I have tried the administrator account, as well as another account that has admin privileges.
What user does the Plex Service run under? There should be an log in account associated with the Plex service. If so, try logging in with that account once and then log off again.
it's the "Local System" account, like all the other windows services. Everything I've set up on this system is under the admin account which is what I use to manage the system.
Thanks, knowing that the service runs under the Local System account is helpful. I will provide a new update that will hopefully work with the Local System account.
no prob @TechieGuy12 , like I said, if you'd like to RDC into my server, I can do that. Let me know. I'm Pacific Standard Time. Usually afternoon, and/or late PM is good for me.
I have updated the Development branch to work with the Local System account. I had to ensure my LocalAppDataPath registry key for Plex was set (if you changed it then it would be set under the Local System account).
BOOM!
I take it the update worked? If so, I will update the master version and close the issue.
Yes! I mean, it's hard to say if it will work when an update is released, but the .exe runs! May want to wait until a PLEX update comes out to see how it interacts with actually updating the service. Up to you.
I will close the issue because it refers to the identity mapping issue, which appears to be resolved. If you do get an error while upgrading, just open a new issue.
Hey man! Thanks for this! Awesome!
I tried to run the .exe but I get the following error:
"Some or all identity references could not be translated"
I tried running from a CMD prompt as well, no dice.
My system:
Windows 10 Enterprise
Plex running as a service
Ran with admin privileges
Any ideas?