Headless Serviio on Ubuntu
I tried to use curl -i -H "Content-Type: plain/text; Accept: application/json" -X PUT "http://127.0.0.1:23423/rest/license-upload" -T /tmp/Serviio_7my long number28.lic to install the license and received this:
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Date: Wed, 26 Jun 2013 12:40:02 GMT
Server: Restlet-Framework/@major-number@.@minor-number@@release-type@@release-number@
Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
Content-Type: application/xml; charset=UTF-8
<?xml version="1.0" encoding="UTF-8" ?>
<result>
<errorCode>0</errorCode>
I enabled debugging in the log file. Here's the output from serviio.log:
2013-06-25 13:40:26,962 INFO [MediaServer] ------------------------------------------------------------------------
2013-06-25 13:40:26,964 INFO [MediaServer] Serviio DLNA media streaming server v 1.2.1 (rev. a2aa56064460+)
2013-06-25 13:40:26,964 INFO [MediaServer] Petr Nejedly 2009-2013
2013-06-25 13:40:26,964 INFO [MediaServer] http://www.serviio.org
2013-06-25 13:40:26,964 INFO [MediaServer]
2013-06-25 13:40:26,964 INFO [MediaServer] Java 1.6.0_27-Sun Microsystems Inc.
2013-06-25 13:40:26,964 INFO [MediaServer] OS Linux i386 3.5.0-34-generic
2013-06-25 13:40:26,964 INFO [MediaServer] File encoding: US-ASCII
2013-06-25 13:40:26,977 INFO [MediaServer] Headless mode enabled: true
2013-06-25 13:40:26,977 INFO [MediaServer] User: root
2013-06-25 13:40:26,977 INFO [MediaServer] User home dir: /root
2013-06-25 13:40:26,977 INFO [MediaServer] Temp dir: /tmp
2013-06-25 13:40:26,977 INFO [MediaServer] ------------------------------------------------------------------------
2013-06-25 13:40:27,549 INFO [WebServer] Socket buffer set to 65535 bytes
2013-06-25 13:40:27,560 INFO [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2013-06-25 13:40:27,678 INFO [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2013-06-25 13:40:27,682 INFO [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2013-06-25 13:40:27,814 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2013-06-25 13:40:42,074 INFO [DBSchemaUpdateExecutor] Updating DB schema
2013-06-25 13:41:09,411 INFO [DBSchemaUpdateExecutor] Cleaning persistent cache
2013-06-25 13:41:09,772 INFO [Device] Created UPnP Device with UUID: 75b3e073-9f6c-3927-a554-9434ba3ca28c, bound address: 192.168.0.55
2013-06-25 13:41:09,820 WARN [IndexedDiskCache] Region [online_technical_metadata] Reseting cache
2013-06-25 13:41:10,808 INFO [MediaServer] ------------------------------------------------------------------------
2013-06-25 13:41:10,808 INFO [MediaServer] License: FREE
2013-06-25 13:41:10,808 INFO [MediaServer] ------------------------------------------------------------------------
2013-06-25 13:41:11,599 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2013-06-25 13:41:11,798 INFO [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2013-06-25 13:41:11,818 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2013-06-25 13:41:11,837 INFO [ProfilesDefinitionParser] Added profile 'Xbox 360' (id=3)
2013-06-25 13:41:11,845 INFO [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2013-06-25 13:41:11,846 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2013-06-25 13:41:11,921 INFO [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2013-06-25 13:41:11,951 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C/D/E-series)' (id=7)
2013-06-25 13:41:11,955 INFO [ProfilesDefinitionParser] Added profile 'LG TV / player' (id=8)
2013-06-25 13:41:11,959 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012)' (id=sony2012)
2013-06-25 13:41:11,961 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx90 (2012)' (id=bdp2012)
2013-06-25 13:41:11,966 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx70/SMP-N100 (2010)' (id=bdp2010)
2013-06-25 13:41:11,968 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx70/SMP-N100 (2010) - US' (id=bdp2010us)
2013-06-25 13:41:11,969 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx80/SMP-N200 (2011)' (id=bdp2011)
Curiously, ServiiDroid reports a valid license
The correct ports are open on the router, I previously had Serviio running on a Win 7 machine with no issues. the location of my installation is in /var/www/serviio-1.2.1.
So the questions are, how do I add the license, how can I change the user and how do I confirm the password is correct or change the password to allow me to use Media Browser?