Skip to content

Instantly share code, notes, and snippets.

@mariussturm
Last active February 1, 2017 13:16
Show Gist options
  • Save mariussturm/061b9f4861ef1292aa60 to your computer and use it in GitHub Desktop.
Save mariussturm/061b9f4861ef1292aa60 to your computer and use it in GitHub Desktop.
How to pair Firefox 29 with Owncloud's mozilla_sync / Weave
_Go to your Owncloud installation <https://myowncloud/remote.php/mozilla_sync> and accept the SSL Certificate
_Open about:config
_Create: services.sync.username <string> the value should be a hash not the username itself. (You only need the hash if the
sync was setup with a pre FF29, if you start from scratch the string doesn't matter)
You can look this up in an older browser or in the logs of your Owncloud server!!
_Go to: Preferences -> Sync -> Setup Firefox sync (you should see the old UI now)
'I Have an Account'
'I don't have the device with me'
'Account' - again use the hash NOT the actual username!
'Password' - ...
'Server' - https://myowncloud/remote.php/mozilla_sync/
'Recovery Key' - Get the right key from an older browser, you can find it in the sync settings
If nothing happens on the 'Next' button, restart your browser and start over.
Copy link

ghost commented Sep 6, 2014

Still working here in FF32

@KevinMKorb
Copy link

Thanks RealRancor. I took the risk and upgraded another of my boxes to FF32 and it worked fine. So, the problem was just with that one box.

@worksonmymachine-de
Copy link

Hi guys!
So what do I do to get mozilly_sync running when I have no key from prior syncs and am using FF32? Haven't found the solution yet.

(btw ownCloud 7, php5.4 and ssl proxy)

@MegaV0lt
Copy link

I found out that you can do it from scratch ist you follow the instructions, but instead if "HaveAccount" make a new one and use https://YOURSERVER/owncloud/remote.php/mozilla_sync/ as server

@ttl76543
Copy link

ttl76543 commented Oct 1, 2014

Thank you — @MegaV0lt's tip got this working for me. However I can't get any version (new, old, beta) of FF for Android to sync with ownCloud. I always get the message "Please enter a valid server URL"
Has anyone found a solution?

@TheRealWaldo
Copy link

Doesn't work for me with Android version 33. The sync interface never changes. Anyone have any idea for a fix on that?

@fossxplorer
Copy link

Using FF 35 I tried adding "services.sync.username", but i can't get a choice to choose server in the sync UI :(

@timlepes
Copy link

I have been plugging away at this on and off for a few hours. I have owncloud 8.0 with mozilla_sync 1.4 and FF 35.0.1 on Ubuntu. No joy. I have had FF synced to Mozilla but disconnected so I can use my shiny new owncloud with mozilla_sync installed. Tired all the about:config settings I can find to no avail. HOW do I get this to work?!? I am so confused. CAN it work still? What are the correct about:config settings to use the older sync system and point it to my owncloud? Once those are set, what to I do to activate it/create account? Many thanks in advance.

@boltronics
Copy link

This worked great with Iceweasel (31.2.0) on a new Debian GNU Hurd install. Thanks. It's such a shame that the functionality is all there but has been hidden away so nobody can make use of it without stumbling upon this page.

@marlemion
Copy link

This is broken on FF35. I have tried to set up a new account. Get to a window where I can enter the email adress, the password and the server. I have to answer a captcha question, too. But no luck. The 'next' button is always greyed out. I have no old hash or whatever. Setting services.sync.username to some string enables the old sync interface once. After reaching and leaving this interface, the old one pops up again and services.sync.username is empty.

@kkeane
Copy link

kkeane commented Mar 8, 2015

In FF36, MegaVolt's suggestion for starting from scratch no longer works. The instructions say to use the hash instead of the email address, but FF now validates the format and says that the account is not a valid email address.

@muflone
Copy link

muflone commented Mar 22, 2015

In my FF 36.0.4 the account setup hangs during the account verification without any error message.

EDIT: fixed, a couple of firefox restarts fixed that.

@boltronics
Copy link

Sync continues to work with Firefox ESR 45.7.0, and I just tested the above instructions against SeaMonkey 2.46. Happily, still works fine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment