Jflo Posted March 1, 2021 Share Posted March 1, 2021 I didn't see any existing configs that used the official image from Mozilla, so I made one. https://github.com/jflo/ffsync-unraid This will likely be the support thread for any questions. 1 Quote Link to comment
Joc Posted March 1, 2021 Share Posted March 1, 2021 22 hours ago, Jflo said: I didn't see any existing configs that used the official image from Mozilla, so I made one. https://github.com/jflo/ffsync-unraid This will likely be the support thread for any questions. THANKS Quote Link to comment
Joc Posted March 1, 2021 Share Posted March 1, 2021 (edited) Excuse my nooobness to unRAID, I do more searching than posting FireFox Sync Server with MariaDB I assume is OK to use. I don't see a password field in docker settings. Seems it is only for SQLlite. Or do I build MariaDB and not use a password for the FireFox database? Thanks. Edited March 1, 2021 by Joc Quote Link to comment
Jflo Posted March 2, 2021 Author Share Posted March 2, 2021 I dunno, i never tried it. Mozilla ships it with the embedded SQLlite, but looking at their init code here: https://github.com/mozilla-services/syncserver/blob/master/syncserver.ini Looks like they may at least support whatever pymysql is.... Quote Link to comment
Jflo Posted June 15, 2021 Author Share Posted June 15, 2021 I don't understand why the included Icon does not render correctly on the installed docker apps page. Quote Link to comment
Jokerigno Posted July 9, 2021 Share Posted July 9, 2021 Hi, I have a question before installing. Looking at the template I understand that I should open a port for Syncserver Public URL. Can I use it with swag reverse proxy instead? Basically I have a custom domain. I can set a subdomain like firefox.customdomain.it and let nginx in swag do the proxy from external to localhost:5000 (even I don't found any proxy conf in swag folders...). What do you kindly suggest? Thank you in advance! Quote Link to comment
dotn Posted August 5, 2021 Share Posted August 5, 2021 Hi Jflo, you have an error in your template. It is not possible to disable new user account creation, which may be crucial functionality if you want to make your SyncServer available from the internet. The problem is in docker variable SYNCSERVER_ALLOW_NEW_USER, it should be SYNCSERVER_ALLOW_NEW_USERS see: https://github.com/mozilla-services/syncserver/blob/master/syncserver/__init__.py#L188 Please fix it, it may save some debugging why the account creation is not disabled, for people who are using your template I can create pull request in your repository if you want. Thanks! 1 Quote Link to comment
pixeldoc81 Posted October 8, 2021 Share Posted October 8, 2021 Created a pull request as @Jflo didn't reply yet. This is an important security fix! Thanks for spotting this @dotn ! @Jokerigno I use caddy v2 as reverse proxy for mozilla-syncserver to do https ssl encryption. Basicly any reverse proxy should work as long as it does not tamper with the http headers. Quote Link to comment
Jflo Posted October 9, 2021 Author Share Posted October 9, 2021 uncanny timing, i literally just pushed this fix moments ago. Thanks for the spot and the fix. Quote Link to comment
MoldavianRO Posted December 17, 2021 Share Posted December 17, 2021 I installed the container, set-it up, forwarded port from router, etc, all works fine from what I can tell. If I navigate to the page i created, says "it works!" . In firefox about:config I changed identity.sync.tokenserver.uri value to http://mysubdomain.mydomain.com/token/1.0/sync/1.5 . From here, I'm lost ... when I try to sign up from firefox menu I land on mozilla account page. I created an account, to see what happens. Seems that it's not working, no idea how to use the docker sync I run. Any help please? Quote Link to comment
nekromantik Posted January 10, 2022 Share Posted January 10, 2022 (edited) does not work for me either looks like values from the template does not appear to change anything in syncserver.ini file Edited January 10, 2022 by nekromantik Quote Link to comment
GhostFox Posted November 20, 2022 Share Posted November 20, 2022 Is this working for anyone, appears to install correctly but then it just wont start Quote Link to comment
meunraid Posted July 8, 2023 Share Posted July 8, 2023 On 11/19/2022 at 8:42 PM, GhostFox said: Is this working for anyone, appears to install correctly but then it just wont start chown -R 1001:1001 /mnt/user/appdata/ff-syncserver Quote Link to comment
carotna Posted September 24, 2023 Share Posted September 24, 2023 On 7/8/2023 at 6:21 AM, meunraid said: chown -R 1001:1001 /mnt/user/appdata/ff-syncserver Thanks for the info, I was getting crazy with this. Maybe the OP can put this in the package description? Quote Link to comment
Jaybau Posted November 7, 2023 Share Posted November 7, 2023 I just installed the docker container and got an error. Any ideas to try? [2023-11-07 06:08:02 +0000] [15] [INFO] Booting worker with pid: 15 [2023-11-07 06:08:05 +0000] [15] [ERROR] Exception in worker process Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 586, in spawn_worker worker.init_process() File "/usr/local/lib/python2.7/site-packages/gunicorn/workers/base.py", line 135, in init_process self.load_wsgi() File "/usr/local/lib/python2.7/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python2.7/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load return self.load_wsgiapp() File "/usr/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python2.7/site-packages/gunicorn/util.py", line 350, in import_app __import__(module) File "/app/syncserver/wsgi_app.py", line 2, in <module> application = syncserver.main() File "/app/syncserver/__init__.py", line 281, in main config = get_configurator(global_config, **settings) File "/app/syncserver/__init__.py", line 273, in get_configurator config.include(includeme) File "/usr/local/lib/python2.7/site-packages/pyramid/config/__init__.py", line 676, in include c(configurator) File "/app/syncserver/__init__.py", line 158, in includeme config.include("syncstorage", route_prefix="/storage") File "/usr/local/lib/python2.7/site-packages/pyramid/config/__init__.py", line 676, in include c(configurator) File "/usr/local/lib/python2.7/site-packages/syncstorage/__init__.py", line 18, in includeme config.include("syncstorage.storage") File "/usr/local/lib/python2.7/site-packages/pyramid/config/__init__.py", line 676, in include c(configurator) File "/usr/local/lib/python2.7/site-packages/syncstorage/storage/__init__.py", line 576, in includeme storage = load_storage_from_settings("storage", settings) File "/usr/local/lib/python2.7/site-packages/syncstorage/storage/__init__.py", line 600, in load_storage_from_settings return klass(**section_settings) File "/usr/local/lib/python2.7/site-packages/syncstorage/storage/sql/__init__.py", line 137, in __init__ self.dbconnector = DBConnector(sqluri, **dbkwds) File "/usr/local/lib/python2.7/site-packages/syncstorage/storage/sql/dbconnect.py", line 385, in __init__ collections.create(self.engine, checkfirst=True) File "/usr/local/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 860, in create bind._run_visitor(ddl.SchemaGenerator, self, checkfirst=checkfirst) File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2032, in _run_visitor with self._optional_conn_ctx_manager(connection) as conn: File "/usr/local/lib/python2.7/contextlib.py", line 17, in __enter__ return self.gen.next() File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2024, in _optional_conn_ctx_manager with self._contextual_connect() as conn: File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2226, in _contextual_connect self._wrap_pool_connect(self.pool.connect, None), File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2266, in _wrap_pool_connect e, dialect, self File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1536, in _handle_dbapi_exception_noconnection util.raise_from_cause(sqlalchemy_exception, exc_info) File "/usr/local/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 383, in raise_from_cause reraise(type(exception), exception, tb=exc_tb, cause=cause) File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2262, in _wrap_pool_connect return fn() File "/usr/local/lib/python2.7/site-packages/sqlalchemy/pool/base.py", line 363, in connect return _ConnectionFairy._checkout(self) File "/usr/local/lib/python2.7/site-packages/sqlalchemy/pool/base.py", line 760, in _checkout fairy = _ConnectionRecord.checkout(pool) File "/usr/local/lib/python2.7/site-packages/sqlalchemy/pool/base.py", line 492, in checkout rec = pool._do_get() File "/usr/local/lib/python2.7/site-packages/mozsvc/metrics.py", line 183, in timed_func return func(*args, **kwds) File "/usr/local/lib/python2.7/site-packages/syncstorage/storage/sql/dbconnect.py", line 305, in _do_get return QueuePool._do_get(self) File "/usr/local/lib/python2.7/site-packages/sqlalchemy/pool/impl.py", line 139, in _do_get self._dec_overflow() File "/usr/local/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 68, in __exit__ compat.reraise(exc_type, exc_value, exc_tb) File "/usr/local/lib/python2.7/site-packages/sqlalchemy/pool/impl.py", line 136, in _do_get return self._create_connection() File "/usr/local/lib/python2.7/site-packages/sqlalchemy/pool/base.py", line 308, in _create_connection return _ConnectionRecord(self) File "/usr/local/lib/python2.7/site-packages/sqlalchemy/pool/base.py", line 437, in __init__ self.__connect(first_connect_check=True) File "/usr/local/lib/python2.7/site-packages/sqlalchemy/pool/base.py", line 639, in __connect connection = pool._invoke_creator(self) File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 114, in connect return dialect.connect(*cargs, **cparams) File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 453, in connect return self.dbapi.connect(*cargs, **cparams) OperationalError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8) [2023-11-07 06:08:05 +0000] [15] [INFO] Worker exiting (pid: 15) [2023-11-07 06:08:05 +0000] [7] [INFO] Shutting down: Master [2023-11-07 06:08:05 +0000] [7] [INFO] Reason: Worker failed to boot. Quote Link to comment
Hammy Havoc Posted December 29, 2023 Share Posted December 29, 2023 Anybody got https://github.com/mozilla-services/syncstorage-rs/ running? It's written in Rust. Quote Link to comment
EliteGroup Posted March 8 Share Posted March 8 On 12/29/2023 at 1:33 PM, Hammy Havoc said: Anybody got https://github.com/mozilla-services/syncstorage-rs/ running? It's written in Rust. Push Quote Link to comment
vFOV Posted June 1 Share Posted June 1 On 12/29/2023 at 12:33 PM, Hammy Havoc said: Anybody got https://github.com/mozilla-services/syncstorage-rs/ running? It's written in Rust. Push Quote Link to comment
nekromantik Posted August 19 Share Posted August 19 This is no longer maintained by Mozilla as the SyncStorage RS is replacement. But no unraid templates for it yet. Hopefully someone makes one Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.