Headless install howto

For help and support with Linux-specific issues
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
Dbbd
Posts: 1
Joined: Sat Aug 03, 2019 10:23 pm

Headless install howto

Post by Dbbd » Sat Aug 03, 2019 10:32 pm

I have installed UMS on. Fedora headless server. Naturally I started UMS with headless parameter.
I configured two directories as shared folders, both in the .config/UMS/UMS.config and in the UMS.sh config file.
I get no files serviced.
The howto talks about how to report problems from headfull installs.
Basically I have never seen the config screens. Is there a way to serve those via http?

Dan

Nadahar
Posts: 1479
Joined: Tue Jun 09, 2015 5:57 pm

Re: Headless install howto

Post by Nadahar » Sat Aug 03, 2019 11:38 pm

Headless means purely textfile based configuration I'm afraid. There's no point in editing "UMS.sh", that's not where the configuration is stored. ".config/UMS/UMS.conf" is where it all happens, but you probably don't have the default configuration file available (depending how how you did the installation). You can find the "default" configuration file with descriptions here: https://github.com/UniversalMediaServer ... s/UMS.conf

That said, there's an important to be aware of that breaks with how Linux software "usually works". UMS reads the configuration file at startup, keeps it in memory and doesn't reload it if it's modified. Sometimes UMS will overwrite the configuration file with what it has in memory, so the likelihood that whatever changes you make are overwritten are relatively good.

You should therefore stop UMS before editing this file, and then start it again once you're done editing the configuration.

In addition, there are some steps that should be taken to make sure 3. party software needed by UMS is in place for Linux. An attempt at making a description of this can be found here: https://github.com/UniversalMediaServer ... structions

While it doesn't matter if you do, you don't have to specify the "headless" command-line option. UMS will detect this because creating a GUI fails. The "headless" option is only needed if you for some reason wants UMS to run in headless mode despite that a graphical environment is present (so that a GUI can be created).

User avatar
Chuck_Arch_Ums
Posts: 13
Joined: Sun Sep 01, 2019 1:46 am

Re: Headless install howto

Post by Chuck_Arch_Ums » Wed Sep 18, 2019 11:11 am

I don't kown if it working by now, but if not can you upload your UMS.conf and UMS.sh.
It will help us find something that may be wrong.

Post Reply