Running UMS headless on Fedora 24
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
-
- Posts: 3
- Joined: Thu Oct 20, 2016 3:01 am
Running UMS headless on Fedora 24
I am attempting to run UMS headless on Fedora 24. I have searched for "x11", "headless", and a number of error message substrings, to no avail, so I am asking for help here.
I believe that I have followed the instructions at viewtopic.php?f=10&t=8518
I have extracted UMS-6.5.1-Java8.tgz to /home/bblackmoor/scripts/ums-6.5.1
I have configured /home/bblackmoor/.config/UMS/UMS.conf like so:
When I attempt to execute UMS, I see this:
Someone suggested passing the parameter "console" to UMS.sh, but that has the same result:
Do you have any suggestions, please?
Thank you.
I believe that I have followed the instructions at viewtopic.php?f=10&t=8518
I have extracted UMS-6.5.1-Java8.tgz to /home/bblackmoor/scripts/ums-6.5.1
I have configured /home/bblackmoor/.config/UMS/UMS.conf like so:
Code: Select all
minimized = true
folders = /home/bblackmoor/Music,/home/bblackmoor/Videos,/home/bblackmoor/Images
Code: Select all
[11:04:47 bblackmoor@annwn:ums-6.5.1]$ ./UMS.sh
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
11:06:10,534 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
11:06:10,625 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
11:06:10,642 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [logFilePath] from the object stack
11:06:10,642 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
11:06:10,643 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [rootLevel] from the object stack
11:06:10,643 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
11:06:10,643 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [logFileName] from the object stack
11:06:10,643 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
11:06:10,643 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [console]
11:06:10,670 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
11:06:10,671 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [default.log]
11:06:10,673 |-INFO in ch.qos.logback.core.FileAppender[default.log] - File property is set to [/home/bblackmoor/.config/UMS/debug.log]
11:06:10,675 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
11:06:10,676 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [default.log.10MB]
11:06:10,682 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@5c3bd550 - Will use zip compression
11:06:10,687 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - Active log file name: /home/bblackmoor/.config/UMS/debug.log
11:06:10,687 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - File property is set to [/home/bblackmoor/.config/UMS/debug.log]
11:06:10,688 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - 'File' option has the same value "/home/bblackmoor/.config/UMS/debug.log" as that given for appender [default.log] defined earlier.
11:06:10,688 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - Collisions detected with FileAppender/RollingAppender instances defined earlier. Aborting.
11:06:10,688 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - For more information, please visit http://logback.qos.ch/codes.html#earlier_fa_collision
11:06:10,688 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache] to WARN
11:06:10,688 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [httpclient.wire] to WARN
11:06:10,688 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [fm.last.musicbrainz.coverart] to WARN
11:06:10,688 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
11:06:10,688 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [console] to Logger[ROOT]
11:06:10,688 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [default.log] to Logger[ROOT]
11:06:10,688 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
11:06:10,688 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@91161c7 - Registering current configuration as safe fallback point
ERROR 11:06:10.383 [main] Toolkit error: java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
INFO 11:06:10.457 [main] Language not specified, defaulting to OS language.
ERROR 11:06:10.702 [main] Failed to write PID file: /home/bblackmoor/.config/UMS/data/pms.pid (No such file or directory)
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XToolkit
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.awt.Toolkit$2.run(Toolkit.java:860)
at java.awt.Toolkit$2.run(Toolkit.java:855)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
at sun.swing.SwingUtilities2.getSystemMnemonicKeyMask(SwingUtilities2.java:2020)
at javax.swing.plaf.basic.BasicLookAndFeel.initComponentDefaults(BasicLookAndFeel.java:1158)
at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:431)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:148)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1577)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:539)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:579)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1349)
at javax.swing.UIManager.initialize(UIManager.java:1459)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1426)
at javax.swing.UIManager.getUI(UIManager.java:1006)
at javax.swing.JPanel.updateUI(JPanel.java:126)
at javax.swing.JPanel.<init>(JPanel.java:86)
at javax.swing.JPanel.<init>(JPanel.java:109)
at javax.swing.JPanel.<init>(JPanel.java:117)
at net.pms.newgui.LanguageSelection.<init>(LanguageSelection.java:76)
at net.pms.PMS.init(PMS.java:410)
at net.pms.PMS.createInstance(PMS.java:1089)
at net.pms.PMS.main(PMS.java:1249)
Code: Select all
[11:06:10 bblackmoor@annwn:ums-6.5.1]$ ./UMS.sh --console
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
11:08:17,085 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
11:08:17,177 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
11:08:17,194 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [logFilePath] from the object stack
11:08:17,194 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
11:08:17,195 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [rootLevel] from the object stack
11:08:17,195 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
11:08:17,195 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [logFileName] from the object stack
11:08:17,195 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
11:08:17,195 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [console]
11:08:17,220 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
11:08:17,222 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [default.log]
11:08:17,224 |-INFO in ch.qos.logback.core.FileAppender[default.log] - File property is set to [/home/bblackmoor/.config/UMS/debug.log]
11:08:17,225 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
11:08:17,226 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [default.log.10MB]
11:08:17,232 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@5c3bd550 - Will use zip compression
11:08:17,237 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - Active log file name: /home/bblackmoor/.config/UMS/debug.log
11:08:17,237 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - File property is set to [/home/bblackmoor/.config/UMS/debug.log]
11:08:17,238 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - 'File' option has the same value "/home/bblackmoor/.config/UMS/debug.log" as that given for appender [default.log] defined earlier.
11:08:17,238 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - Collisions detected with FileAppender/RollingAppender instances defined earlier. Aborting.
11:08:17,238 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - For more information, please visit http://logback.qos.ch/codes.html#earlier_fa_collision
11:08:17,238 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache] to WARN
11:08:17,238 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [httpclient.wire] to WARN
11:08:17,238 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [fm.last.musicbrainz.coverart] to WARN
11:08:17,238 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
11:08:17,238 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [console] to Logger[ROOT]
11:08:17,238 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [default.log] to Logger[ROOT]
11:08:17,239 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
11:08:17,239 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@91161c7 - Registering current configuration as safe fallback point
ERROR 11:08:16.931 [main] Toolkit error: java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
INFO 11:08:17.006 [main] Language not specified, defaulting to OS language.
ERROR 11:08:17.252 [main] Failed to write PID file: /home/bblackmoor/.config/UMS/data/pms.pid (No such file or directory)
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XToolkit
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.awt.Toolkit$2.run(Toolkit.java:860)
at java.awt.Toolkit$2.run(Toolkit.java:855)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
at sun.swing.SwingUtilities2.getSystemMnemonicKeyMask(SwingUtilities2.java:2020)
at javax.swing.plaf.basic.BasicLookAndFeel.initComponentDefaults(BasicLookAndFeel.java:1158)
at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:431)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:148)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1577)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:539)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:579)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1349)
at javax.swing.UIManager.initialize(UIManager.java:1459)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1426)
at javax.swing.UIManager.getUI(UIManager.java:1006)
at javax.swing.JPanel.updateUI(JPanel.java:126)
at javax.swing.JPanel.<init>(JPanel.java:86)
at javax.swing.JPanel.<init>(JPanel.java:109)
at javax.swing.JPanel.<init>(JPanel.java:117)
at net.pms.newgui.LanguageSelection.<init>(LanguageSelection.java:76)
at net.pms.PMS.init(PMS.java:410)
at net.pms.PMS.createInstance(PMS.java:1089)
at net.pms.PMS.main(PMS.java:1249)
Thank you.
Re: Running UMS headless on Fedora 24
Forget about "minimized", that's simply that the GUI starts minimized.
You have to use the "console" or "headless" (they are identical) option after UMS.sh, but skip the "--":
You have to use the "console" or "headless" (they are identical) option after UMS.sh, but skip the "--":
Code: Select all
./UMS.sh headless
-
- Posts: 3
- Joined: Thu Oct 20, 2016 3:01 am
Re: Running UMS headless on Fedora 24
Same error.
Any suggestions for how to resolve this error?
Code: Select all
[15:48:45 bblackmoor@annwn:ums-6.5.1]$ ./UMS.sh headless
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
15:48:54,054 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
15:48:54,216 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
15:48:54,233 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [logFilePath] from the object stack
15:48:54,233 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
15:48:54,233 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [rootLevel] from the object stack
15:48:54,234 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
15:48:54,234 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [logFileName] from the object stack
15:48:54,234 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
15:48:54,234 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [console]
15:48:54,260 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
15:48:54,262 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [default.log]
15:48:54,264 |-INFO in ch.qos.logback.core.FileAppender[default.log] - File property is set to [/home/bblackmoor/.config/UMS/debug.log]
15:48:54,266 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
15:48:54,266 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [default.log.10MB]
15:48:54,273 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@5c3bd550 - Will use zip compression
15:48:54,278 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - Active log file name: /home/bblackmoor/.config/UMS/debug.log
15:48:54,278 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - File property is set to [/home/bblackmoor/.config/UMS/debug.log]
15:48:54,278 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - 'File' option has the same value "/home/bblackmoor/.config/UMS/debug.log" as that given for appender [default.log] defined earlier.
15:48:54,278 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - Collisions detected with FileAppender/RollingAppender instances defined earlier. Aborting.
15:48:54,278 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - For more information, please visit http://logback.qos.ch/codes.html#earlier_fa_collision
15:48:54,279 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache] to WARN
15:48:54,279 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [httpclient.wire] to WARN
15:48:54,279 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [fm.last.musicbrainz.coverart] to WARN
15:48:54,279 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
15:48:54,279 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [console] to Logger[ROOT]
15:48:54,279 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [default.log] to Logger[ROOT]
15:48:54,279 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
15:48:54,279 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@91161c7 - Registering current configuration as safe fallback point
ERROR 15:48:53.899 [main] Toolkit error: java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
INFO 15:48:53.975 [main] Language not specified, defaulting to OS language.
ERROR 15:48:54.293 [main] Failed to write PID file: /home/bblackmoor/.config/UMS/data/pms.pid (No such file or directory)
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XToolkit
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.awt.Toolkit$2.run(Toolkit.java:860)
at java.awt.Toolkit$2.run(Toolkit.java:855)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
at sun.swing.SwingUtilities2.getSystemMnemonicKeyMask(SwingUtilities2.java:2020)
at javax.swing.plaf.basic.BasicLookAndFeel.initComponentDefaults(BasicLookAndFeel.java:1158)
at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:431)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:148)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1577)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:539)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:579)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1349)
at javax.swing.UIManager.initialize(UIManager.java:1459)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1426)
at javax.swing.UIManager.getUI(UIManager.java:1006)
at javax.swing.JPanel.updateUI(JPanel.java:126)
at javax.swing.JPanel.<init>(JPanel.java:86)
at javax.swing.JPanel.<init>(JPanel.java:109)
at javax.swing.JPanel.<init>(JPanel.java:117)
at net.pms.newgui.LanguageSelection.<init>(LanguageSelection.java:76)
at net.pms.PMS.init(PMS.java:410)
at net.pms.PMS.createInstance(PMS.java:1089)
at net.pms.PMS.main(PMS.java:1249)
Re: Running UMS headless on Fedora 24
That is a bug I'm afraid, and even more scary: it's been there for a long time (since around 6.0.0) and is made by me
I'm making a fix now, but as a workaround set
in UMS.conf. You have to set it to one of the following values:
I've made a PR with the fix so if/when that is accepted this will be resolved in the next release. It only happens when language isn't set though, so the workaround should take care of it.

I'm making a fix now, but as a workaround set
Code: Select all
language =
Code: Select all
"af", // Afrikaans
"ar", // Arabic
"pt-BR", // Brazilian Portuguese
"bg", // Bulgarian
"ca", // Catalan, Valencian
"zh-Hans", // Chinese, Han (Simplified variant)
"zh-Hant", // Chinese, Han (Traditional variant)
"cs", // Czech
"da", // Danish
"nl", // Dutch, Flemish
"en-GB", // English, United Kingdom
"en-US", // English, United States
"fi", // Finnish
"fr", // French
"de", // German
"el", // Greek, Modern
"iw", // Hebrew (Java prefers the deprecated "iw" to "he")
"hu", // Hungarian
"is", // Icelandic
"it", // Italian
"ja", // Japanese
"ko", // Korean
"no", // Norwegian
"fa", // Persian (Farsi)
"pl", // Polish
"pt", // Portuguese
"ro", // Romanian, Moldavian, Moldovan
"ru", // Russian
"sr", // Serbian (Cyrillic)
"sk", // Slovak
"sl", // Slovenian
"es", // Spanish, Castilian
"sv", // Swedish
"tr", // Turkish
"uk", // Ukrainian
"vi", // Vietnamese
-
- Posts: 3
- Joined: Thu Oct 20, 2016 3:01 am
Re: Running UMS headless on Fedora 24
Thank you: that resolved the error. Unfortunately, all of my MP3 files will not play (in Roku Media Player). They give the error "malformed data".
I guess I will look for another way to play my music over Roku. Thank you for your help.
I guess I will look for another way to play my music over Roku. Thank you for your help.
Re: Running UMS headless on Fedora 24
"Malformed data" probably means that it's a format it doesn't understand. This is a configuration issue.
If you launch UMS with both "HEADLESS" and "TRACE" as options and then post the log file (debug.log) after trying to play some files we can probably see what's wrong. I'm not familiar with the Roku devices, but UMS is shipping with supposedly correctly configured profiles for Roku3-3 and Roku 3-5. They might also work on your Roku device.
If you launch UMS with both "HEADLESS" and "TRACE" as options and then post the log file (debug.log) after trying to play some files we can probably see what's wrong. I'm not familiar with the Roku devices, but UMS is shipping with supposedly correctly configured profiles for Roku3-3 and Roku 3-5. They might also work on your Roku device.