← Back to team overview

ubuntu-phone team mailing list archive

Re: owncloud sync on the phone.

 

I guess it should be:
with creating .logs dir (thanks for pointing* it out) and installing*

My grammar is quite poor these days ;)
W dniu 15.04.2016 o 01:17, Filip Dorosz pisze:
Thanks! I really appreciate that you all make use of my script & click.

I updated readme on github with creating .logs dir (thanks for point it
out) and how to install custom click package.

Have a nice weekend!

--
Filip Dorosz

W dniu 14.04.2016 o 23:07, Bruce Griffis pisze:
Hacky update

added:  syncevolution owncloud calendar
             syncevolution owncloud contacts

to Filip's script owncloud-sync.sh directly under the line
owncloud $OWNCLOUDUSER $OWNCLOUDSERVERDOMAIN $HTTPS $OWNCLOUDPASSWORD
$LOCALPATH $REMOTEPATH

rebooted phone to read in new script (probably a much more elegant way
to do this)
Edited my Home contact on my ownCloud server, adding my home address.
Deleted my Duane Eddie folder from my laptop
/home/bruce/UbuntuTouch/Music directory
Added Juanitos Best of Juanitos, Exotica, Soul Africa and Welcome in the
House of FUN albums to /home/bruce/UbuntuTouch/Music directory.

Checked phone. It had the updated Home contact info with my full address!
Checked ownCloud server. Within 5 minutes Duane Eddie was gone from my
UbuntuTouch/Music directory and Juanitos was there. Gave it another 5
minutes and was playing "Super Exotic 60's Beat!" on my phone.

Juanitos!!!!!!!

While my hack onto Filip's awesome good work was ham-fisted and
inelegant and only applies to my own phone, I'm calling it a success. My
phone is not in read/write mode. It is syncing Music, Videos, Pictures,
Documents, Calendar and Contacts.

And more importantly, my phone finished playing "Super Exotic '60's
Beat" and started playing "Latin Fever!" And that is awesome. I love
Creative Commons licensed music, especially when it's good.

Done with "Latin Fever" and listening to "Holla Holla Bossa Nova". Cool.

Now to sync The Deadrocks album "Million Dollar Surf Band" and get rid
of the crusty Rockabilly. This is a crust-free zone.

On Thu, Apr 14, 2016 at 3:01 PM, Wayne Ward <info@xxxxxxxxxxxxxxx
<mailto:info@xxxxxxxxxxxxxxx>> wrote:

    Awesome ill look at using this method tomorrow switch it back to
    read only and do the same on the m10 when it arrives :)
    Wayne
    n Thursday, 14 April 2016 13:09:09 BST, Bruce Griffis
    <bruce.griffis@xxxxxxxxx <mailto:bruce.griffis@xxxxxxxxx>> wrote:

        Yes, upstart works in the click. I followed Filip's procedures
        on his Git
        site, and it just simply worked.
        I edited the oc.cfg for my userid, password and server.
        I edited the oc-files.cfg for the directories I wanted to sync:
        /home/phablet/Documents;UbuntuTouch/Documents
        /home/phablet/Pictures;UbuntuTouch/Pictures
        /home/phablet/Music;UbuntuTouch/Music
        /home/phablet/Video;UbuntuTouch/Video

        (on my laptop I keep them in a separate directory than my
        standard Music,
        Video, Pictures, Documents - as I simply don't have enough room
        on my phone
        to sync everything I keep on the laptop.

        I put the files exactly where Filip stated. The Documents and
        Pictures from
        my phone synced perfectly fine last night. To test going from
        laptop to
        server to phone, I grabbed an Eddie Cochran album of mp3's and
        moved them
        to UbuntuTouch/Music on my laptop (I sync UbuntuTouch from my
        laptop to my
        ownCloud server).

        A couple minutes later Eddie Cochran was on my ownCloud server.
        In mybe 5
        or 10 minutes Eddie Cochran's Somthin' Else was on my phone.

        Filip did all the work. I simply read his post, went to his Git
        site,
        installed, and edited the config files his directions said to.


        On Thu, Apr 14, 2016 at 3:28 AM, Wayne Ward
        <info@xxxxxxxxxxxxxxx <mailto:info@xxxxxxxxxxxxxxx>> wrote:

            is the upstart working now in this click?
            or did you have to run commands to get the files ?

            in my cron i have specific calendars and contact
            and then i have specific folders on the SD card i sync
            but has to be RW for me to write to cron.
            Wayne

            On Wed, 2016-04-13 at 22:38 -0400, Bruce Griffis wrote:
             > This worked beautifully! Thanks +Filip Dorosz. I just
            rebooted my
             > phone (probably didn't have to) while watching my
            ownCloud server. My
             > phone's pictures magically appeared on my server! Very
            cool. I have
             > way too much music, videos and pictures on my laptop, so
            linked
             > Music, Documents, Pictures, Video on the phone to
            UbuntuTouch/Music,
             > UbuntuTouch/Documents, UbuntuTouch/Video,
            UbuntuTouch/Pictures on my
             > server and my laptop.
             >
             > You did a very cool job putting the package together.
             > Thank you.
             >
             > On Wed, Apr 13, 2016 at 1:57 PM, Bruce Griffis
            <bruce.griffis@gmail.c
             > om> wrote:
             > > Putting this discussion back on the list (I need pay
            more attention
             > > when hitting reply!)
             > > Thanks
             > >
             > > On Wed, Apr 13, 2016 at 1:56 PM, Filip Dorosz
            <filip.dorosz@rapidra
             > > ge.com.pl <http://ge.com.pl>> wrote:
             > > > Hi.
             > > >
             > > > Why didn't you wrote directly on the list?
             > > >
             > > > Also you don't really need to clone but let's get to
            the point.
             > > >
             > > > You install click package as phablet user with
            command (without
             > > > sudo!):
             > > > pkcon install-local --allow-untrusted owncloud-client-
             > > > cmd_2.1.1_armhf.click
             > > >
             > > > That's all.
             > > >
             > > > --
             > > > Regards,
             > > > Filip Dorosz
             > > >
             > > > W dniu 13.04.2016 o 19:49, Bruce Griffis pisze:
             > > > > I did a git clone
            https://github.com/fihufil/owncloud-file-sync
             > > > >  to grab
             > > > > the packages onto my laptop. I edited the config
            files. How do
             > > > > I install
             > > > > the click package? I can just do this as my phablet
            user,
             > > > > right?
             > > > >
             > > > > On Fri, Apr 8, 2016 at 12:26 PM, Filip Dorosz
             > > > > <filip.dorosz@xxxxxxxxxxxxxxxx
            <mailto:filip.dorosz@xxxxxxxxxxxxxxxx>
            <mailto:filip.dorosz@rapidrage.c
            <mailto:filip.dorosz@rapidrage.c>
             > > > > om.pl <http://om.pl>>>
             > > > > wrote:
             > > > >
             > > > >     Hello all.
             > > > >
             > > > >     As you may know I've been working at getting
            owncloud file
             > > > > sync on
             > > > >     Ubuntu Touch using owncloud-client-cmd and some
            scripts.
             > > > > What I've
             > > > >     archived so far is working owncloudcmd client
            on the phone,
             > > > > script
             > > > >     for running that periodically and simple config
            files to
             > > > > adjust
             > > > >     settings.
             > > > >
             > > > >     I've setup repository on my github so you can
            have a look
             > > > > at it:
             > > > > https://github.com/fihufil/owncloud-file-sync
             > > > >
             > > > >     If someone is willing to create GUI for
            managing my config
             > > > > files it
             > > > >     would be really nice.
             > > > >     I know this (whole project) is not suitable for
            official
             > > > > store but
             > > > >     my guess it is for Openstore.
             > > > >
             > > > >     Any feedback if greatly welcome.
             > > > >
             > > > >     Happy CLI-hacking,
             > > > >     Filip Dorosz.
             > > > >
             > > > >     --
             > > > >     Mailing list:
https://launchpad.net/~ubuntu-phone
             > > > >     Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
            <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
             > > > >     <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx
            <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>>
             > > > >     Unsubscribe :
https://launchpad.net/~ubuntu-phone
             > > > >     More help   :
https://help.launchpad.net/ListHelp
             > > > >
             > > > >
             > > > >
             > > >
             > >
             > --
             > Mailing list: https://launchpad.net/~ubuntu-phone
             > Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
            <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
             > Unsubscribe : https://launchpad.net/~ubuntu-phone
             > More help   : https://help.launchpad.net/ListHelp

            --
            Mailing list: https://launchpad.net/~ubuntu-phone
            Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
            <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
            Unsubscribe : https://launchpad.net/~ubuntu-phone
            More help   : https://help.launchpad.net/ListHelp

        Aw



    --
    Sent using Dekko from my Ubuntu device


    --
    Mailing list: https://launchpad.net/~ubuntu-phone
    Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
    <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~ubuntu-phone
    More help   : https://help.launchpad.net/ListHelp







References