UMS won't launch

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Galana
Posts: 7
Joined: Wed Dec 30, 2015 3:30 pm

UMS won't launch

Post by Galana »

I just did an update and it will not launch. I click and nothing happens.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: UMS won't launch

Post by Nadahar »

We need a bit more information. What OS, what version, how did you update?
Galana
Posts: 7
Joined: Wed Dec 30, 2015 3:30 pm

Re: UMS won't launch

Post by Galana »

Windows 10,
UMS-5.4.0-Java7.exe
Viridel
Posts: 25
Joined: Mon May 11, 2015 3:57 pm

Re: UMS won't launch

Post by Viridel »

Galana is a friend, and we have a similar setup (with some differences of course). My version won't load either, same result (click on the shortcut or the .exe, thinks about launching for a 1/2 second, then decides not to).

Both Windows 10, x64
RAM: Her 24, Me 48
CPU: Her i7, Me Xeon
Java: Her latest updated yesterday, Me most current (just checked for an update)

History: Her v5.2(ish) was working perfectly, got an alert for 5.3, so updated to that, and failed with same result as above. Uninstalled and fresh clean install of 5.4, and current result.
Me first installation since upgrading the OS.

In both our cases, we have been successful using it in the past, although I have had prior issues with it seeing my PS3 (resolved).
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: UMS won't launch

Post by Nadahar »

It doesn't give me much to go on, can you check the logfile if there's anything in it?

By default it's found in %programdata%\UMS and is called debug.log

If you rightclick the "start button", select run and then paste

Code: Select all

%programdata%\UMS
...the folder should open in explorer. If there's anything in the log dated after the upgrade, please attach the file to this thread.
Galana
Posts: 7
Joined: Wed Dec 30, 2015 3:30 pm

Re: UMS won't launch

Post by Galana »

I'm very sorry... I'm new to this.....

This is what is in the log file:
DEBUG 2015-12-29 20:48:19.911 [main] Base path set to file:///C:/ProgramData/UMS/UMS.conf
DEBUG 2015-12-29 20:48:19.928 [main] FileName set to UMS.conf
DEBUG 2015-12-29 20:48:19.928 [main] Base path set to C:\ProgramData\UMS
INFO 2015-12-29 20:48:19.937 [main] Language not specified, defaulting to OS language.
DEBUG 2015-12-29 20:48:19.951 [main] Default logfile folder set to: C:\ProgramData\UMS
DEBUG 2015-12-29 20:48:20.021 [main] LogBack started with configuration file: I:\Universal Media Server\logback.xml
DEBUG 2015-12-29 20:48:20.027 [main] Tue Dec 29 20:48:20 MST 2015
DEBUG 2015-12-29 20:48:20.027 [main] Reading cred.path: "C:\ProgramData\UMS\UMS.cred" (default: "")
DEBUG 2015-12-29 20:48:20.079 [main] Writing PID: 4424
DEBUG 2015-12-29 20:48:20.081 [main]
INFO 2015-12-29 20:48:20.081 [main] Starting Universal Media Server 5.4.0
INFO 2015-12-29 20:48:20.081 [main] Based on PS3 Media Server by shagrath, copyright 2008-2014
INFO 2015-12-29 20:48:20.081 [main] http://www.universalmediaserver.com
INFO 2015-12-29 20:48:20.082 [main]
INFO 2015-12-29 20:48:20.082 [main] Build: 1be8a2af9 (2015-12-28)
INFO 2015-12-29 20:48:20.082 [main] Java: Java HotSpot(TM) 64-Bit Server VM 1.8.0_66 64-bit by Oracle Corporation
INFO 2015-12-29 20:48:20.082 [main] OS: Windows 10 64-bit 10.0
INFO 2015-12-29 20:48:20.082 [main] Encoding: UTF-8
INFO 2015-12-29 20:48:20.082 [main] Memory: 1138 MB
INFO 2015-12-29 20:48:20.082 [main] Language: English (United States)
INFO 2015-12-29 20:48:20.082 [main]
INFO 2015-12-29 20:48:20.082 [main] Working directory: I:\Universal Media Server
ERROR 2015-12-29 20:48:20.088 [main] A serious error occurred during PMS init
java.io.IOException: Temporary folder isn't writable:R:\Temp\UMS
at net.pms.configuration.TempFolder.assertFolderIsValid(TempFolder.java:89) ~[ums.jar:5.4.0]
at net.pms.configuration.TempFolder.getSystemTempFolder(TempFolder.java:76) ~[ums.jar:5.4.0]
at net.pms.configuration.TempFolder.getTempFolder(TempFolder.java:40) ~[ums.jar:5.4.0]
at net.pms.configuration.TempFolder.getTempFolder(TempFolder.java:32) ~[ums.jar:5.4.0]
at net.pms.configuration.PmsConfiguration.getTempFolder(PmsConfiguration.java:720) ~[ums.jar:5.4.0]
at net.pms.PMS.displayBanner(PMS.java:301) [ums.jar:5.4.0]
at net.pms.PMS.init(PMS.java:408) [ums.jar:5.4.0]
at net.pms.PMS.createInstance(PMS.java:1062) [ums.jar:5.4.0]
at net.pms.PMS.main(PMS.java:1211) [ums.jar:5.4.0]
Viridel
Posts: 25
Joined: Mon May 11, 2015 3:57 pm

Re: UMS won't launch

Post by Viridel »

DEBUG 2015-12-29 21:10:31.708 [main] Base path set to file:///C:/ProgramData/UMS/UMS.conf
DEBUG 2015-12-29 21:10:31.742 [main] FileName set to UMS.conf
DEBUG 2015-12-29 21:10:31.742 [main] Base path set to C:\ProgramData\UMS
INFO 2015-12-29 21:10:31.750 [main] Language not specified, defaulting to OS language.
DEBUG 2015-12-29 21:10:31.769 [main] Default logfile folder set to: C:\ProgramData\UMS
DEBUG 2015-12-29 21:10:31.894 [main] LogBack started with configuration file: I:\UMS\logback.xml
DEBUG 2015-12-29 21:10:31.903 [main] Tue Dec 29 21:10:31 MST 2015
DEBUG 2015-12-29 21:10:31.903 [main] Reading cred.path: "C:\ProgramData\UMS\UMS.cred" (default: "")
DEBUG 2015-12-29 21:10:32.241 [main] Writing PID: 13080
DEBUG 2015-12-29 21:10:32.243 [main]
INFO 2015-12-29 21:10:32.243 [main] Starting Universal Media Server 5.4.0
INFO 2015-12-29 21:10:32.244 [main] Based on PS3 Media Server by shagrath, copyright 2008-2014
INFO 2015-12-29 21:10:32.244 [main] http://www.universalmediaserver.com
INFO 2015-12-29 21:10:32.245 [main]
INFO 2015-12-29 21:10:32.245 [main] Build: 1be8a2af9 (2015-12-28)
INFO 2015-12-29 21:10:32.245 [main] Java: Java HotSpot(TM) Client VM 1.8.0_66 32-bit by Oracle Corporation
INFO 2015-12-29 21:10:32.246 [main] OS: Windows 10 64-bit 10.0
INFO 2015-12-29 21:10:32.246 [main] Encoding: UTF-8
INFO 2015-12-29 21:10:32.247 [main] Memory: 1237 MB
INFO 2015-12-29 21:10:32.248 [main] Language: English (United States)
INFO 2015-12-29 21:10:32.248 [main]
INFO 2015-12-29 21:10:32.248 [main] Working directory: I:\UMS
ERROR 2015-12-29 21:10:32.255 [main] A serious error occurred during PMS init
java.io.IOException: Temporary folder isn't writable:R:\Temp\UMS
at net.pms.configuration.TempFolder.assertFolderIsValid(TempFolder.java:89) ~[ums.jar:5.4.0]
at net.pms.configuration.TempFolder.getSystemTempFolder(TempFolder.java:76) ~[ums.jar:5.4.0]
at net.pms.configuration.TempFolder.getTempFolder(TempFolder.java:40) ~[ums.jar:5.4.0]
at net.pms.configuration.TempFolder.getTempFolder(TempFolder.java:32) ~[ums.jar:5.4.0]
at net.pms.configuration.PmsConfiguration.getTempFolder(PmsConfiguration.java:720) ~[ums.jar:5.4.0]
at net.pms.PMS.displayBanner(PMS.java:301) [ums.jar:5.4.0]
at net.pms.PMS.init(PMS.java:408) [ums.jar:5.4.0]
at net.pms.PMS.createInstance(PMS.java:1062) [ums.jar:5.4.0]
at net.pms.PMS.main(PMS.java:1211) [ums.jar:5.4.0]


So there's something we have in common, and likely the issue - we both use a RAMdrive, and it seems to be erroring on that. Again though, we both had prior versions working, and if the RAMdrive was failing, we couldn't be writing to you now :lol:

I just went into the erroring folder, and it is being created with a Read-Only tag. I removed the R.O., and re-launched the program. It failed in the same way, and it's as if it re-generated the folder, once more as Read Only.
Last edited by Viridel on Wed Dec 30, 2015 3:56 pm, edited 1 time in total.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: UMS won't launch

Post by Nadahar »

Ok, the problem is identified, but I'm unsure of the cause. The temp folder (R:\Temp\UMS in this case) isn't writable. Any idea as to why that isn't writeable, or better yet why that is the temp folder? UMS gets the temp folder from Windows, and usually that's "C:\Users\<username>\AppData\Local\Temp\UMS". Do you have a custom configuration for the temp folder in your UMS.conf?
Viridel
Posts: 25
Joined: Mon May 11, 2015 3:57 pm

Re: UMS won't launch

Post by Viridel »

Nadahar wrote:Any idea as to why that isn't writeable?
Don't know, it's your program creating it ;)

Actually, it's not as glib an answer is it sounds. The folder is created on the launch of UMS. I've changed the attributes, and I've deleted it outright. It gets created as a R.O. folder upon the launch of the software.

And in follow-up to your addition, the RAMdrive is designated as the Windows Temp destination, right from boot. I would have to create an alternate condition for UMS to NOT use it.
Last edited by Viridel on Wed Dec 30, 2015 4:02 pm, edited 1 time in total.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: UMS won't launch

Post by Nadahar »

Can you attach UMS.conf from the same folder as the log file?
Post Reply