FAQ  •  Register  •  Login

Can't open Serviio Console in Ubuntu 12.10

<<

mathu12

Serviio newbie

Posts: 8

Joined: Sun Mar 10, 2013 3:05 am

Post Sun Mar 10, 2013 7:00 pm

Can't open Serviio Console in Ubuntu 12.10

Hello all. I am new to Serviio and new to Ubuntu so sorry if this is a bad post. I have a Samsung SMART TV and have always used the Allshare program from Windows machines to view my media from my computer. It's always worked well. I decided to install Ubuntu 12.10 on a computer and use it as a media server. I installed Serviio and when I first installed it, the console opened and let me try to load some media. However, every since then, I can't get the console to open.

Now, being a complete newbie to Ubuntu, maybe it's just something silly, not sure. My TV recognizes Serviio so I know it's running. I just can't open the Console to be able to load videos/ music/ etc.. so my TV can play it. I've tried to search Serviio in the dash home and open it from the Bin folder with no luck. Any help would be greatly appreciated.

Thanks.

Matt
<<

slyguy42o

DLNA master

Posts: 481

Joined: Wed Oct 24, 2012 5:29 am

Post Tue Mar 12, 2013 2:27 pm

Re: Can't open Serviio Console in Ubuntu 12.10

the console just allows you to control settings for the server. You need to make sure the serviio service is running before you fire up the console.
<<

mathu12

Serviio newbie

Posts: 8

Joined: Sun Mar 10, 2013 3:05 am

Post Tue Mar 12, 2013 8:06 pm

Re: Can't open Serviio Console in Ubuntu 12.10

slyguy42o wrote:the console just allows you to control settings for the server. You need to make sure the serviio service is running before you fire up the console.


Yes. Thank you. I did confirm that the service is running. I can see it on my TV but there are no files loaded to watch because I can't open the console to load files.

Thanks.
<<

khurram23

Serviio lover

Posts: 76

Joined: Sun Jun 24, 2012 10:25 pm

Post Tue Mar 12, 2013 8:50 pm

Re: Can't open Serviio Console in Ubuntu 12.10

What happens when you try to open it?

Do you get an error message? Have you looked at the log file for error messages?

How are you launching the console?
Dropbox - Get 500MB bonus space.

My pre-compiled FFMPEG, X264 packages for Linux/Ubuntu - Dropbox
<<

uid

User avatar

Serviio newbie

Posts: 13

Joined: Thu Mar 22, 2012 8:47 pm

Location: 53°08´56" N 16°42´40" E

Post Wed Mar 13, 2013 5:24 pm

Re: Can't open Serviio Console in Ubuntu 12.10

mathu12 wrote:[...]I installed Serviio and when I first installed it, the console opened and let me try to load some media. However, every since then, I can't get the console to open.[...]

Just find serviio-console.sh:
  Code:
$ locate serviio-console.sh

and run from the shell:
  Code:
$ sh /<path_to/serviio-console.sh &


From my terminal:
  Code:
rafszk@poligon:~$ locate serviio-console.sh
/usr/local/bin/serviio-1.0.1/bin/serviio-console.sh
rafszk@poligon:~$ sh /usr/local/bin/serviio-1.0.1/bin/serviio-console.sh &
[1] 3775
<<

mathu12

Serviio newbie

Posts: 8

Joined: Sun Mar 10, 2013 3:05 am

Post Thu Mar 14, 2013 12:46 am

Re: Can't open Serviio Console in Ubuntu 12.10

khurram23 wrote:What happens when you try to open it?

Do you get an error message? Have you looked at the log file for error messages?

How are you launching the console?


Thanks for the reply. I don't get an error message. It just doesn't "do" anything. I've tried just going into the bin folder and opening the console.sh file with no luch. I've also run the commands in the terminal to start it up. I did dump the log and I have attached it here:

2013-03-13 19:32:56,215 WARN [IndexedDiskCache] Region [online_technical_metadata] Disk cache not shutdown properly, shutting down now.
2013-03-13 19:32:56,237 INFO [LibraryAdditionsCheckerThread] Finished looking for newly added files
2013-03-13 19:32:56,224 WARN [IndexedDiskCache] Region [thumbnails] Disk cache not shutdown properly, shutting down now.
2013-03-13 19:32:56,337 INFO [LibraryUpdatesCheckerThread] Finished looking for updates to currently shared files
2013-03-13 19:32:56,438 INFO [FeedUpdaterThread] Finished looking for online resources information
2013-03-13 19:32:56,538 INFO [PluginCompilerThread] Finished looking for plugins
2013-03-13 19:32:56,640 INFO [WebServer] WebServer shutting down
2013-03-13 19:32:56,640 INFO [DiscoveryAdvertisementNotifier] Leaving DiscoveryAdvertisementNotifier
2013-03-13 19:32:56,641 INFO [EventSubscriptionExpirationChecker] Leaving EventSubscriptionExpirationChecker, removing all event subscriptions
2013-03-13 19:32:56,641 INFO [DiscoverySSDPMessageListener] Leaving DiscoverySSDPMessageListener
2013-03-13 19:32:56,641 INFO [EventDispatcher] Leaving EventDispatcher
2013-03-13 19:32:56,646 INFO [DatabaseManager] Shutting down database
2013-03-13 19:32:56,791 INFO [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
2013-03-13 19:33:49,568 INFO [MediaServer] ------------------------------------------------------------------------
2013-03-13 19:33:49,590 INFO [MediaServer] Serviio DLNA media streaming server v 1.1 (rev. 6ba0dd933a8e+)
2013-03-13 19:33:49,590 INFO [MediaServer] Petr Nejedly 2009-2012
2013-03-13 19:33:49,590 INFO [MediaServer] http://www.serviio.org
2013-03-13 19:33:49,590 INFO [MediaServer]
2013-03-13 19:33:49,590 INFO [MediaServer] Java 1.7.0_12-ea-Oracle Corporation
2013-03-13 19:33:49,590 INFO [MediaServer] OS Linux i386 3.5.0-25-generic
2013-03-13 19:33:49,591 INFO [MediaServer] File encoding: US-ASCII
2013-03-13 19:33:49,591 INFO [MediaServer] Headless mode enabled: true
2013-03-13 19:33:49,591 INFO [MediaServer] User: root
2013-03-13 19:33:49,591 INFO [MediaServer] User home dir: /root
2013-03-13 19:33:49,591 INFO [MediaServer] Temp dir: /tmp
2013-03-13 19:33:49,591 INFO [MediaServer] ------------------------------------------------------------------------
2013-03-13 19:33:49,991 INFO [WebServer] Socket buffer set to 65535 bytes
2013-03-13 19:33:49,994 INFO [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2013-03-13 19:33:50,116 INFO [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2013-03-13 19:33:50,117 INFO [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2013-03-13 19:33:50,186 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2013-03-13 19:33:53,642 INFO [MediaServer] ------------------------------------------------------------------------
2013-03-13 19:33:53,643 INFO [MediaServer] License: PRO (EVALUATION, id: 11111111-1111-1111-1111-111111111113)
2013-03-13 19:33:53,643 INFO [MediaServer] ------------------------------------------------------------------------
2013-03-13 19:33:54,050 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2013-03-13 19:33:55,193 INFO [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2013-03-13 19:33:56,393 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2013-03-13 19:33:57,083 INFO [ProfilesDefinitionParser] Added profile 'Xbox 360' (id=3)
2013-03-13 19:33:57,885 INFO [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2013-03-13 19:33:58,462 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2013-03-13 19:33:58,817 INFO [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2013-03-13 19:33:59,821 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C/D/E-series)' (id=7)
2013-03-13 19:33:59,880 INFO [ProfilesDefinitionParser] Added profile 'LG TV / player' (id=8)
2013-03-13 19:34:01,598 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012)' (id=sony2012)
2013-03-13 19:34:03,389 INFO [ProfilesDefinitionParser] Added profile 'Sony BD Player / SMP' (id=10)
2013-03-13 19:34:03,907 INFO [ProfilesDefinitionParser] Added profile 'Toshiba REGZA' (id=13)
2013-03-13 19:34:04,186 INFO [ProfilesDefinitionParser] Added profile 'WDTV Live' (id=14)
2013-03-13 19:34:04,235 INFO [ProfilesDefinitionParser] Added profile 'LaCie LaCinema Media Player' (id=15)
2013-03-13 19:34:04,464 INFO [ProfilesDefinitionParser] Added profile 'Manta WIFI Centre' (id=16)
2013-03-13 19:34:04,548 INFO [ProfilesDefinitionParser] Added profile 'Pure Flow' (id=17)
2013-03-13 19:34:04,969 INFO [ProfilesDefinitionParser] Added profile 'Sharp Aquos' (id=18)
2013-03-13 19:34:05,155 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011)' (id=sony2011)
2013-03-13 19:34:05,579 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2010)' (id=sony2010)
2013-03-13 19:34:06,070 INFO [ProfilesDefinitionParser] Added profile 'Philips' (id=20)
2013-03-13 19:34:06,259 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2009)' (id=sony2009)
2013-03-13 19:34:06,348 INFO [ProfilesDefinitionParser] Added profile 'Denon AVR' (id=22)
2013-03-13 19:34:07,200 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera G/GT/DT/UT/VT (2011/2012)' (id=viera2011a)
2013-03-13 19:34:07,328 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera E/S/ST/VT (2011)' (id=viera2011)
2013-03-13 19:34:07,448 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera (2010)' (id=viera2010)
2013-03-13 19:34:07,622 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012) - US' (id=sony2012us)
2013-03-13 19:34:07,798 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011) - US' (id=sony2011us)
2013-03-13 19:34:08,126 INFO [ProfilesDefinitionParser] Added profile 'Sony AVReceiver STR' (id=SonySTR)
2013-03-13 19:34:08,267 INFO [ProfilesDefinitionParser] Added profile 'Sony Audio CMT' (id=SonyCMT)
2013-03-13 19:34:08,294 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2013-03-13 19:34:08,629 INFO [ProfilesDefinitionParser] Added profile 'Flash player' (id=flv_player)
2013-03-13 19:34:08,859 INFO [ProfilesDefinitionParser] Added profile 'ServiiGo' (id=serviigo)
2013-03-13 19:34:09,039 INFO [ProfilesDefinitionParser] Added profile 'Windows Phone 8' (id=wp8)
2013-03-13 19:34:09,186 INFO [Device] Created UPnP Device with UUID: 4a9c76fa-670d-3298-9b6f-ca486b423d4c, bound address: 192.168.1.243
2013-03-13 19:34:09,217 INFO [PluginCompilerThread] Looking for plugins at /home/mathu12/Documents/Serviio/serviio-1.1/plugins
2013-03-13 19:34:09,217 INFO [PluginCompilerThread] Started looking for plugins
2013-03-13 19:34:09,219 INFO [UpdateChecker] Checking if a new version is available
2013-03-13 19:34:09,258 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "dcraw": error=2, No such file or directory
2013-03-13 19:34:09,258 WARN [MediaServer] DCRAW not found. Support for raw image files will be missing.
2013-03-13 19:34:09,270 INFO [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
2013-03-13 19:34:09,314 INFO [WebServer] WebServer starting on port 8895
2013-03-13 19:34:09,325 INFO [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface eth0 (eth0) and address 192.168.1.243, timeout = 0
2013-03-13 19:34:09,326 INFO [EventDispatcher] Starting EventDispatcher
2013-03-13 19:34:09,333 INFO [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2013-03-13 19:34:09,334 INFO [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2013-03-13 19:34:09,334 INFO [RendererExpirationChecker] Starting RendererExpirationChecker
2013-03-13 19:34:09,335 INFO [RendererSearchSender] Searching for Renderer devices, will multicast on 1 NICs
2013-03-13 19:34:35,384 INFO [FeedUpdaterThread] Started looking for information about online resources
2013-03-13 19:34:35,394 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2013-03-13 19:34:35,416 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2013-03-13 19:34:35,416 INFO [PlaylistMaintainerThread] Started looking playlist changes

I have also reinstalled FFmpeg and java with no luck. Any help would be appreciated.

Thanks.
<<

mathu12

Serviio newbie

Posts: 8

Joined: Sun Mar 10, 2013 3:05 am

Post Thu Mar 14, 2013 1:02 am

Re: Can't open Serviio Console in Ubuntu 12.10

uid wrote:
mathu12 wrote:[...]I installed Serviio and when I first installed it, the console opened and let me try to load some media. However, every since then, I can't get the console to open.[...]

Just find serviio-console.sh:
  Code:
$ locate serviio-console.sh

and run from the shell:
  Code:
$ sh /<path_to/serviio-console.sh &


From my terminal:
  Code:
rafszk@poligon:~$ locate serviio-console.sh
/usr/local/bin/serviio-1.0.1/bin/serviio-console.sh
rafszk@poligon:~$ sh /usr/local/bin/serviio-1.0.1/bin/serviio-console.sh &
[1] 3775


This is what I get when I run it from the terminal.

mathu12@mathu12-Dell-DXP051:~$ sh /home/mathu12/Documents/Serviio/serviio-1.1/bin/serviio-console.sh
/home/mathu12/Documents/Serviio/serviio-1.1/bin/serviio-console.sh: 67: /home/mathu12/Documents/Serviio/serviio-1.1/bin/serviio-console.sh: /usr/local/java/jdk*/bin/java: not found

As mentioned, I just reinstalled Java so it should not be giving me this Java error.
<<

uid

User avatar

Serviio newbie

Posts: 13

Joined: Thu Mar 22, 2012 8:47 pm

Location: 53°08´56" N 16°42´40" E

Post Thu Mar 14, 2013 9:07 am

Re: Can't open Serviio Console in Ubuntu 12.10

mathu12 wrote:This is what I get when I run it from the terminal.

mathu12@mathu12-Dell-DXP051:~$ sh /home/mathu12/Documents/Serviio/serviio-1.1/bin/serviio-console.sh
/home/mathu12/Documents/Serviio/serviio-1.1/bin/serviio-console.sh: 67: /home/mathu12/Documents/Serviio/serviio-1.1/bin/serviio-console.sh: /usr/local/java/jdk*/bin/java: not found

As mentioned, I just reinstalled Java so it should not be giving me this Java error.


You are close to the answer. The problem is an incorrect path to the java ;-)
By what howto installed Java?

I recommend this article.
<<

mathu12

Serviio newbie

Posts: 8

Joined: Sun Mar 10, 2013 3:05 am

Post Sun Mar 17, 2013 9:02 pm

Re: Can't open Serviio Console in Ubuntu 12.10

Thanks for all the help so far. I followed all instruction on installing Java and I still get this error. How can I change the path to Java in Serviio? Is there a config file or something that I can update my path to Java in?

Thanks.
<<

uid

User avatar

Serviio newbie

Posts: 13

Joined: Thu Mar 22, 2012 8:47 pm

Location: 53°08´56" N 16°42´40" E

Post Sun Mar 17, 2013 9:15 pm

Re: Can't open Serviio Console in Ubuntu 12.10

mathu12 wrote:Thanks for all the help so far. I followed all instruction on installing Java and I still get this error. How can I change the path to Java in Serviio? Is there a config file or something that I can update my path to Java in?
Thanks.

I guess. Can you show the default Java?
  Code:
# sudo update-alternatives --config java

After change the settings, for sure - I restarts ubuntu. Maybe lame behavior, but oh well ;-)
<<

mathu12

Serviio newbie

Posts: 8

Joined: Sun Mar 10, 2013 3:05 am

Post Sun Mar 17, 2013 10:05 pm

Re: Can't open Serviio Console in Ubuntu 12.10

uid wrote:
mathu12 wrote:Thanks for all the help so far. I followed all instruction on installing Java and I still get this error. How can I change the path to Java in Serviio? Is there a config file or something that I can update my path to Java in?
Thanks.

I guess. Can you show the default Java?
  Code:
# sudo update-alternatives --config java


Here is what I get with that entry.

Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-7-oracle/jre/bin/java 1048 auto mode
1 /usr/bin/gij-4.7 1047 manual mode
* 2 /usr/lib/jvm/java-7-oracle/jre/bin/java 1048 manual mode
3 /usr/local/java/jre1.7.0_12/bin/java 1 manual mode

Press enter to keep the current choice[*], or type selection number:
<<

uid

User avatar

Serviio newbie

Posts: 13

Joined: Thu Mar 22, 2012 8:47 pm

Location: 53°08´56" N 16°42´40" E

Post Sun Mar 17, 2013 10:17 pm

Re: Can't open Serviio Console in Ubuntu 12.10

mathu12 wrote:
uid wrote:
mathu12 wrote:Thanks for all the help so far. I followed all instruction on installing Java and I still get this error. How can I change the path to Java in Serviio? Is there a config file or something that I can update my path to Java in?
Thanks.

I guess. Can you show the default Java?
  Code:
# sudo update-alternatives --config java


Here is what I get with that entry.

Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-7-oracle/jre/bin/java 1048 auto mode
1 /usr/bin/gij-4.7 1047 manual mode
* 2 /usr/lib/jvm/java-7-oracle/jre/bin/java 1048 manual mode
3 /usr/local/java/jre1.7.0_12/bin/java 1 manual mode

Press enter to keep the current choice[*], or type selection number:


The logs that you provided above shows that serviio starts with:

Java 1.7.0_12-ea-Oracle Corporation.

Yours, the default is "* 2/1048 usr/lib/jvm/java-7-oracle/jre/bin/java manual mode".

Enter "sudo update-alternatives - config java" and select:

3/1 manual mode usr/local/java/jre1.7.0_12/bin/java

Confirm, reboot and tell us if my nightly click click thing helped;-)
<<

mathu12

Serviio newbie

Posts: 8

Joined: Sun Mar 10, 2013 3:05 am

Post Sun Mar 17, 2013 10:51 pm

Re: Can't open Serviio Console in Ubuntu 12.10

I changed to the number 3 Java on the list with no luck. Not sure what to do now. How about uninstalling Serviio and Java and trying again? Any guides to doing this? Since I am new to Linux, I really don't know how to uninstall yet.

Thanks.
<<

uid

User avatar

Serviio newbie

Posts: 13

Joined: Thu Mar 22, 2012 8:47 pm

Location: 53°08´56" N 16°42´40" E

Post Sun Mar 17, 2013 10:55 pm

Re: Can't open Serviio Console in Ubuntu 12.10

mathu12 wrote:I changed to the number 3 Java on the list with no luck. Not sure what to do now. How about uninstalling Serviio and Java and trying again? Any guides to doing this? Since I am new to Linux, I really don't know how to uninstall yet.

Thanks.

No ideas at this time. We'll wait - maybe someone wiser will speak.
<<

mathu12

Serviio newbie

Posts: 8

Joined: Sun Mar 10, 2013 3:05 am

Post Thu Mar 21, 2013 2:45 am

Re: Can't open Serviio Console in Ubuntu 12.10

Can anyone providea step by step on how to uninstall Java and Serviio and redo it the correct way? Obviously, when I installed them, something was done incorrectly.

Thanks.
<<

NX3

DLNA master

Posts: 578

Joined: Fri Jan 28, 2011 12:39 pm

Post Tue Apr 02, 2013 10:57 am

Re: Can't open Serviio Console in Ubuntu 12.10

You could just re-install Ubuntu and start clean ?

Return to General discussion

Who is online

Users browsing this forum: No registered users and 22 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.