[Solved] UMS Won't Startup

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
User avatar
SubJunk
Lead Developer
Posts: 3805
Joined: Sun May 27, 2012 4:12 pm

Re: UMS Won't Startup

Post by SubJunk »

Ok thanks. I'm away from my Windows computer until Thursday so I'll try to figure out how to build UMS for Windows on my mac and try to get some test builds to you ASAP
User avatar
SubJunk
Lead Developer
Posts: 3805
Joined: Sun May 27, 2012 4:12 pm

Re: UMS Won't Startup

Post by SubJunk »

While I'm away from my Windows computer I'll post .jar files to test, so instead of running the installer I think you can just rename it to ums.jar and put it in the installation directory

https://www.universalmediaserver.com/up ... 42f4ca.jar
User avatar
SubJunk
Lead Developer
Posts: 3805
Joined: Sun May 27, 2012 4:12 pm

Re: UMS Won't Startup

Post by SubJunk »

Ok thanks, how about https://www.universalmediaserver.com/up ... 0dd5a7.jar ? It's not an actual fix but might give me more of an idea about the cause
User avatar
SubJunk
Lead Developer
Posts: 3805
Joined: Sun May 27, 2012 4:12 pm

Re: UMS Won't Startup

Post by SubJunk »

Also I see you've posted in this thread Nadahar, do you have any idea about it? Maybe I made a mistake when I merged that code in, or I missed some prior dependency
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: UMS Won't Startup

Post by Nadahar »

I'm not sure what the problem is, but I seem to vaguely remember something somewhat familiar that I might have fixed in DMS a long time ago. That said, it could be the merging as well.

I'd say that the easiest way would be to start UMS from the command line using "java.exe" instead of "javaw.exe":

Code: Select all

java -jar ums.jar trace
"javaw.exe" hides all the console output, but "java.exe" does not. That means that the log will be output directly to the console so that you can catch an error that happens before the logging system is up and running.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: UMS Won't Startup

Post by Nadahar »

This makes all the difference ;) The problem is caused by an invalid PATH environment variable. You shouldn't use double quotes inside the PATH, so just modify it and UMS (and other software that relies on the PATH) will start working.

https://www.architectryan.com/2018/03/1 ... indows-10/
https://www.java.com/en/download/help/path.xml
User avatar
SubJunk
Lead Developer
Posts: 3805
Joined: Sun May 27, 2012 4:12 pm

Re: UMS Won't Startup

Post by SubJunk »

Very nice, thanks both of you for the help and testing. Considering that it used to work, and that we seem to have a lot of people encountering the same problem, I am still interested in finding a way to support the invalid path.
If I make a proposed fix, can you please break your path again and test it, randomusername?
Post Reply