there is an issue with the Twonky appdata directory that could cause the server to not start
If the twonky appdata directory is empty or does not exist, the server will not start correctlyNOTE: I am NOT seeing this issue on the NAS builds
I can see that if the directory doesnt exist it could be a problem
but an empty one should not be an issue, as it never has been in the past
as the server would normally create the files needed on startup
This is what exist right after installation
Code: Select all
07/25/2014 10:39 AM <DIR> .
07/25/2014 10:39 AM <DIR> ..
07/25/2014 10:34 AM 0 byebye
07/25/2014 10:39 AM <DIR> db
07/25/2014 10:34 AM 69 db.info
07/25/2014 10:39 AM 69 db.info_bak
07/25/2014 10:39 AM <DIR> pdb
07/25/2014 10:39 AM <DIR> proxy
07/25/2014 10:34 AM 16,474 proxy-log.txt
07/25/2014 10:34 AM 314 report-info.xml
07/25/2014 10:39 AM <DIR> tuner
07/25/2014 10:34 AM 329 twonky-config.html
07/25/2014 10:34 AM 317 twonky-config1.html
07/25/2014 10:34 AM 934 twonky-locations-70.db
07/25/2014 10:34 AM 177 twonky.dat
05/09/2014 05:36 AM 1,408 twonky.license
07/25/2014 10:34 AM 4 twonkyproxy.info
07/25/2014 10:34 AM 3,014 TwonkyServer-log.txt
07/25/2014 10:34 AM 28,830 twonkyserver.ini
this is what I see when I start them back up
Code: Select all
07/25/2014 11:12 AM <DIR> .
07/25/2014 11:12 AM <DIR> ..
07/25/2014 11:12 AM 0 byebye
07/25/2014 11:12 AM <DIR> db
07/25/2014 11:12 AM 23 db.info
07/25/2014 11:12 AM <DIR> proxy
07/25/2014 11:12 AM 298 proxy-log.txt
07/25/2014 11:12 AM 9 twonky-locations-70.db
07/25/2014 11:12 AM 4 twonkyproxy.info
07/25/2014 11:12 AM 6,200 TwonkyServer-log.txt
07/25/2014 11:12 AM 1,786 twonkyserver.ini
Code: Select all
07/25/14 11:12:31:361 [Critical] - LOG_SYSTEM: upnp_mediaserver_start : no valid license found
07/25/14 11:12:31:361 [Critical] - LOG_SYSTEM: Error code: 2 (00000002) The system cannot find the file specified.
if these two files exist in the appdata dir, then things will work as expected
just having the file "twonky.license" wasn't enough to start it, I need both of the below
Code: Select all
twonky.dat
twonky.license
Twonky Server will then start as expected
Code: Select all
07/25/2014 11:15 AM <DIR> .
07/25/2014 11:15 AM <DIR> ..
07/25/2014 11:12 AM 0 byebye
07/25/2014 11:15 AM <DIR> db
07/25/2014 11:15 AM 69 db.info
07/25/2014 11:12 AM <DIR> proxy
07/25/2014 11:12 AM 298 proxy-log.txt
07/25/2014 11:15 AM 314 report-info.xml
07/25/2014 11:15 AM 0 tsbyebye
07/25/2014 11:15 AM <DIR> tuner
07/25/2014 11:15 AM 329 twonky-config.html
07/25/2014 11:15 AM 317 twonky-config1.html
07/25/2014 11:15 AM 934 twonky-locations-70.db
07/25/2014 10:34 AM 177 twonky.dat
05/09/2014 05:36 AM 1,408 twonky.license
07/25/2014 11:12 AM 4 twonkyproxy.info
07/25/2014 11:15 AM 32,732 TwonkyServer-log.txt
07/25/2014 11:15 AM 28,830 twonkyserver.ini
This was never an issue in the past, and is not being seen in the nas builds
I haven't tested the OSX versions yet, but it is an issue on the Windows builds
.