Can't get Twonky to launch

DLNA, AirPlay, Chromecast, PS3, XBOX, iTunes, & other media players
Post Reply
msf13
Starting out
Posts: 25
Joined: Wed Jun 22, 2011 12:30 pm

Can't get Twonky to launch

Post by msf13 »

After a fews years I just updated my firmware to 4.0.5
I have a TS 419p with 4 Drives

I am trying to start Twonky via the DLNA Media Server Tab and it won't start.
I have started the Media Library in the Media Library tab but still no go.
I get the below error/message in the new launched tab in my browser.

http://192.168.1.101:9000/
Firefox can't establish a connection to the server at 192.168.1.101:9000.

I noticed that I can download apps now via Qnap and I have tried to install Twonky Media 7.2.7.0.0.
I install it and all seems fine. The app icon appears on the Qnap desktop. I try to launch it and I get

Unable to connect
Firefox can't establish a connection to the server at 192.168.1.101:9000.
In my web browser.

What am I missing? How do I know what ip address that Twonky is running from?


As far as apps are concern I do have Multimedia 3.0 installed and running

Any ideas?

Thanks

Michael Sean
User avatar
schumaku
Guru
Posts: 43579
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Can't get Twonky to launch

Post by schumaku »

Hello Michael,

Using both interfaces to connect to the same TCP/IP subnet, so the NAS has two different addresses within the same subnet?

Beyond, please login to the NAS Linux shell from your computer (Windows: puTTY, OS X Terminal app: $ ssh admin@[NAS-IP-address]) using the admin credentials. There you can enter the commands (the [~] shows just the current directory, the # is the prompt.

Run these commands as the shell prompt, post the output to the forum:

Post the output of

[~] # ifconfing
...

[~] # netstat -aln | grep 9000
tcp 0 0 10.10.1.116:9000 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN

This is Twonky 6 default install - note the "-enableweb 1" which is controlled by the COntrol Panel -> Applications -> DLNA Media Sever -> Twonky -> "Click the following link ..."

[~] # ps -ef | grep two
5501 admin 408 S /mnt/HDA_ROOT/twonkymedia/twonkymedia -inifile /etc/config/twonkyvision-mediaserver6.ini -enableweb 1 -powersavemode 1 -logfile /mnt/HDA_ROOT/twon...
5504 admin 4956 S /mnt/HDA_ROOT/twonkymedia/twonkymediaserver -inifile /etc/config/twonkyvision-mediaserver6.ini -enableweb 1 -powersavemode 1 -logfile /mnt/HDA_ROO...

If the processes don't exist (again the firmware included Twonky 6, no Twonky 7 installed form the App Center [or disabled there])

[~] # /etc/init.d/twonkymedia.sh restart
...

With the App Center installed Twonky, the processes are different - again the "-ennableweb 2" is required:

[~] # ps -ef | grep two
28216 admin 420 S /share/MD0_DATA/.qpkg/TwonkyMedia/twonkystarter -inifile /etc/config/twonkyvision-mediaserver6.ini -enableweb 2 -powersavemode 1 -logfile /share/M
28217 admin 6384 S /share/MD0_DATA/.qpkg/TwonkyMedia/twonkyserver -inifile /etc/config/twonkyvision-mediaserver6.ini -enableweb 2 -powersavemode 1 -logfile /share/MD
28790 admin 572 S grep two

If these processes don't exist with App Center installed Twonky 7, run

[~] # /etc/init.d/twonkymedia6.sh restart
...

This should give the community an idea about the problem status.

Regards,
-Kurt.
msf13
Starting out
Posts: 25
Joined: Wed Jun 22, 2011 12:30 pm

Re: Can't get Twonky to launch

Post by msf13 »

Hey Kurt,

I must say I kinda know my way around a linux machine but some of the stuff your asking me to do is beyond my expertise.
Please be patient with me and thanks for the help.

Here is the info you asked about.

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:9B:C0:91:BC
inet addr:192.168.1.222 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16973058 errors:0 dropped:0 overruns:0 frame:0
TX packets:23037657 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:532
RX bytes:3652311185 (3.4 GiB) TX bytes:4002204475 (3.7 GiB)
Interrupt:15

eth1 Link encap:Ethernet HWaddr 00:08:9B:C0:91:BD
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1438756 errors:0 dropped:0 overruns:0 frame:0
TX packets:2199154 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:532
RX bytes:425137171 (405.4 MiB) TX bytes:2281470100 (2.1 GiB)
Interrupt:11

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:929693 errors:0 dropped:0 overruns:0 frame:0
TX packets:929693 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:226699371 (216.1 MiB) TX bytes:226699371 (216.1 MiB)


netstat -aln |grep 9000
netstat: no support for `AF INET6 (tcp)' on this system.
netstat: no support for `AF INET6 (udp)' on this system.
netstat: no support for `AF INET6 (raw)' on this system.

*******Note I am not sure if you wanted me to grep for the tcp stuff.


I tried to grep this line

ps -ef | grep two
5501 admin 408 S /mnt/HDA_ROOT/twonkymedia/twonkymedia -inifile /etc/config/twonkyvision-mediaserver6.ini -enableweb 1 -powersavemode 1 -logfile /mnt/HDA_ROOT/twon...
5504 admin 4956 S /mnt/HDA_ROOT/twonkymedia/twonkymediaserver -inifile /etc/config/twonkyvision-mediaserver6.ini -enableweb 1 -powersavemode 1 -logfile /mnt/HDA_ROO...

but this is what I got doing an auto complete and I noticed I don't have an ini file twonkyvision-mediaserver6.ini only twonkyvision-mediaserver.ini

ps -ef | grep two 5501 admin 408 S /mnt/HDA_ROOT/twonkymedia/twonkymedia -inifile /etc/config/twonkyvision-mediaserver -inifile /etc/config/twonkyvision-mediaserver.ini -enableweb 1 -powersavemode 1 -logfile /mnt/HDA_ROOT/


I tried this command instead of /etc/init.d/twonkymedia6.sh restart

/etc/init.d/twonkymedia.sh restart
Shutting down UPnP MediaServer services: twonkymedia.
PID file /var/run/mediaserver.pid not found, stopping server anyway...

UPnP MediaServer is disabled. If the process still existed, try to run "/etc/init.d/twonkymedia.sh stop"

I stopped the control panel Twonky and installed the app twonky and this is what happened


TwonkyMedia 7.2.7.0.0 has been installed in /share/MD0_DATA/.qpkg/TwonkyMedia.
Default share Multimedia is not found. TwonkyMedia start failed.

Thanks
MS

























/etc/init.d/twonkymedia.sh restart
Shutting down UPnP MediaServer services: twonkymedia.
PID file /var/run/mediaserver.pid not found, stopping server anyway...

db can't be moved to HDD
Default share Multimedia is not found.
User avatar
schumaku
Guru
Posts: 43579
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Can't get Twonky to launch

Post by schumaku »

No autocomplete - just use the commands as shown.

Something went bust on your NAS config:
Default share Multimedia is not found.
Can manage and see all the default and user created shared folders?
msf13
Starting out
Posts: 25
Joined: Wed Jun 22, 2011 12:30 pm

Re: Can't get Twonky to launch

Post by msf13 »

If you mean can I cd into the share dirs then yes. I am able to see the drives when I map them too.
Could it be that I jumped from firmware 3.??? directly to 4.0.5 ?

I noticed that Kurt was having me grepping the /etc/config/twonkyvision-mediaserver6.ini file I don't have that file. I do have a twonkyvision-mediaserver.ini file. So I am not sure the grep that he asked me to do will work but below is the result.

grep: invalid option -- p
BusyBox v1.01 (2014.01.16-21:02+0000) multi-call binary

Usage: grep [-ihHnqvs] PATTERN [FILEs...]

Search for PATTERN in each FILE or standard input.

Options:
-H prefix output lines with filename where match was found
-h suppress the prefixing filename on output
-i ignore case distinctions
-l list names of files that match
-n print line number with output lines
-q be quiet. Returns 0 if result was found, 1 otherwise
-v select non-matching lines
-s suppress file open/read error messages



MS
User avatar
schumaku
Guru
Posts: 43579
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Can't get Twonky to launch

Post by schumaku »

With the App Centre installed QPKG Twonky the /etc/config/twonkyvision-mediaserver6.ini should be in place and be used AFAIK, and the .....6.sh script to start/stop.

Remove Twonky from QPKG, reboot, and re-install.
msf13
Starting out
Posts: 25
Joined: Wed Jun 22, 2011 12:30 pm

Re: Can't get Twonky to launch

Post by msf13 »

Removed the QPKG Twonky rebooted and re-installed 7.2.7.0 It installed but won't start. When I try to launch it it sends me to 192.168.1.101:9000 and it times out.
I looked in my /etc/config/ dir and there is no /etc/config/twonkyvision-mediaserver6.ini
only
-rw-r--r-- 1 admin administ 6564 Mar 27 18:55 twonkyvision-mediaserver.ini
User avatar
schumaku
Guru
Posts: 43579
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Can't get Twonky to launch

Post by schumaku »

Does the Multimedia share exist, is it visible in the NAS Control Panel - Privilege Settings -> Shared Folders, and is it accessible from a computer?

Does the NAS system log show any indications of missing default shares?
msf13
Starting out
Posts: 25
Joined: Wed Jun 22, 2011 12:30 pm

Re: Can't get Twonky to launch

Post by msf13 »

I just got home and look at the logs on the NAS.
Below are them. I am currently rebooting as I write.
Like I said before I jumped some major Firmware updates, like two years worth. Could that have had something to do with why these dirs are not there?
(Hey thanks again for the help)

The system is unable to save your settings (file = [/etc/storage.conf], section = [VOLUME 1], field = [status], value = [0]) due to insufficient ramdisk space. If restarting the server does not solve the problem please contact support for further assistance.
The system is unable to save your settings (file = [/etc/config/.qos_config/users/admin/config], section = [common], field = [lastLoginVer], value = [4.0.2]) due to insufficient ramdisk space. If restarting the server does not solve the problem please contact support for further assistance.
The system is unable to save your settings (file = [/etc/config/.qos_config/users/admin/config], section = [common], field = [lastLogin], value = [1397526229]) due to insufficient ramdisk space. If restarting the server does not solve the problem please contact support for further assistance.
The system is unable to save your settings (file = [/etc/config/.qos_config/users/admin/config], section = [datetime], field = [login], value = [1397624107]) due to insufficient ramdisk space. If restarting the server does not solve the problem please contact support for further assistance.
Default share Multimedia is not found. TwonkyMedia start failed.
TwonkyMedia 7.2.7.0.0 has been installed in /share/MD0_DATA/.qpkg/TwonkyMedia.
LAN 2 link is Up.
Folders(Usb, Web, Multimedia, Download) for default network shares do not exist. Restore default network shares or format your disk volume.
Default network shares(Usb, Web, Multimedia, Download) do not exist. Restore default network shares or format your disk volume.
[Media Library] Media Library Server started.
System started.
msf13
Starting out
Posts: 25
Joined: Wed Jun 22, 2011 12:30 pm

Re: Can't get Twonky to launch

Post by msf13 »

Well I rebooted and this is what I got

Warning 2014-04-16 05:57:25 System 127.0.0.1 localhost Default share Multimedia is not found. TwonkyMedia start failed.
Information 2014-04-16 05:57:04 System 127.0.0.1 localhost LAN 2 link is Up.
Warning 2014-04-16 05:56:31 System 127.0.0.1 localhost Folders(Usb, Web, Multimedia, Download) for default network shares do not exist. Restore default network shares or format your disk volume.
Warning 2014-04-16 05:56:30 System 127.0.0.1 localhost Default network shares(Usb, Web, Multimedia, Download) do not exist. Restore default network shares or format your disk volume.
Information 2014-04-16 05:55:53 System 127.0.0.1 localhost [Media Library] Media Library Server started.
Information 2014-04-16 05:54:39 System 127.0.0.1 localhost System started.

Should I just Restore default network shares? Will I loose everything? The only thing I have in those shared are in the Qmultimedia folder.

MS
msf13
Starting out
Posts: 25
Joined: Wed Jun 22, 2011 12:30 pm

Re: Can't get Twonky to launch

Post by msf13 »

GOT IT !!
I guess when I pushed up the firmware those shared dirs never got updated. I restored default share dirs and badda bing! Twonky started and now I have a
twonkyvision-mediaserver6.ini file.

Thanks for all the help guys.


Cheers

MS
Post Reply

Return to “Media Streaming”