How to Use Owncloud Sync on Ubuntu Phone

Congrats! So you figured out the 20 steps to getting owncloud-sync on your ubuntu phone.  The problem is … now what? How do you make it work?  It took a bit of goofing around but here is what I figured out:

Sync Files

  1. Do my tutorial (if it’s not in the software center when you read this) HERE
  2. Go to ‘system settings’
  3. go to ‘accounts’
  4. then add an account and select ‘owncloud’ from the list. It will prompt you for your credentials so fill them in.

Now you have an owncloud (nextcloud works fine with it) account meshed into your phone.  Now you can actually start doing useful things.  The most exciting part, of course, is syncing calendars!

  1. go to calendar icon
  2. click that grid calendar icon in the top right area – the left most of the three
  3. add online calendar
  4. owncloud
  5. again you will be prompted for your credentials again.  enter them
  6. done. you’ll see a ‘sync in progress’ kind of notifier and boom. works.

Now you want to sync up files from your phone to your cloud.  Unfortunately the app does not yet, at the point of this post, have a ‘share to cloud’ option which is too bad.  I’m sure the feature is on the way as you read this.  For now, however, what you have to do is this:

  1. in file manager, create a dedicated ‘sync’ folder on your local phone.  you could use the folders that are already there, but in my case I needed to have a folder that did *not* sync my personal photos to my work cloud!  So I made a folder called ‘work-uploads’ on my phone
  2. open the owncloud app and in account settings choose your sync frequency. I chose 15 minutes.  I left the ‘sync on mobile data’ off because I don’t want a few gigs syncing with my mobile data..
  3. go back then go to sync folders.  for the local folder, select the one you made in step 2 above. You can also create the folder at this point by pressing the + icon, or you could select one.  If you select be sure to press the check mark in the *top right*. Not sure why but the check mark in the center confuses me…
  4. back out then in the ‘sync service’ make sure there is a file in your local folder that you made in step 2 and then press ‘sync’.  It should tell you that the sync has started.

Honestly, mine is not syncing but I bet it should be. haha  It’s definitely connecting to the cloud because I could choose the folders no problem and see all of them on my cloud.  But the files aren’t moving from my phone to the cloud now so hopefully it will work for you while I figure this out.

I think you have to follow these steps in order and not use the owncloud sync app before you add the stuff in system settings but not sure…

two theories:

  1. because i created the folders on the phone it requires root (sudo) somehow to sync.  I noticed that I cannot see the folders I created in step 2 above in the regular file manager of phone…  maybe this permission issue is restricting sync
  2. I did something in the wrong order…  calendar is working perfectly though!  weird.

To test, I went in from my laptop to the web GUI of Nextcloud to see if the file made it.  No go.  Did not.  Then I put a small file in the same directory from my laptop and sure enough the file made it to the cloud.  So the issue is definitely on the phone side… hmm… more for tomorrow..

 

Tags : , , , , , ,

3 thoughts on “How to Use Owncloud Sync on Ubuntu Phone”

  1. Hey! Thanks for this.

    I seem to struggle setting up NextCloud. After about 6 months I’ve finally found the URL I needed to get into the app on UT! That URL – http://localhost/remote.php/dav/calendars/my identity/personal/ – isn’t recognized in the phone settings though. :/ What have I got wrong?

    Any light shed would be greatly appreciated.

    1. hey there mark. First of all, awesome that you are an Ubuntu Touch man! Best ever and most private mobile operating system, eh? Second, I would recommend immediately you join the brand new Ubuntu Touch community which is called UBports. This link will get you there: https://ubports.com/ There is a big telegram group with an amazing community of over 1000 people and quickly growing. In that group, after you join, there is a dedicated Telegram ‘sub-group’ dedicated to all things ‘Nextcloud and Ubuntu Touch”. It sounds like you should be part of that group right away. So on your UT device or desktop, start by joining our community and see you in there! Here is a quick link to the telegram group: https://t.me/ubports

      1. 🙂 Thanks for getting back to me!

        I LOVE UT! It took me a long time to get here, but it IS fabulous. 🙂

        I’m on the periphery of the UBPorts forum – they pointed me in the right direction to find the URL which got me into the app…

        I guess I need to download Telegram…

Leave a Reply

Your email address will not be published. Required fields are marked *