How To Upgrade On A Raspberry Pi?


MrCamaleo

Recommended Posts

Hi,

 

I am a php developer and work at home on a Mac Mini. When I work at my customers offices I use a MacBook Air.

 

Until now I used Dropbox to keep things in sync, after having upgraded to OSX 10.9 I started facing a number of issues so I am looking for an alternative solution.

 

Actually I am playing with a Raspberry Pi in order to see if I can use it to replace Dropbox to keep my development and documents folders in sync.

 

I have installed BTSync following the instructions at:

http://jack.minardi.org/raspberry_pi/replace-dropbox-with-bittorrent-sync-and-a-raspberry-pi/

 

and left it running all night, folders sizes are:

 

Documents 7.7Gb in 22182 files

Sites 12.8Gb in 149641 files

 

The OS is installed in an 8Gb SD and the data is saved in a 32Gb USB Drive.

 

This morning the Raspberry had only copied 1Gb of data and, after some investigations, I found out that the boot disk (and 8Gb SD) was totally full!

 

I then found out that two logs files were eating up all the space: kern.log and syslog

 

After I realised that I was using 1.2.82 on my Macs and 1.2.67 on the Pi I removed both log files so that I was able to download the new version in the Pi.

 

After having installed 1.2.82 I copied .sync to .sync-old and then started BTSync.

 

Accessing the web interface it was still stating that it was 1.2.67, so I stopped BTSync, removed the .sync folder and started BTSync again.

 

By doing so I had to add again the folders to be synced, this is not a big issue but I would like to know which is the best procedure to upgrade so that, the next time, I will not have to wait BTSync to reindex everything once again.

 

Can anyone please give me some clues?

 

Also, to keep BTSync updated is it better to install it as described here:

http://forum.bittorrent.com/topic/18974-debian-and-ubuntu-server-packages-for-bittorrent-sync-121-1/

 

Or is better to manually update all the installations to avoid issues that can arise by running different versions?

 

Thank you so much!

 

Link to comment
Share on other sites

  • 2 weeks later...

I installed btsync on my pi the same way as you. To upgrade I just renamed btsync to btsync_old and uncompressed the new version. I left the .sync directory as is. Before doing this I just stopped the btsync service - sudo service btsync stop. I then started it again with sudo service btsync start. All seems fine and the new version is showing in the web interface. Log sizes look fine

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.