• Hello Guest! SynoForum.com is celebrating its 5th anniversary! 🥳🎉 Read more...

Firefox syc server

Currently reading
Firefox syc server

Ds918+, DS718
  1. RT2600ac
Operating system
  1. Windows
Mobile operating system
  1. Android
I try to setup a mozilla sync server but can't get it to work.
I use this docker Docker Hub
and i do the staps as describe.
This is my config file.

use = egg:gunicorn
host =
port = 5000
workers = 1
timeout = 30

# SSL Support - uncomment the following lines to use ssl certificates
# don't forget to change your public_url prefix to https
#keyfile = privatekey.key
#certfile = certificate.crt

forwarded_allow_ips = *
#debug = True
#accesslog = -
errorlog = -
loglevel = warning

use = egg:syncserver

# This must be edited to point to the public URL of your server,
# i.e. the URL as seen by Firefox.
public_url = http://d****ail.nl:5100

# This defines the database in which to store all server data.
sqluri = sqlite:////data/syncserver.db

# This is a secret key used for signing authentication tokens.
# It should be long and randomly-generated.
# The following command will give a suitable value on *nix systems:
#    head -c 20 /dev/urandom | sha1sum
# If not specified then the server will generate a temporary one at startup.
secret = f413ab4b731a5c19305f0520920014970b73fd

# Set this to "false" to disable new-user signups on the server.
# Only request by existing accounts will be honoured.
# allow_new_users = false

# Set this to "true" to work around a mismatch between public_url and
# the application URL as seen by python, which can happen in certain reverse-
# proxy hosting setups.  It will overwrite the WSGI environ dict with the
# details from public_url.  This could have security implications if e.g.
# you tell the app that it's on HTTPS but it's really on HTTP, so it should
# only be used as a last resort and after careful checking of server config.
force_wsgi_environ = true

# Uncomment and edit the following to use a local BrowserID verifier
# rather than posting assertions to the mozilla-hosted verifier.
# Audiences should be set to your public_url without a trailing slash.
backend = tokenserver.verifiers.LocalVerifier
audiences =

I have create a user and a group. The user id is 1040 but i dont know the id of the group so i have set it also to 1040.
further i have removed the / in the data path it was /data/ now it is /data i don't know if it is relevant but just saying...

I don't know why i must set the user because you need to login with a email adres as.

If i'll try http://d****ail.nl:5100 i see the message 'it works'

in firefox i also have changed the identity.sync.tokenserver.uri to http://d****ail.nl:5100/token/1.0/sync/1.5

then i have closed firefox. and start it again.
When i try to login i must fill in my email and password and i have to enter a code thas was send to my email.

After that i see a warning that i need to login again.
If i login i still see the warning.

Can someone help me with it?
The image is designed to run the main process as a restricted user (which is the right thing to do!).
In order to be in full controll which UID and GID this restricted user will have, a feature is implementend in the entrypoint script that takes care to replace the uid:gid with those you passed in as environment variables.

Why is this done? To takle permission problems with mounted host paths into docker volumes. You need to use the UID and GID of the owner of the host path. Another, less clean, alternative is to `chmod 777' the folder.

You can check the UID and GID on your ds like this on the shell:
- of the user: id
- of the folder: stat -c 'User: %U(%u), Group: %G(%g)' /volume1/docker/my/folder/ (of course you need to replace the folder with whatevery you intend to use)
Thank you for pointing me in right direction. I guess it now works
Hi question, did you manage to get to sync with a mobile Firefox browser?
At the moment I’m using this image crazy-max/docker-firefox-syncserver. But for me it is not working with mobile Firefox I can only sync between desktop browsers windows and macOS’s
So, anyone using this docker container with SSL support? What prerequisites should be done to get this running?

Obviously the latest Firefox Android, including the Nightly one, needs SSL certificates to work properly...

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

VPN, Tor, Tailscale, proxy, cell phone data... Not worth risking NAS and your network security IMO...
Hello (again). This is an English speaking forum, please translate your topic. Tnx.
I have progressed now. I had to add env variables in the compose file. environment: -...
Thanks fredbert I'll start looking at those.
Have you tried to setup a rule for specific docker network subnet for that container and test internet access?
backup example inside the postgres container: pg_dump -Ft DBNAME -U DBUSERNAME > backup_name.tar Restore...
Thanks @Rusty for pointing it, for sure once you have successfully registered your user, may uncheck the...

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!