[Tutorial] installing Tonido (light personal cloud server)

Guides and tutorials for various stuff. Posted by DietPi users.
sinistergfx
Posts: 8
Joined: Wed Nov 02, 2016 4:40 pm

[Tutorial] installing Tonido (light personal cloud server)

Post by sinistergfx » Wed Nov 02, 2016 5:37 pm

The only features I need in a cloud server are a simple web interface that I can upload files from, a syncing feature to mirror files onto other computers, and app support on my phone.
Owncloud/Nextcloud/Pydio all have these features but seem like overkill and way too resource intensive for what I want.

Instead, I use Tonido http://www.tonido.com/
It's a self contained process, so it doesn't rely on seperate webserver or database and is super light on resources; right now, it's only consuming 2% of the memory on my Pi2B

I've been using it since around January this year, and it's been totally reliable for getting files to and from my Pi. I recently had to redo my DietPi installation from scratch, and found the installation instructions on the Tonido website didn't -quite- work anymore, the only show stopper issue being the libjpeg8 dependency (I informed them on their forums).

It seems like there's also an issue with photo syncing with the iPhone app right now, but it's not really a feature I use.


I wrote up my process for getting Tonido up and running on external storage with DietPi:
1) Install libjpeg8 dependency:

Code: Select all

sudo apt-get install libjpeg8 -y
2) Install Tonido:

Code: Select all

sudo mkdir /usr/local/tonido
cd /usr/local/tonido
sudo wget http://patch.codelathe.com/tonido/live/installer/armv6l-rpi/tonido.tar.gz
sudo tar -zxvf tonido.tar.gz
3) Fix plugin compatibility on Pi2 (this might be different on Pi3 and others?):

Code: Select all

sudo find . -name "manifest.xml" -exec sed -i "s/armv6l/armv7l/g" '{}' \;
4) Start Tonido server:

Code: Select all

sudo ./tonido.sh start &
5) Set up profile and change data locations from web interface:
-Open Tonido web interface using the address http://[DietPi IP address]:10001
-Make a profile and login.
-Change data storage location in the 'settings' > 'account' section to external drive.
-Change camera uploads store location in the 'settings' > 'misc' section to external drive.

6) Change sync data locations to external drive:

Code: Select all

sudo ./tonido.sh stop
edit the "DEFAULT" values in /root/tonido/data/profiles/[profile name]/plugindata/syncserver/syncserverconfig.xml:

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<variantrow>
  <rowentry>
  <name>syncclientlocation</name>
  <type>string</type>
  <value>/mnt/dietpi_userdata/tonido/syncdata/client</value>
  </rowentry>
  <rowentry>
  <name>syncfolderlocation</name>
  <type>string</type>
  <value>/mnt/dietpi_userdata/tonido/sync</value>
  </rowentry>
  <rowentry>
  <name>syncserverlocation</name>
  <type>string</type>
  <value>/mnt/dietpi_userdata/tonido/syncdata/server</value>
  </rowentry>
</variantrow>

Code: Select all

sudo ./tonido.sh start &
7) Set up Tonido to auto start on boot:

Code: Select all

sudo wget -O /etc/init.d/tonido http://www.tonido.com/support/download/attachments/9109990/tonido?version=2&modificationDate=1412274854000&api=v2
sudo chmod +x /etc/init.d/tonido
sudo update-rc.d tonido defaults

Hopefully that works out for anyone who wants to give Tonido a try!

User avatar
Fourdee
Site Admin
Posts: 2789
Joined: Tue Feb 06, 2007 12:36 pm

Re: [Tutorial] installing Tonido (light personal cloud serve

Post by Fourdee » Fri Nov 04, 2016 6:11 pm

Owncloud/Nextcloud/Pydio all have these features but seem like overkill and way too resource intensive for what I want.

Instead, I use Tonido http://www.tonido.com/
It's a self contained process, so it doesn't rely on seperate webserver or database and is super light on resources; right now, it's only consuming 2% of the memory on my Pi2B
Interesting ;)

Thanks for sharing the guide, i'll create a ticket and take see if we can add it to DietPi-Software: https://github.com/Fourdee/DietPi/issues/592
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.

studioai
Posts: 15
Joined: Thu Apr 14, 2016 2:15 pm

Re: [Tutorial] installing Tonido (light personal cloud serve

Post by studioai » Mon Jan 30, 2017 2:07 am

if "sudo apt-get install libjpeg8 -y" causes error.

Try below

Code: Select all

cd /tmp
wget http://ftp.us.debian.org/debian/pool/main/libj/libjpeg8/libjpeg8_8d-1+deb7u1_armhf.deb
dpkg -i libjpeg8_8d-1+deb7u1_armhf.deb
in that way, I could run tonido

User avatar
johnvick
Legend
Posts: 653
Joined: Wed Jun 08, 2016 10:53 am
Location: New Zealand

Re: [Tutorial] installing Tonido (light personal cloud serve

Post by johnvick » Mon Jan 30, 2017 7:14 am

Just tried this and am very impressed.

Anyone know what I would use instead of armv6l-rpi

for the XU4 and the Orange Pi Zero?

John

User avatar
johnvick
Legend
Posts: 653
Joined: Wed Jun 08, 2016 10:53 am
Location: New Zealand

Re: [Tutorial] installing Tonido (light personal cloud serve

Post by johnvick » Tue Jan 31, 2017 4:32 am

Got this going on XU4 and after some problems with the apps not starting - fixed by putting armv7l in all the manifest.xml files (five of them) - working well. Ipad and Android apps sync nicely.

For ease of use and nice web interface this beats OwnCloud and NextCloud by miles.

Thanks to sinistergfx for the above tutorial.

John

juliuscaesar
Posts: 17
Joined: Wed Dec 28, 2016 12:36 pm

Re: [Tutorial] installing Tonido (light personal cloud serve

Post by juliuscaesar » Fri Feb 10, 2017 10:33 am

Just tried it! Seems work really good, although i tried the OSX version just to test the program.

I really hope to see this program in the DietPi repos :)

Thank you for sharing this with the community!

jake
Posts: 10
Joined: Mon Feb 27, 2017 12:58 am

Re: [Tutorial] installing Tonido (light personal cloud serve

Post by jake » Sun Mar 19, 2017 4:23 pm

Can anyone think of any reason why this wouldn't work on a NanoPi NEO running DietPi v146? On the surface I don't see any show stoppers, but I thought I'd ask first. :?:

User avatar
johnvick
Legend
Posts: 653
Joined: Wed Jun 08, 2016 10:53 am
Location: New Zealand

Re: [Tutorial] installing Tonido (light personal cloud serve

Post by johnvick » Sun Mar 19, 2017 5:48 pm

I have it working on XU4 and Orange Pi Zero. So you should be OK. What is a useful feature, the WIndows sync app, is not supported on the ARM version of this software.

John

jake
Posts: 10
Joined: Mon Feb 27, 2017 12:58 am

Re: [Tutorial] installing Tonido (light personal cloud serve

Post by jake » Sun Mar 19, 2017 7:59 pm

OK, great! After doing my reading that's what I thought, but it never hurts to ask the pros! Cheers! :D

jake
Posts: 10
Joined: Mon Feb 27, 2017 12:58 am

Re: [Tutorial] installing Tonido (light personal cloud serve

Post by jake » Sun Mar 19, 2017 11:35 pm

OK, it took a little poking and prodding however it's working and accessible from my Ubuntu laptop and my Android phone.

I had a 128GB USB 2 thumb-drive that I've created two partitions on; 1) 20GB for user neo and 2) 100GB for tonido.

The NanoPi NEO has been a kicker of board so far. I'm using LDXE and noMachine and that is proving to be a stable combination. I don't expect it to win any speed competitions but it definitely is cool! :D

Hey, Fourdee! DietPi rocks! Totally worth the donation!! :lol:

Post Reply