Tip: How To Enable Tonido On USB Booted TonidoPlug

Support for your TonidoPlug
Tuxedo
Tonido Team
Tonido Team
Posts: 1458
Joined: Wed Jan 28, 2009 11:30 pm

Tip: How To Enable Tonido On USB Booted TonidoPlug

Postby Tuxedo » Sun Jan 03, 2010 12:51 am


RaiD
Veteran Tonidoid
Veteran Tonidoid
Posts: 82
Joined: Fri Jan 08, 2010 8:11 pm
Location: Missouri

Re: Tip: How To Enable Tonido On USB Booted TonidoPlug

Postby RaiD » Tue Jan 12, 2010 11:02 am

I have followed the above instructions but I receive an error that says "Setup User Data directory to use external disk" on the HOME tab below my profile name. I am booting directly off of an external usb drive which has been working great (followed the instructions from the sticky'd post). All of the applications are enabled and working except the Photo Gallery which reports in the log "Tonido Photos suspended because User Data directory is set to TonidoPlug flash directory. Please change User Data directory in Profile Settings to other device (e.g. USB disk)."

My profile directory under the SETTINGS | PROFILE tab is "approot/profiles/myprofilename" and user data directory is "approot/profiles/myprofilename/userdata".

Doesn't my "flash directory" become my usb drive when it becomes the boot device? In the /root/app/tonido/plugscripts directory there is an empty "IGNOREDATADIR" file present.

root@tonido:~# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 111G 7.9G 97G 8% /
tmpfs 251M 0 251M 0% /lib/init/rw
varrun 251M 232K 251M 1% /var/run
varlock 251M 0 251M 0% /var/lock
udev 251M 16K 251M 1% /dev
tmpfs 251M 0 251M 0% /dev/shm
tmpfs 251M 0 251M 0% /var/cache/apt

Thanks!
Ryan

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Tip: How To Enable Tonido On USB Booted TonidoPlug

Postby madhan » Tue Jan 12, 2010 12:39 pm

Unfortunately the software expects that the user data directory is not "approot/profiles/myprofilename/userdata" but is something else.

So you need to set it to a different path say "/data/tonido/userdata"

You can also create a symbolic link and point to the existing userdata directory and then make the user data directory point to the symbolic link.

RaiD
Veteran Tonidoid
Veteran Tonidoid
Posts: 82
Joined: Fri Jan 08, 2010 8:11 pm
Location: Missouri

Re: Tip: How To Enable Tonido On USB Booted TonidoPlug

Postby RaiD » Tue Jan 12, 2010 1:21 pm

Thanks for the reply.

"approot/profiles/myprofilename/userdata" was created by default, how is it that the software doesn't expect to see it there? Because it was technically stored on the flash drive before I copied that content to the usb drive to boot off of it? Is this a form of flash drive overfilling protection or something?

I guess the reason I'm concerned with moving it because several apps (photos, torrent, websharepro, workspace) have directories and files located there, how would they know where to look otherwise for their .db files and such? Which also leads me to ask why those apps don't have a problem with the user data directory being there when the photo gallery does?

Thanks and sorry for all the questions! :)

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Tip: How To Enable Tonido On USB Booted TonidoPlug

Postby madhan » Tue Jan 12, 2010 1:26 pm


RaiD
Veteran Tonidoid
Veteran Tonidoid
Posts: 82
Joined: Fri Jan 08, 2010 8:11 pm
Location: Missouri

Re: Tip: How To Enable Tonido On USB Booted TonidoPlug

Postby RaiD » Tue Jan 12, 2010 2:47 pm


txporter
Super Tonidoid
Super Tonidoid
Posts: 35
Joined: Mon Dec 07, 2009 2:05 pm

Re: Tip: How To Enable Tonido On USB Booted TonidoPlug

Postby txporter » Thu Jan 14, 2010 10:58 am

Can I simply copy my /approot/profiles/myprofilename/userdata directory to /media/usb0/profiles/myprofilename/ rather than creating a symbolic link? Does this break anything? I assume that I could then delete the profile data under /approot.


Return to “TonidoPlug Support”

Who is online

Users browsing this forum: No registered users and 6 guests