Page 1 of 2
Hiding directories
Posted: Sun Apr 26, 2015 10:14 am
by xabertheblade
Ununtu Server 14.10, Java8, ums5.1.2
Just got this server up and running, runs beautifully straight out of the box! I do have a couple of issues however that I can't seem to 'conf' away...
My PS3/PS4/PC/other dlna players are all listing EVERY directory on my system. i.e. /bin, /boot, /dev, etc.... I have told it to hide empty folders, I have listed everything in the 'Ignore Folders' and it still shows every single directory. I don't want anyone digging through my files nor do I want anyone to have to dig just to find the media. I also tried to config the 'Virtual Folders' within the UMS.conf and they do not show up or exist. Do these settings actually work under linux, is there any way to hide all this directories and only show the media I wish to share?
Re: Hiding directories
Posted: Mon Apr 27, 2015 1:56 am
by michaelt
It's not a matter of hiding but rather exposing, configure here:
- Navigation/Share Settings -> Shared Folders
Add your media root paths. Nothing else will be seen.
Re: Hiding directories
Posted: Mon Apr 27, 2015 4:16 am
by xabertheblade
I apologize, I should have mentioned. This is a completely headless setup, so no gui what-so-ever. My only option is to config through the text files. I have setup the share files within said config file but no luck on the rest disappearing.
Re: Hiding directories
Posted: Mon Apr 27, 2015 4:47 am
by michaelt
Edit your UMS.conf file and add:
Code: Select all
folders = /Users/$USER/Pathname1,/Pathneme2
From the default UMS.conf:
Code: Select all
# Shared folders
# --------------
# Either define a list of specific folders containing media to be shared or
# allow the system to browse the whole disk of the server. The GUI provides a
# system navigation to generate a list of folders. The list should contain a
# comma-separated list of absolute path names, or leave it empty to let the
# system find media.
# Default: ""
folders =
Re: Hiding directories
Posted: Mon Apr 27, 2015 7:46 am
by xabertheblade
This is where I have already defined my folders. I have them setup in the 'New Media' watch list as well. There are a few other things I have set that do not seem to work such as the 'Server Name'. I am starting to think there is a file somewhere that is overwriting my changes but I can't seem to find it. I can't get anything to move away from the default settings :/
Re: Hiding directories
Posted: Mon Apr 27, 2015 7:51 am
by michaelt
OK - can't help any more. I am not on ubuntu yet and have not gone headless yet.
Also I do not use New Media. Might be your problem, might not. ????
I seem to remember seeing some mention of throwing a GUI just to get it configured. Might want to look.
Re: Hiding directories
Posted: Mon Apr 27, 2015 8:33 am
by infidel
xabertheblade wrote:This is where I have already defined my folders. I have them setup in the 'New Media' watch list as well. There are a few other things I have set that do not seem to work such as the 'Server Name'.
Is UMS reading the same conf as the one you're editing? You can check this in your
debug.log near the top:
Code: Select all
INFO 10:34:15.509 [main] Profile path: /some/where/.config/UMS/UMS.conf
Re: Hiding directories
Posted: Tue Apr 28, 2015 3:57 am
by xabertheblade
I checked my log:
Code: Select all
DEBUG 08:31:10.766 [main] Mon Apr 27 08:31:10 MDT 2015
DEBUG 08:31:10.777 [main] Reading cred.path: "/etc/UMS.cred" (default: "")
DEBUG 08:31:10.816 [main] PID: 1431
DEBUG 08:31:10.816 [main]
INFO 08:31:10.817 [main] Starting Universal Media Server 5.1.2
INFO 08:31:10.818 [main] Based on PS3 Media Server by shagrath, copyright 2008-2014
INFO 08:31:10.818 [main] http://www.universalmediaserver.com
INFO 08:31:10.818 [main]
INFO 08:31:10.818 [main] Build: acfd905eb (2015-04-14)
INFO 08:31:10.818 [main] Java: Java HotSpot(TM) 64-Bit Server VM 1.8.0_45 64-bit by Oracle Corporation
INFO 08:31:10.818 [main] OS: Linux 64-bit 3.16.0-23-generic
INFO 08:31:10.818 [main] Encoding: UTF-8
INFO 08:31:10.830 [main] Memory: 683 MB
INFO 08:31:10.831 [main] Language: en
INFO 08:31:10.831 [main]
INFO 08:31:10.831 [main] Working directory: /usr/ums
INFO 08:31:10.832 [main] Temp directory: /tmp/universalmediaserver
INFO 08:31:10.832 [main] Logging config file: /usr/ums/logback.headless.xml
INFO 08:31:10.833 [main] debug.log: /var/log/universalmediaserver/root/debug.log
INFO 08:31:10.833 [main]
INFO 08:31:10.833 [main] Profile directory: /etc
INFO 08:31:10.835 [main] Profile directory permissions: rw
INFO 08:31:10.836 [main] Profile path: /etc/ums
INFO 08:31:10.836 [main] Profile permissions: rw
INFO 08:31:10.837 [main] Profile name: icebox
the ums file pointed to in the log, has no file extension and has almost no settings. It only contains a cred path and a UUID.
So should I copy the UMS.conf from my installed directory, or is there a setting that will let me change the Profile and settings directory to where I need it??
Re: Hiding directories
Posted: Tue Apr 28, 2015 5:50 am
by xabertheblade
I apologize again. I am thinking that this may be a symptom of a greater problem, that being the fact that I cannot change or load any profile. I am going to do some research on that (possible in a different thread if required). I will return to this thread with an update when I have it. . . This is becoming more of a headache than it is worth. . .
Re: Hiding directories
Posted: Tue Apr 28, 2015 7:52 am
by infidel
xabertheblade wrote:I cannot change or load any profile
Instead of a root installation, try installing UMS as a user instead. Just untar the ums linux package anywhere in your user space (e.g. $HOME) and run UMS.sh (as user, of course

).