← Back to team overview

ubuntu-phone team mailing list archive

Re: owncloud-client-cmd on the phone

 

Yeah. You can show me how you installed 1.8.1 on the phone.

You don't need crontab, you can setup upstart job in .config/upstart/ (file must end in .conf like .config/upstart/filesync.conf )
with the following content:
"
description "file sync"
start on started unity8-dash

exec /home/phablet/bin/file-sync.sh
"
You only need to adjust your script with infinite loop like this:

while[1]; do
*dosomething*
sleep 600
done

Regards,
Filip Dorosz

W dniu 05.04.2016 o 15:32, Wayne Ward pisze:
this would be great as wouldnt need to make the phone RW im thinking
still add a crontab when not read write to make automatic..
i have version 1.8.1 and that woks fine arm packages if you waould like
to test those

Wayne

On Tue, 2016-04-05 at 15:19 +0200, Filip Dorosz wrote:
Hi all.

I recently downloaded all dependencies needed by owncloud-client-cmd
1.7.0~beta1+really1.6.4+dfsg-1 from Vivid ports repository:
http://ports.ubuntu.com for armhf repository and stuffed in into
local
dir and then adjusted LD_LIBRARY_PATH to include my new lib path.

And to my suprise... it worked! I've made some testing and
unfortunately
been unable to sync ~/Pictures/test with my OC but at least I have
working client.

I get following error so if anyone join me can try to troubleshoot it

04-05 14:58:28:423 Database Drivers could not be loaded.
04-05 14:58:28:423 Database Drivers could not be loaded.
04-05 14:58:28:423 Database Drivers could not be loaded.
04-05 14:58:28:423 Database Drivers could not be loaded.
04-05 14:58:28:424 Database Drivers could not be loaded.
04-05 14:58:28:424 Bailing out, DB failure

If anyone is interested here is zip file with owncloud-client-cmd
and
needed libs. You just need to unzip it into your's phone HOME and
merge
bin with your current ~/bin
http://people.rapidrage.com.pl/~filip/owncloud-1.7-armhf.zip
Then you can use owncloudcmd in phone's terminal.

If we somehow make syncing work we may create simple bash script and
upstart job to automatically sync certain directories from the phone
to oc.
(tbh I already have these for rsync)

Regards,
Filip Dorosz.




Follow ups

References