Twonkymedia Server + Sheevaplug + NAS Samba share Help

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
Deviant0ne
Posts:4
Joined:Thu Mar 04, 2010 10:17 pm
AV Hardware:PS3
Twonkymedia Server + Sheevaplug + NAS Samba share Help

Post by Deviant0ne » Fri Mar 05, 2010 12:30 am

I am almost sure this is a permissions issue, but I don't know how to fix it...

I am using a Sheevaplug as my Twonkymedia server; the plug only has 512MB of Flash storage so I don't want to write to the plug itself. All of my files are located on a 1TB NAS drive; the plug has write permissions to the NAS ('sudo chmod 777 /home/user/NAS/folder -R') but when I try to run Twonky and make it write the db files to the NAS, Twonky will write a few files and then die. If I let Twonky write to the plug (/var/twonkymedia), Twonky runs just fine. Again, I'm sure this has something to do with permissions, but I don't know how to fix it.

My network diagram:
Sheevaplug(Twonky server)->GbE->Apple AirPort Extreme->GbE->NAS.
The plug is running Ubuntu 9.04.

Thank you in advance for any assistance; I really don't want to move to another UPnP server, I already bought Twonky :(

User avatar
mgillespie
Posts:1222
Joined:Fri Jul 08, 2005 1:19 pm
AV Hardware:TwonkyMedia AV UPnP Mediaserver (Marvell Kirkwood ARM Sheevaplug with Debian Squeeze).
2x Noxon V2 audio client
1x PS3 Slim 500GB Audio/Video UPnP client.
1x Sony VGF-CP1 Wireless Photoframe.
Location:UK

Re: Twonkymedia Server + Sheevaplug + NAS Samba share Help

Post by mgillespie » Fri Mar 05, 2010 12:54 am

I have a similar setup. However I switched to Debian (due to Ubuntu dropping ARMV5 support).

I have Twonkymedia running on the internal NAND, my media is on USB HDD, as is the media database. (using -appdata )

My database directory has the following permissions

Code: Select all

drwxr-xr-x  8 root  root       4096 Mar  4 19:27 twonkymedia

Deviant0ne
Posts:4
Joined:Thu Mar 04, 2010 10:17 pm
AV Hardware:PS3

Re: Twonkymedia Server + Sheevaplug + NAS Samba share Help

Post by Deviant0ne » Fri Mar 05, 2010 1:40 am

I tried changing my folder permissions to your folder permissions with the exact same result. I am not able to run Twonky at all. Again, the only way I get get Twonky to run is if the files populate on the plug. Any other ideas?

Deviant0ne
Posts:4
Joined:Thu Mar 04, 2010 10:17 pm
AV Hardware:PS3

Re: Twonkymedia Server + Sheevaplug + NAS Samba share Help

Post by Deviant0ne » Fri Mar 05, 2010 1:54 am

Could this be an issue trying to write across the network vs. trying to write across USB?

Deviant0ne
Posts:4
Joined:Thu Mar 04, 2010 10:17 pm
AV Hardware:PS3

Re: Twonkymedia Server + Sheevaplug + NAS Samba share Help

Post by Deviant0ne » Fri Mar 05, 2010 2:26 pm

I was able to get it working; I was using the 'nounix' switch when mounting the drive in my fstab file. I removed said switch and it was able to build in the directory I wanted. Granted, I can't see any of my media now through Twonky, but at least it's a giant step in the right direction.

Locked