This is why I moved Firefox Sync to my own YunoHost server

Mozilla will tell you Firefox Sync is secure, and it is not lying: your data is encrypted before it leaves the browser. But “secure” is not the same as “mine”. I moved the storage side of Sync onto my own YunoHost server, then pointed every device I own at it — and the whole thing took less time than setting up a new browser profile.

My sync server is the YunoHost app Firefox SyncStorage (the syncserver-rs implementation), running at bookmarksync.yorili.com. Bookmarks, history, open tabs, passwords, addresses, add-ons and settings now land on my machine instead of on Mozilla’s.

Laptop, tablet and smartphone on a desk
One account, six platforms, one server that I control.

Why move sync data home?

Let me be fair to Mozilla. Firefox Sync encrypts your data locally before uploading it, and Mozilla’s own documentation says as much. This is not an article claiming the big browser vendor is careless. It is an argument about trust and control.

When Mozilla hosts the storage, you trust its security, its terms of service, its jurisdiction and its future. You also hand over metadata: that an account exists, which devices connect, when they connect. None of that requires you to read the contents of your bookmarks to be useful to somebody. Keeping the storage on my own box removes a whole category of trust from the equation. I decide who has access, I control the backups, and I can see the service is healthy with a single URL.

Encrypted in transit is not the same as under your control. I wanted the data on a disk I can inspect, back up and switch off.

What I installed

YunoHost has Firefox SyncStorage in its app store under the id syncserver-rs. I installed latest version on its own subdomain. YunoHost handles the reverse proxy, the TLS certificate, the service user and SSO, so there is no manual Python environment to build.

There is no web dashboard to configure, which is fine by me. The first check is the heartbeat endpoint:

https://bookmarksync.yorili.com/__heartbeat__

{
  "quota": {"enabled": true, "size": 2097152000},
  "status": "Ok",
  "version": "0.25.2",
  "database": "Ok"
}Code language: JavaScript (javascript)

Database OK, service OK, a two-gigabyte quota, and the version number. If you prefer the command line, yunohost app install syncserver-rs produces the same app, and yunohost app info syncserver-rs shows the domain and version afterwards.

The official method: Mac, Linux, Windows and LibreWolf

The YunoHost documentation’s desktop method is about:config plus your own token-server URL. It is identical on macOS, Linux and Windows, and it works in any Firefox-based browser that exposes about:config — including LibreWolf, which is my favourite browser on PC.

  • Sign out first. Go to about:preferences#sync and sign out of your Mozilla account if you are already signed in. Your local browser data is not deleted.
  • Open the config editor. Type about:config in the address bar and accept the warning.
  • Find the preference. Search for identity.sync.tokenserver.uri. By default it points to https://token.services.mozilla.com/1.0/sync/1.5.
  • Replace it. Set it to your instance: https://bookmarksync.yorili.com/1.0/sync/1.5.
  • Restart the browser. Then go back to about:preferences#sync and sign in with your Mozilla account.
  • Verify. Visit about:sync-log after a sync and check for errors.

The detail that trips everyone up is the path. Older guides and the older Python-based syncserver use /token/1.0/sync/1.5. syncserver-rs does not; if you leave “token” in the URL, nothing will sync. LibreWolf users may also need to enable Sync in its settings before signing in, since the fork disables some Firefox features by default. Once enabled, the same preference applies.

You still sign in with a Mozilla account. That is the deliberate trade here: authentication remains Mozilla-hosted, but the synced payload is stored on your server. Running a full self-hosted accounts service is a much bigger project.

The official method: Android

Firefox for Android has no about:config, so YunoHost’s documentation uses a hidden debug menu instead:

  • Sign out of your Mozilla account if you are signed in.
  • Open the ⋮ menu, then Settings, then scroll to About Firefox.
  • Tap the Firefox logo three or four times until you see “Debug menu enabled”.
  • Go back to the top of Settings and open the new Sync debug menu.
  • Choose Custom Sync server and enter https://bookmarksync.yorili.com/1.0/sync/1.5 — again, no “token” in the path.
  • A Stop Firefox item appears. Tap it to restart the app.
  • On a desktop browser that is already pointed at your server, visit firefox.com/pair and pair the phone.

Once paired, open tabs and history should appear on both. That is the quickest proof that the phone is talking to your instance and not to Mozilla’s storage.

iOS, the awkward one

YunoHost’s official instructions cover desktop and Android. Firefox for iOS has no about:config and its pairing with custom sync servers has a long-standing bug, so I want to be honest about this rather than pretend the same steps work.

What worked for me was the community method from the Firefox iOS issue tracker. In Firefox for iOS, go to Settings → About and tap the version number five times to unlock debug settings. Back in Settings → Advanced, set the FxA URL explicitly to https://accounts.firefox.com and put your sync URL in the token-server field. Builds have differed on whether they want the base URL or the full /1.0/sync/1.5 path — current reports say the full path is needed for syncserver-rs. Then sign in and pair with the desktop browser.

iOS is the least predictable of the bunch. If it refuses to pair, verify by making a bookmark change on a device you know is using your server and watching whether it appears elsewhere. There is no label in the iOS app that says which server is in use.

Why I prefer it

The everyday benefit is boring in the best way. I open a browser on any machine — Mac, Linux, Windows, LibreWolf on my main PC, Firefox on Android and iOS — and the tabs and passwords are there. The data sits on hardware I own, inside my backup routine. If I stop trusting the setup, I can switch it off without asking anybody.

Sync is one of those services you only notice when it breaks. Having it on my own server means I also know where it broke.

Things to know before you do this

  • Sign out of Sync before changing the token-server URL, not after.
  • The /token/ path belongs to the old Python server. syncserver-rs uses /1.0/sync/1.5.
  • The Mozilla account is still Mozilla-hosted. This moves storage, not identity.
  • Some Firefox forks disable Sync entirely; enable it before editing about:config.
  • Check about:sync-log and the heartbeat URL first when something stops working.
  • Keep the server updated. YunoHost’s app versioning makes that a one-click job.

Verdict

Self-hosted Firefox Sync is not a dramatic upgrade in encryption — Mozilla already did that part. It is an upgrade in ownership. For the price of an app install and one preference per browser, my browsing data is stored on my server, syncs across every platform I use, and stays inside my own backups. That is a trade I am happy to make.

Resources

Written in November 2026 with Firefox SyncStorage 0.25.2~ynh2 on YunoHost. Firefox builds change their debug menus and preferred URLs — check your own instance’s heartbeat and your browser version before following the iOS steps exactly.

Similar Posts