Package Details: firefox-syncstorage 0.18.2-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: 8
Popularity: 0.000023
First Submitted: 2022-09-23 20:40 (UTC)
Last Updated: 2024-12-07 08:00 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

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

@bjo That is correct. I can just barely do anything about it until Mozilla either migrates their syncserver to python 3 or (more likely) packages their syncstorage backend in Rust with a new syncserver (probably also written in Rust).

bjo commented on 2021-12-14 10:14 (UTC)

This pkgbuild is broken, python2 is deprecated.

hamki commented on 2021-02-24 05:52 (UTC) (edited on 2021-02-24 05:55 (UTC) by hamki)

MySQL is required for local compilation, but the compilation dependencies in the PKGBUILD file lack this package.

Aximilli commented on 2020-02-10 04:56 (UTC) (edited on 2020-02-10 04:57 (UTC) by Aximilli)

@TheGoliath where/how do I report issues with your repo? Yours can't find the python application

Meanwhile to @elvenbone, this version yields:

 ERROR:mozsvc:Uncaught exception while processing request:
 GET https://sync.fornuto.com:5000/token/1.0/sync/1.5
 Uncaught exception:
   File "/usr/lib/python2.7/site-packages/mozsvc/tweens.py", line 59, in log_uncaught_exceptions_tween
     return handler(request)
   File "/usr/lib/python2.7/site-packages/mozsvc/tweens.py", line 26, in catch_backend_errors_tween
     return handler(request)
   File "/usr/lib/python2.7/site-packages/pyramid/tweens.py", line 43, in excview_tween
     response = _error_handler(request, exc)
   File "/usr/lib/python2.7/site-packages/pyramid/tweens.py", line 17, in _error_handler
     reraise(*exc_info)
   File "/usr/lib/python2.7/site-packages/pyramid/tweens.py", line 41, in excview_tween
     response = handler(request)
   File "/usr/lib/python2.7/site-packages/pyramid/router.py", line 148, in handle_request
     registry, request, context, context_iface, view_name
   File "/usr/lib/python2.7/site-packages/pyramid/view.py", line 667, in _call_view
     response = view_callable(context, request)
   File "/usr/lib/python2.7/site-packages/pyramid/config/views.py", line 169, in __call__
     return view(context, request)
   File "/usr/lib/python2.7/site-packages/pyramid/config/views.py", line 188, in attr_view
     return view(context, request)
   File "/usr/lib/python2.7/site-packages/pyramid/config/views.py", line 214, in predicate_wrapper
     return view(context, request)
   File "/usr/lib/python2.7/site-packages/pyramid/viewderivers.py", line 436, in rendered_view
     result = view(context, request)
   File "/usr/lib/python2.7/site-packages/pyramid/viewderivers.py", line 144, in _requestonly_view
     response = view(request)
   File "/usr/lib/python2.7/site-packages/cornice/service.py", line 514, in wrapper
     response = view_(request)
   File "/usr/lib/python2.7/site-packages/tokenserver/views.py", line 384, in return_token
     if keys_changed_at > user['keys_changed_at']:
 <type 'exceptions.KeyError'>
 KeyError('keys_changed_at',)
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/pyramid/router.py", line 270, in __call__
     response = self.execution_policy(environ, self)
   File "/usr/lib/python2.7/site-packages/pyramid/router.py", line 279, in default_execution_policy
     return request.invoke_exception_view(reraise=True)
   File "/usr/lib/python2.7/site-packages/pyramid/view.py", line 778, in invoke_exception_view
     reraise_(*exc_info)
   File "/usr/lib/python2.7/site-packages/pyramid/router.py", line 277, in default_execution_policy
     return router.invoke_request(request)
   File "/usr/lib/python2.7/site-packages/pyramid/router.py", line 249, in invoke_request
     response = handle_request(request)
   File "/usr/lib/python2.7/site-packages/tokenserver/tweens.py", line 15, in set_x_timestamp_header_tween
     response = handler(request)
   File "/usr/lib/python2.7/site-packages/syncstorage/tweens.py", line 123, in convert_non_json_responses_tween
     response = handler(request)
   File "/usr/lib/python2.7/site-packages/syncstorage/tweens.py", line 99, in convert_cornice_errors_to_respcodes_tween
     response = handler(request)
   File "/usr/lib/python2.7/site-packages/syncstorage/tweens.py", line 53, in set_default_accept_header_tween
     return handler(request)
   File "/usr/lib/python2.7/site-packages/syncstorage/tweens.py", line 30, in set_x_timestamp_header_tween
     response = handler(request)
   File "/usr/lib/python2.7/site-packages/mozsvc/tweens.py", line 94, in fuzz_backoff_headers_tween
     response = handler(request)
   File "/usr/lib/python2.7/site-packages/mozsvc/tweens.py", line 59, in log_uncaught_exceptions_tween
     return handler(request)
   File "/usr/lib/python2.7/site-packages/mozsvc/tweens.py", line 26, in catch_backend_errors_tween
     return handler(request)
   File "/usr/lib/python2.7/site-packages/pyramid/tweens.py", line 43, in excview_tween
     response = _error_handler(request, exc)
   File "/usr/lib/python2.7/site-packages/pyramid/tweens.py", line 17, in _error_handler
     reraise(*exc_info)
   File "/usr/lib/python2.7/site-packages/pyramid/tweens.py", line 41, in excview_tween
     response = handler(request)
   File "/usr/lib/python2.7/site-packages/pyramid/router.py", line 148, in handle_request
     registry, request, context, context_iface, view_name
   File "/usr/lib/python2.7/site-packages/pyramid/view.py", line 667, in _call_view
     response = view_callable(context, request)
   File "/usr/lib/python2.7/site-packages/pyramid/config/views.py", line 169, in __call__
     return view(context, request)
   File "/usr/lib/python2.7/site-packages/pyramid/config/views.py", line 188, in attr_view
     return view(context, request)
   File "/usr/lib/python2.7/site-packages/pyramid/config/views.py", line 214, in predicate_wrapper
     return view(context, request)
   File "/usr/lib/python2.7/site-packages/pyramid/viewderivers.py", line 436, in rendered_view
     result = view(context, request)
   File "/usr/lib/python2.7/site-packages/pyramid/viewderivers.py", line 144, in _requestonly_view
     response = view(request)
   File "/usr/lib/python2.7/site-packages/cornice/service.py", line 514, in wrapper
     response = view_(request)
   File "/usr/lib/python2.7/site-packages/tokenserver/views.py", line 384, in return_token
     if keys_changed_at > user['keys_changed_at']:
 KeyError: 'keys_changed_at'

Stars commented on 2019-12-02 09:04 (UTC)

If I can offer any help to installing this properly on your server I would personally just go and download the server directly from github, and compile it from there.

I don't have enough time to install all of these dependencies, and as of right now some of them are broken so I am unable to install this package unless I ignore python2-pyramid, but I don't know if that would prevent the application from installing so I just installed it from github and worked like a charm.

elvenbone commented on 2019-11-22 22:31 (UTC)

Since the package was orphaned I signed up as maintainer because I use the sync server intensively. However, if anyone wants to take over, feel free.

MikaYuoadas commented on 2019-04-19 08:34 (UTC)

For anyone having the same issue as me and lb.laboon:

I got it working again just by editing python2-tokenserver's PKGBUILD to depends on python2-cornice-0.16.2 instead of python2-cornice.

lb.laboon commented on 2019-04-18 19:23 (UTC) (edited on 2019-04-18 19:24 (UTC) by lb.laboon)

Broken for me as well, with the same error as MikaYuoadas. I'm guessing this is an upstream issue?

MikaYuoadas commented on 2019-04-18 09:39 (UTC)

The package seems broken since the upgrade of python2-tokenserver's cornice dependency from 0.16.2 to 3.5.1.

I get the following when starting the syncserver:

Traceback (most recent call last):
  File "syncserver.wsgi", line 40, in <module>
    application = loadapp('config:%s'% ini_file)
  File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
    return context.create()
  File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
    return self.object_type.invoke(self)
  File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
    return fix_call(context.object, context.global_conf, **context.local_conf)
  File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
    val = callable(*args, **kw)
  File "/usr/lib/python2.7/site-packages/syncserver/__init__.py", line 245, in main
    config = get_configurator(global_config, **settings)
  File "/usr/lib/python2.7/site-packages/syncserver/__init__.py", line 237, in get_configurator
    config.include(includeme)
  File "/usr/lib/python2.7/site-packages/pyramid/config/__init__.py", line 839, in include
    c(configurator)
  File "/usr/lib/python2.7/site-packages/syncserver/__init__.py", line 136, in includeme
    config.include("syncstorage", route_prefix="/storage")
  File "/usr/lib/python2.7/site-packages/pyramid/config/__init__.py", line 839, in include
    c(configurator)
  File "/usr/lib/python2.7/site-packages/syncstorage/__init__.py", line 19, in includeme
    config.include("syncstorage.views")
  File "/usr/lib/python2.7/site-packages/pyramid/config/__init__.py", line 808, in include
    c = self.maybe_dotted(callable)
  File "/usr/lib/python2.7/site-packages/pyramid/config/__init__.py", line 912, in maybe_dotted
    return self.name_resolver.maybe_resolve(dotted)
  File "/usr/lib/python2.7/site-packages/pyramid/path.py", line 320, in maybe_resolve
    return self._resolve(dotted, package)
  File "/usr/lib/python2.7/site-packages/pyramid/path.py", line 327, in _resolve
    return self._zope_dottedname_style(dotted, package)
  File "/usr/lib/python2.7/site-packages/pyramid/path.py", line 382, in _zope_dottedname_style
    __import__(used)
  File "/usr/lib/python2.7/site-packages/syncstorage/views/__init__.py", line 138, in <module>
    path="")
  File "/usr/lib/python2.7/site-packages/syncstorage/views/__init__.py", line 111, in __init__
    super(SyncStorageService, self).__init__(**kwds)
  File "/usr/lib/python2.7/site-packages/cornice/service.py", line 196, in __init__
    raise ConfigurationError("'acl' is not supported")
pyramid.exceptions.ConfigurationError: 'acl' is not supported