Page 1 of 1

I’m not understanding VirtualFolders.conf [soled]

Posted: Sun Jun 26, 2016 6:07 am
by F1Fish
I’m running Ubuntu 15 in headless mode. Running UMS-6.2.2-Java7
I’m not understanding VirtualFolders.conf. Does this feature not work under linux or is it a bug of this version of UMS?
This statement works as
virtual_folders = Cinema|/home/Video,/home/Cinema

But when I put in the config file for testing. It falls
virtual_folders_file =/etc/ums/VirtualFolders.conf
[
{
"name":"Cinema",
"files":[
"/home/Video",
"/home/Cinema"
]
}
]
Thank you for your help

Re: I’m not understanding VirtualFolders.conf

Posted: Wed Jun 29, 2016 4:58 am
by squadjot
Your setup seems correct, does the logfile say anything about UMS not being able to find or read /etc/ums/VirtualFolders.conf

Re: I’m not understanding VirtualFolders.conf

Posted: Wed Jun 29, 2016 7:21 am
by F1Fish
here is what is in ther log

Code: Select all

INFO  2016-06-28 13:38:17.550 [main] Graphics environment not available or headless mode is forced
INFO  2016-06-28 13:38:17.550 [main] Switching to console mode
DEBUG 2016-06-28 13:38:17.578 [main] Checking dbgpack property in UMS.conf
DEBUG 2016-06-28 13:38:17.587 [main] Reading virtual_folders_file: "/etc/ums/VirtualFolders.conf" (default: "")
DEBUG 2016-06-28 13:38:17.587 [main] adding /etc/ums/etc/ums/VirtualFolders.conf
DEBUG 2016-06-28 13:38:17.587 [main] adding /etc/ums/WEB.conf
DEBUG 2016-06-28 13:38:17.587 [main] adding /etc/ums/UMS.conf

Re: I’m not understanding VirtualFolders.conf

Posted: Wed Jun 29, 2016 7:31 am
by F1Fish
Fixed

virtual_folders_file =file name

Code: Select all

virtual_folders_file =VirtualFolders.conf
Not the full path to file.

Code: Select all

virtual_folders_file =/etc/ums/VirtualFolders.conf

Re: I’m not understanding VirtualFolders.conf [soled]

Posted: Thu Jun 30, 2016 12:24 am
by squadjot
great! =)