General discussion about the media server. Feature requests. Hints, tips and tricks.
-
lirumlarum - Posts:5
- Joined:Thu Aug 11, 2011 7:35 pm
- AV Hardware:Synology DS209
Twonky doesn't accept license
Post
by lirumlarum » Thu Aug 11, 2011 7:44 pm
Hey guys,
I bought the Twonky Server License for Twonky Server 6.x.
When I try to activate the key, Twonky tells me that the server is registered.
But after every reboot Twonky tells me the "Your trial version has expired."
I installed this zip file twonkymedia-kirkwood-6.0.30.zip, on a Synology DS209 using the shell.
Can pleeeeaaasse anyone help me?

-
Twonky_Rick - Posts:3816
- Joined:Wed Nov 19, 2008 1:59 am
- AV Hardware:Samsung 650 Series TV (2010), 4.5TB HP MediaSmart server with 100,000 songs, 5) AT&T U-Verse STB, CE form-factor Media Center PC and 6 other networked PCs running TwonkyManager, 2 Sonos ZP80, Sonos S5 speaker, Apple TV (running XBMC), Roku Soundbridge, X-Box 360, Sony PS3, Kodak 10" Wireless Photo Frame, iPhone with PlugPlayer software, Sonos CR-100.
- Location:San Diego
-
Contact:
Post
by Twonky_Rick » Fri Aug 12, 2011 7:11 pm
Make sure your NAS has access to the Internet and your firewall is not blocking Twonky. Then restart your NAS. If that doesn't fix things, let me know.
- Rick
-
parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Post
by parnott » Sat Aug 13, 2011 12:36 am
Move the Twonky appdata directory out of /var. Chances are that the /var directory is recreated on each reboot. Most NAS devices do this. So all the Twonky operational data gets wiped out.
I don't know how Synology devices are configured, but if you search in these forums for appdata you will get some pretty good hints about what you need to change.
-
lirumlarum - Posts:5
- Joined:Thu Aug 11, 2011 7:35 pm
- AV Hardware:Synology DS209
Post
by lirumlarum » Sat Aug 13, 2011 12:24 pm
[quote="TMM_Product_Manager"] If that doesn't fix things, let me know. [/quote]
Hi Rick,
thank you for your answer

But the NAS has a connection to the internet.
I downloaded the Twonky Package directly with the shell.
Maybe it is helpfull for you to know how I installed Twonky.
See this manual (it's german but you will understand the commands)
http://www.port11.de/content/twonkymedi ... stallieren
Regards, Alex
-
lirumlarum - Posts:5
- Joined:Thu Aug 11, 2011 7:35 pm
- AV Hardware:Synology DS209
Post
by lirumlarum » Sat Aug 13, 2011 12:27 pm
[quote="parnott"]Move the Twonky appdata directory out of /var. Chances are that the /var directory is recreated on each reboot. Most NAS devices do this. [/quote]
Hi parnott,
thanks for your help

But the Twonky files are at /usr/local/Twonkymedia
Maybe the instruction I used to install Twonky may help you to figure out my problem.
See the link in my previous posting.
Regards, Alex
-
parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Post
by parnott » Sat Aug 13, 2011 3:55 pm
/usr/local/Twonkymedia is the install directory.
The first time Twonky Server is run it creates the appdata directory, typically it is /var/twonkymedia. This diectory contains the configuration files, the media database and various other directories. If the /var directory gets recreated when the NAS is rebooted then you loose the configuration files, etc.
The -appdata command option allows you to relocate where Twonky stores this data.
The easiest way to determine if the /var directory is being recreated on rebooting your NAS is-
1) Go to the Twonky configuration page and enter your license key and save the change.
2) Open a telnet or ssh session to your NAS and login as root.
3) Locate the twonky server config file with the command- find / -name twonkymedia-server.ini
4) Examine this file (cat or vi) and look for the cdkey= line, it should contain your license key, if it does not then there is something else going wrong (don't know what that could be)
5) Reboot your NAS
6) Examine the twonkymedia-server.ini file again, if the cdkey= line no longer contains your license key then the /var directory is being recreated when your NAS is rebooted and you must relocate the appdata to a permanent location.
-
lirumlarum - Posts:5
- Joined:Thu Aug 11, 2011 7:35 pm
- AV Hardware:Synology DS209
Post
by lirumlarum » Thu Aug 18, 2011 7:54 am
Hi parnott,
thank your for your detailed instruction

I will try it on the weekend and give you feedback here
Where do I have to enter the -appdata command? In the shell?
-
parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Post
by parnott » Thu Aug 18, 2011 9:42 pm
You need to modify the Twonky startup script to include the -appdata switch on the command that runs Twonky.
From the link you provided the startup script for your NAS should be-
/usr/local/twonkymedia/twonkymedia.sh
In that file will be the command that starts Twonky server, something like-
/usr/local/twonkymedia/twonkymedia -D
You need to change this to include the -appdata option, e.g.-
/usr/local/twonkymedia/twonkymedia -D -appdata /my/path/to/twonky/appdata
-
lirumlarum - Posts:5
- Joined:Thu Aug 11, 2011 7:35 pm
- AV Hardware:Synology DS209
Post
by lirumlarum » Sat Aug 20, 2011 10:56 am
Hi Parnott,
thank you soooooo much for your help!!
I will try your tipps in the next days and give you some feedback (I hope I can give you a positive feedback)
Regards, Alex