Package Details: firefox-syncstorage 0.22.3-1

Git Clone URL: https://aur.archlinux.org/firefox-syncstorage.git (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: https://github.com/mozilla-services/syncstorage-rs
Keywords: firefox mozilla sync syncserver
Licenses: MPL-2.0
Submitter: SunRed
Maintainer: SunRed (jewelux)
Last Packager: SunRed
Votes: 7
Popularity: 0.000000
First Submitted: 2022-09-23 20:40 (UTC)
Last Updated: 2026-04-20 19:58 (UTC)

Latest Comments

1 2 3 Next › Last »

SunRed commented on 2026-04-20 20:00 (UTC)

Sorry it took me a bit but the package is now updated. As the feature to enable mysql and postgres support are mutually exclusive it might be necessary to either split the package or upload a separate one in the future for postgres support and consequently renaming this package adequately.

krukai commented on 2026-04-13 07:53 (UTC) (edited on 2026-04-18 16:40 (UTC) by krukai)

Starting with 0.22.x, it should no longer be necessary to apply the MariaDB patch, see https://github.com/mozilla-services/syncstorage-rs/issues/1753. I have not tested this, however.

jewelux commented on 2025-02-17 15:05 (UTC) (edited on 2025-02-17 15:06 (UTC) by jewelux)

@mqs Have a look at this issue. Here the dependencies are explained in detail. The dependencies are still needed.

mqs commented on 2025-02-16 10:26 (UTC)

Are those python dependencies still necessary? It seems to be a pure rust package to me

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/mod.rs:45:18 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: https://github.com/mozilla-services/syncstorage-rs/blob/0.13.1/config/local.example.toml. 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.

https://github.com/mozilla-services/syncstorage-rs/blob/master/config/local.example.toml

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:
port=5000
# 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 = "api-accounts.stage.mozaws.net"
tokenserver.fxa_email_domain = "api.accounts.firefox.com"
tokenserver.fxa_metrics_hash_secret = "INSERT_SECRET_KEY_HERE"
# tokenserver.fxa_oauth_server_url = "https://oauth.stage.mozaws.net"
tokenserver.fxa_oauth_server_url = "https://oauth.accounts.firefox.com/v1"
tokenserver.fxa_browserid_audience = "https://token.stage.mozaws.net"
tokenserver.fxa_browserid_issuer = "https://api-accounts.stage.mozaws.net"
tokenserver.fxa_browserid_server_url = "https://verifier.stage.mozaws.net/v2"

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

firefox about:config sync url is the same as before: identity.sync.tokenserver.uri = https://mydomain.com/1.0/sync/1.5