Package Details: mozilla-firefox-sync-server 1.8.0-1

Git Clone URL: https://aur.archlinux.org/mozilla-firefox-sync-server.git (read-only)
Package Base: mozilla-firefox-sync-server
Description: Mozilla Sync Server for built-in Firefox Sync
Upstream URL: http://docs.services.mozilla.com/howtos/run-sync-1.5.html
Licenses: GPL
Submitter: onny
Maintainer: ilikenwf
Last Packager: onny
Votes: 5
Popularity: 0.761645
First Submitted: 2018-03-11 10:14
Last Updated: 2018-06-08 07:29

Latest Comments

MikaYuoadas commented on 2019-04-19 08:34

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

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

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

Teyro commented on 2019-02-13 19:20

Getting this error in 1.8... [code] ERROR:syncstorage.views:Could not apply batch ERROR:syncstorage.views:BackendError

(sqlite3.OperationalError) no such column: batch_upload_items.userid [SQL: u"\n INSERT OR REPLACE INTO bso\n (userid, collection, id, sortindex, payload,\n payload_size, ttl, modified)\n SELECT\n batch_uploads.userid,\n batch_uploads.collection,\n batch_upload_items.id,\n COALESCE(batch_upload_items.sortindex, existing.sortindex),\n COALESCE(batch_upload_items.payload, existing.payload, ''),\n COALESCE(batch_upload_items.payload_size, existing.payload_size, 0),\n COALESCE(batch_upload_items.ttl_offset + ?, existing.ttl, ?),\n ?\n FROM batch_uploads\n LEFT JOIN batch_upload_items\n ON\n batch_upload_items.batch = batch_uploads.batch AND\n batch_upload_items.userid = batch_uploads.userid\n LEFT OUTER JOIN bso AS existing\n ON\n existing.userid = batch_uploads.userid AND\n existing.collection = batch_uploads.collection AND\n existing.id = batch_upload_items.id\n WHERE\n batch_uploads.batch = ? AND\n batch_uploads.userid = ?\n / [queryName=APPLY_BATCH_INSERT] /"] [parameters: (1550085553, 2100000000, 1550085553090L, 1550085553091L, 1)] (Background on this error at: http://sqlalche.me/e/e3q8) ERROR:mozsvc:68a5000cba6e610cdb2beb672887bdcf ERROR:mozsvc:BackendError

(sqlite3.OperationalError) no such column: batch_upload_items.userid [SQL: u"\n INSERT OR REPLACE INTO bso\n (userid, collection, id, sortindex, payload,\n payload_size, ttl, modified)\n SELECT\n batch_uploads.userid,\n batch_uploads.collection,\n batch_upload_items.id,\n COALESCE(batch_upload_items.sortindex, existing.sortindex),\n COALESCE(batch_upload_items.payload, existing.payload, ''),\n COALESCE(batch_upload_items.payload_size, existing.payload_size, 0),\n COALESCE(batch_upload_items.ttl_offset + ?, existing.ttl, ?),\n ?\n FROM batch_uploads\n LEFT JOIN batch_upload_items\n ON\n batch_upload_items.batch = batch_uploads.batch AND\n batch_upload_items.userid = batch_uploads.userid\n LEFT OUTER JOIN bso AS existing\n ON\n existing.userid = batch_uploads.userid AND\n existing.collection = batch_uploads.collection AND\n existing.id = batch_upload_items.id\n WHERE\n batch_uploads.batch = ? AND\n batch_uploads.userid = ?\n / [queryName=APPLY_BATCH_INSERT] /"] [parameters: (1550085553, 2100000000, 1550085553090L, 1550085553091L, 1)] (Background on this error at: http://sqlalche.me/e/e3q8) Traceback (most recent call last): File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/mozsvc/tweens.py", line 26, in catch_backend_errors_tween return handler(request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/pyramid/tweens.py", line 21, in excview_tween response = handler(request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/pyramid/router.py", line 163, in handle_request response = view_callable(context, request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/pyramid/config/views.py", line 596, in call return view(context, request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/pyramid/config/views.py", line 329, in attr_view return view(context, request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/pyramid/config/views.py", line 305, in predicate_wrapper return view(context, request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/pyramid/config/views.py", line 245, in secured_view return view(context, request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/pyramid/config/views.py", line 355, in rendered_view result = view(context, request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/pyramid/config/views.py", line 501, in _requestonly_view response = view(request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/cornice/service.py", line 514, in wrapper response = view(request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/views/util.py", line 54, in wrapper return decorator_func(target_func, args, kwds) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/views/decorators.py", line 40, in convert_storage_errors return viewfunc(request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/views/util.py", line 54, in wrapper return decorator_func(target_func, *args, kwds) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/views/decorators.py", line 71, in sleep_and_retry_on_conflict return viewfunc(request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/views/util.py", line 54, in wrapper return decorator_func(target_func, args, kwds) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/views/decorators.py", line 193, in with_collection_lock return viewfunc(request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/views/util.py", line 54, in wrapper return decorator_func(target_func, *args, kwds) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/views/decorators.py", line 164, in check_precondition_headers return viewfunc(request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/views/util.py", line 54, in wrapper return decorator_func(target_func, args, kwds) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/views/decorators.py", line 102, in check_storage_quota return viewfunc(request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/views/init.py", line 346, in post_collection return post_collection_batch(request) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/views/init.py", line 418, in post_collection_batch ts = storage.apply_batch(userid, collection, batch) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/mozsvc/metrics.py", line 183, in timed_func return func(*args, kwds) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/storage/sql/init.py", line 108, in with_session_wrapper return func(self, session, args, kwds) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/storage/sql/init.py", line 554, in apply_batch session.query("APPLY_BATCH_INSERT", params) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/storage/sql/init.py", line 80, in convert_db_errors_wrapper return func(*args, kwds) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/storage/sql/init.py", line 1043, in query return self.connection.query(query, params) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/storage/sql/dbconnect.py", line 748, in query res = self.execute(query, params, annotations) File "/opt/mozilla-firefox-sync-server/local/lib/python2.7/site-packages/syncstorage/storage/sql/dbconnect.py", line 545, in report_backend_errors_wrapper raise BackendError(str(exc)) BackendError: BackendError

(sqlite3.OperationalError) no such column: batch_upload_items.userid [SQL: u"\n INSERT OR REPLACE INTO bso\n (userid, collection, id, sortindex, payload,\n payload_size, ttl, modified)\n SELECT\n batch_uploads.userid,\n batch_uploads.collection,\n batch_upload_items.id,\n COALESCE(batch_upload_items.sortindex, existing.sortindex),\n COALESCE(batch_upload_items.payload, existing.payload, ''),\n COALESCE(batch_upload_items.payload_size, existing.payload_size, 0),\n COALESCE(batch_upload_items.ttl_offset + ?, existing.ttl, ?),\n ?\n FROM batch_uploads\n LEFT JOIN batch_upload_items\n ON\n batch_upload_items.batch = batch_uploads.batch AND\n batch_upload_items.userid = batch_uploads.userid\n LEFT OUTER JOIN bso AS existing\n ON\n existing.userid = batch_uploads.userid AND\n existing.collection = batch_uploads.collection AND\n existing.id = batch_upload_items.id\n WHERE\n batch_uploads.batch = ? AND\n batch_uploads.userid = ?\n / [queryName=APPLY_BATCH_INSERT] /"] [parameters: (1550085553, 2100000000, 1550085553090L, 1550085553091L, 1)] (Background on this error at: http://sqlalche.me/e/e3q8)

user: {'uid': 1}

[/code]