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:
- Do my tutorial (if it’s not in the software center when you read this) HERE
- Go to ‘system settings’
- go to ‘accounts’
- 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!
- go to calendar icon
- click that grid calendar icon in the top right area – the left most of the three
- add online calendar
- again you will be prompted for your credentials again. enter them
- 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:
- 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
- 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..
- 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…
- 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…
- 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
- 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..
Before you begin: Always first check in the stock ubuntu software center to make sure that it’s not simply available there first. As of the date of this post it is not, but I expect it will be there very soon. Do not proceed with this tutorial if there is a one click app in the software center 🙂
1 Go to this link on your Ubuntu phone browser, follow the installation instructions.
2 Scroll down until you see the ‘Open Store’ app
Click ‘install’ and it will show you the 4 steps you have to follow. Follow them. Do them. Love them. However, if you aren’t awesome with difficult stuff, I’ll expand on each step:
- download the openstore thing: click it. It will download. Then at bottom of browser, slide up again and it will bring you back to instruction page
- your terminal app is the black thing on your main home screen of phone (image coming). open that.
- to navigate to your downloads file, in your terminal app, type this: cd ~/Downloads
- for the ‘run the command’ simply copy the pkcon install-local – – allow-untrusted openstore.openstore-team_0… stuff’ to your phones clipboard by pushing and holding. Long slide from the right side of your screen. paste it in your terminal with a long push on screen and then enter key by pushing the keyboard icon lower right.
3 Go back to the link above and scroll down until you see the owncloud file sync app and click the ‘install’ button. It will give you a warning that you are about to kill your phone and ruin your life. Accept this because life is short.
4 Install again (you’ll see an orange install button down a bit after the warning screen)
5 Go back to your home screen of phone and the owncloud app will be waiting for you. When you open it enter your owncloud or nextcloud credentials and server location
From here you should be able to connect a shared calendar and also share files and backup files. I’ll do a quick tutorial on that at my next available minute but hopefully this helps a few people out.
For some reason this is not that intuitive the first time and there don’t seem to be many/any specific tutorials out there. I kept getting a ‘modification fail’ error message or other errors. So, here you go:
1. Log in to your browser-based owncloud/nextcloud page
2. Go to the top left and click the down arrow to access the calendar app
Note: this *must* be enabled first by your admin, if you happen also to be your own admin
3. Grab the caldav link from the … share icon drop down
4. Select the content of the link and copy it to your clipboard (control A/Control C)
Back in Thunderbird Lightning
Note: You must first have the Lightning add-on installed in Thunderbird if yours does not already have it. It should come default but I recall in the past it did not…
Now skip past step #10 in this tutorial, and start at the ‘Back in Thunderbird Lightning’ steps
The key point is that it is ‘caldav’ that you select, *not* ical.
Unlike my typical tutorial formats, this one will be a near copy/paste from an email I sent to a real person so that other real people can connect this to their real brain and emotions:
I’m going to forewarn you that this email is dripping with anger/frustration so try to just plunder through it and even try to enjoy it if you can….
Apple/mac is nuts. I can’t put into words how much I can’t stand the company.
They do everything under the sun to make their users dumb and compliant – in fact, it’s creepy if you think about this…. I remember now (after this morning) why I full scale boycotted Apple and threw this iPod in the ‘smartphone trash pile’.
I will stop my rant here.
<insulting section about all iphone users removed>
But, back to the solution because at this point I just want to get our calendars working for the next few months, but please let me put in a plug here to strongly consider the company you are supporting and know that yes, there is a way to totally escape the Apple corporation forever. – It’s called Ubuntu. I hope your next move is far away from these guys… I leave it with you and I promise to dedicate all my free time to helping you if/when you are ready to make the move. Until then I hope I never have to turn this stupid thing on again:
Do this in this impossible-to-imagine difficult workaround solution, and I hope by God’s grace that your ‘issue’ is the same one I’m having here which has everything to do with the Fruit Co. and their ‘ways’.,,,
1. go to ‘settings’
2. go to ‘mail/contacts/calendars, etc’
3. add account
4. go to ‘other’ (because they weren’t respectful enough to give calDav and iCal a title or it’s own option space)
5. add calDAV account (*not* calendar subscription because it seems this fruit co can’t make this work without upgrading to the $10,000 phone or buying the latest fruit air laptop to go with it…??)
6. server: YOURSERVER.COM
7. user name: YOURCLOUDUSERNAME
8. password: your cloud password
9. description: your creative name for calendars
10. hit ‘next’
now here is where it gets *real lame*. It will say want to continue without SSL? Sure, no problem:
11. continue (yes, i will move forward without SSL)(why? Because fruit co is not secure so why bother with https? in fact, let’s make it *not work at all*)(let’s encrypt is legit SSL and it doesn’t want to work)
12. you will get “unable to verify account information” error. Why? No reason. Just because they want you to use their systems… but let’s overcome!
14. advanced settings
15. change whatever port number is listed there to 80
16. make sure SSL is off (should be)
17. go back (which somehow saves these settings even though there was no indication saving was happening..?)
18. hit ‘next’
19. but it doesn’t work! cannot verify account details blah blah? why? Because for no explainable reason, the advanced settings just randomly chose its own URL for the calendar – randomly – as if somehow Fruit Corporation is supposed to know where your calendar is hosted? no problem. let’s overcome…
20. hit ‘advanced settings’
21. make sure the ‘account URL’ is set exactly to this: http://YOURSERVER.COM:80/YOURSUBDIRECTORY/remote.php/dav/principals/users/YOURUSERNAME/
22. go back
23. done (which somehow means save?)
Here is a summary of what the two screens should look like to make it more simple to make sure you ‘followed their rules’
user name: YOURCLOUDUSERNAME
password: YOUR CLOUD PASSWORD
descxription: some long url probably
2. advanced settings screen
use ssl: off
account url: http://YOURSERVER.COM:80/YOURSUBDIRECTORY/remote.php/dav/principals/users/YOURCLOUDUSERNAME/
Now, you *BETTER* report back to me that this @#$#$@#$@#$@#$ is working or I’ll @#$@#$
<SMASHES FACE ON DESK>
Wayne Out There