General NAS-Central Forums

Welcome to the NAS community
It is currently Thu Mar 30, 2017 8:22 pm

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Tue Nov 26, 2013 8:42 pm 
Offline

Joined: Tue Nov 26, 2013 8:38 pm
Posts: 11
Hello. I'm sorry if the topic already has been mentioned, but I've searched, but couldn't find any helpful information on this specific topic.

I bought a LaCie Cloudbox some months ago. The false alphabetic sort order of music files in "by folder"-mode causes me stomach pains. So I want to add the famous "sortcriteria='+upnp:originalTrackNumber'" to the "view-definitions.xml"-file.

My Question: Is there a way to edit view-definitions.xml on the LaCie Cloudbox 1T with a PC (Win VISTA)? If "Yes", could You give me a little hint how to do this?

I used WinSCP via FTP/SFTP to look for the the named file, but somehow there are absolutly no TWOKY-file visible on the NAS. Login on the Cloudbox works fine (both FTP/SFTP). My music/video/photo/etc.-files are visible/edible/ftp-able. In the WinSCP-Explorer I can see /root and a grey-out ".lacie" folder, but no view-definitions.xml.

I'm a noobie on LINUX/TWONKY, so I thank for your help in advance.


Top
 Profile  
 
PostPosted: Wed Nov 27, 2013 8:49 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 5974
Via FTP/SFTP you don't see the filetree on the NAS, only the shares. Maybe this can help you.


Top
 Profile  
 
PostPosted: Wed Nov 27, 2013 4:31 pm 
Offline

Joined: Tue Nov 26, 2013 8:38 pm
Posts: 11
Thanks. I will try that. I'll be back.


Top
 Profile  
 
PostPosted: Fri Jan 30, 2015 7:01 pm 
Offline

Joined: Tue Nov 26, 2013 8:38 pm
Posts: 11
Back again...

Changing the view-definitions.xml on the godforsaken cloudbox does not work, because it's marked "read only". :evil:

Anyone any idea? :-( Some kind of "bind-mounting" or else? I'm not a Linux expert...


Top
 Profile  
 
PostPosted: Sat Jan 31, 2015 3:06 pm 
Offline

Joined: Wed Mar 18, 2009 11:13 pm
Posts: 768
you can only solve this if you have shell access to your cloudbox, for example via ssh.

If you try to change permission of files in shared folders via samba or ftp server it will not let you if you are not the owner of the file. Apparently for the files you try to do this you are not the owner.

So you net to get shell access and act as user "root"


Top
 Profile  
 
PostPosted: Sat Jan 31, 2015 3:31 pm 
Offline

Joined: Tue Nov 26, 2013 8:38 pm
Posts: 11
Yes, I have ssh/root access to the cloudbox via Ubuntu. But I can't change the view-definitions.xml; it's marked as "read only". Even working with "sudo etc. does not work. I not an expert on NAS but to me it seems like the view-def...xml is in a "read only" RAM disc.

The solution seems to be copying the view-def file to admin (so it can be edited) and remount that to the origianl directory. But this exceeds my skills a little bit (it's been 20 years since I had to work with UNIX/Linux at university).


Top
 Profile  
 
PostPosted: Sat Jan 31, 2015 3:39 pm 
Offline

Joined: Wed Mar 18, 2009 11:13 pm
Posts: 768
you could try then to use the chmod command
to chnage the file from readonly to r/w for everybody
(chmod 755 /path-to/file-name, or sudo chmod 755 /path-to/file-name)


Top
 Profile  
 
PostPosted: Sat Jan 31, 2015 3:52 pm 
Offline

Joined: Tue Nov 26, 2013 8:38 pm
Posts: 11
chmod / sudo chmod does not work; all I get is an error message: "view-def...xml: Read only file system." :cry:

EDIT:
Some people have the same problems on WD NAS:

http://community.wd.com/t5/Network-Prod ... i-p/842232

or

http://community.wd.com/t5/WD-My-Cloud- ... d-p/815579 (second posting):
"The reason you do not have write access to the /views or anything under /usr/local/twonky/ is because that directory tree is under the read-only RAMdisk (root file system)."


Top
 Profile  
 
PostPosted: Sat Jan 31, 2015 4:08 pm 
Offline

Joined: Wed Mar 18, 2009 11:13 pm
Posts: 768
then remount r/w it using a command like this

Code:
mount -o remount, rw /


Top
 Profile  
 
PostPosted: Sat Jan 31, 2015 8:14 pm 
Offline

Joined: Tue Nov 26, 2013 8:38 pm
Posts: 11
IT WORKS! IT W_O_R_K_S ! (That was simple...Could have thought of that by myself.. :oops: )

I like to thank You very much! Haha, I can't believe it! Years of frustration come to an end.

forum.nas-central.org is THE place. And fvdw is The King.


Top
 Profile  
 
PostPosted: Sat Feb 28, 2015 12:17 am 
Offline

Joined: Fri Nov 22, 2013 11:21 pm
Posts: 14
akahata wrote:
IT WORKS! IT W_O_R_K_S ! (That was simple...Could have thought of that by myself.. :oops: )

I like to thank You very much! Haha, I can't believe it! Years of frustration come to an end.

forum.nas-central.org is THE place. And fvdw is The King.


So what changes did you make to view-definitions.xml ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group