Package Details: firefox-syncstorage 0.15.2-1

Git Clone URL: (read-only, click to copy)
Package Base: firefox-syncstorage
Description: Sync storage server with built-in token server for running a self-hosted firefox sync server
Upstream URL:
Keywords: firefox mozilla sync syncserver
Licenses: MPL2
Submitter: SunRed
Maintainer: SunRed (jewelux)
Last Packager: SunRed
Votes: 8
Popularity: 0.003290
First Submitted: 2022-09-23 20:40 (UTC)
Last Updated: 2024-04-16 21:00 (UTC)

Latest Comments

1 2 3 Next › Last »

Morta commented on 2023-05-16 06:19 (UTC) (edited on 2023-05-16 06:23 (UTC) by Morta)

May 16 06:16:12 5erver firefox-syncstorage[44099]: 16: <unknown> May 16 06:16:12 5erver firefox-syncstorage[44099]: 17: <unknown> May 16 06:16:12 5erver firefox-syncstorage[44099]: 18: <unknown> May 16 06:16:12 5erver firefox-syncstorage[44099]: 19: __libc_start_main May 16 06:16:12 5erver firefox-syncstorage[44099]: 20: <unknown> May 16 06:16:12 5erver firefox-syncstorage[44099]: , token_type: Oauth }', syncserver/src/tokenserver/ May 16 06:16:12 5erver firefox-syncstorage[44099]: note: run with RUST_BACKTRACE=1 environment variable to display a backtrace May 16 06:16:12 5erver firefox-syncstorage[44099]: Panic in Arbiter thread.

Is this because of wrong rust version?

jewelux commented on 2023-01-13 10:29 (UTC) (edited on 2023-01-13 10:30 (UTC) by jewelux)

@lexaiden: I fixed the firefox-syncstorage-git yesterday. There you can find a (pinned) comment with a minimal configuration to work with the official firefox oauth server. I also updated this comment yesterday.

lexaiden commented on 2023-01-13 10:15 (UTC) (edited on 2023-01-13 10:20 (UTC) by lexaiden)

@jewelex the toml file in the released version 0.13.1 is very different from what I posted below: I used the latest toml file from the master branch and changed fxa_email_domain, fxa_oauth_server_url and added port in the toml file. I previously used the firefox-syncstorage-git AUR, but this package did not build anymore.

But I understand that you don't want to provide a custom own toml here and are waiting for a fix from mozilla, hopefully my comment will help others.

jewelux commented on 2023-01-13 09:46 (UTC)

@lexaiden The firefox-syncstorage.toml installed under /etc is exactly the same file you linked from github (see PKGBUILD line 34). So the new file version will be part of the next release published by mozilla. There is nothing to do but wait. ;)

lexaiden commented on 2023-01-12 01:09 (UTC) (edited on 2023-01-12 09:32 (UTC) by lexaiden)

The syntax of the config file /etc/firefox-syncstorage.toml has changed, please update the package.

The following works for me:

# get secret with: head -c 20 /dev/urandom | sha1sum
master_secret = "INSERT_SECRET_KEY_HERE"

# removing this line will default to moz_json formatted logs (which is preferred for production envs)
human_logs = 1

# Example Syncstorage settings:
# Example MySQL DSN:
syncstorage.database_url = "mysql://fxsync_rs:sample_password@localhost/fxsync_rs"
# Example Spanner DSN:
# database_url="spanner://projects/SAMPLE_GCP_PROJECT/instances/SAMPLE_SPANNER_INSTANCE/databases/SAMPLE_SPANNER_DB"
# enable quota limits
syncstorage.enable_quota = 0
# set the quota limit to 2GB.
# max_quota_limit = 200000000
syncstorage.enabled = true
syncstorage.limits.max_total_records = 1666 # See issues #298/#333

# Example Tokenserver settings:
tokenserver.database_url = "mysql://fxsync_rs:sample_password@localhost/fxsync_rs"
tokenserver.enabled = true
# tokenserver.fxa_email_domain = ""
tokenserver.fxa_email_domain = ""
tokenserver.fxa_metrics_hash_secret = "INSERT_SECRET_KEY_HERE"
# tokenserver.fxa_oauth_server_url = ""
tokenserver.fxa_oauth_server_url = ""
tokenserver.fxa_browserid_audience = ""
tokenserver.fxa_browserid_issuer = ""
tokenserver.fxa_browserid_server_url = ""

# cors settings
# cors_allowed_origin = "localhost"
# cors_max_age = 86400

firefox about:config sync url is the same as before: identity.sync.tokenserver.uri =

jewelux commented on 2022-03-24 18:10 (UTC)

@SunRed it took a while till mozilla finished the work to integrate a token server into new syncstorage (maybe december '21). Luckily know it is done.
Let me know, if you prefer to merge or replace one of the -git packages. The new syncstorage for example has a build in routine to migrate a existing sync server database. (But not yet tested by myself.)
But I don't know if it is in interests of users when the migration from sync server to syncstorage comes with an update. Maybe for now the coexistence is the best solution.

SunRed commented on 2022-03-23 21:32 (UTC)

@jewelux I would like to thank you for the work you've put into this so far. Though I always thought the syncstorage(-rs) server doesn't replace the syncserver (and token server) on its own and has to be packaged with the former to function completely. I will pin your message for now here and on the -git package and will look into this matter again.


jewelux commented on 2022-03-16 19:21 (UTC) (edited on 2022-03-16 19:24 (UTC) by jewelux)

I submitted firefox-syncstorage-git package to build mozillas new syncstorage from git sources. Mozillas synctorage replace the omitted syncserver, incl. tokenserver. I did not an extensive testing on the new service but so far I did not notice any negative experiences. Maybe for a non production environment it is worth a try. Have fun.

SunRed commented on 2021-12-16 08:12 (UTC)

As the package is currently broken due to python 2 deprecation I suggest running this package in Docker since to my knowledge an updated syncserver that packages the syncstorage server written in Rust is not yet planned and will take a while.