Own Sync Server doesn't work

Hi!

I’m trying now for days to get my own sync server to work. But every time I sync I get the following errors in my server log:

[Sun Apr 18 17:15:56.388511 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928] mod_wsgi (pid=946): Failed to exec Python script file '/opt/syncserver/syncserver.wsgi'.
[Sun Apr 18 17:15:56.388549 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928] mod_wsgi (pid=946): Exception occurred processing WSGI script '/opt/syncserver/syncserver.wsgi'.
[Sun Apr 18 17:15:56.388571 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928] Traceback (most recent call last):   
[Sun Apr 18 17:15:56.388592 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/syncserver.wsgi", line 43, in <module>
[Sun Apr 18 17:15:56.388618 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     application = loadapp('config: %s'% ini_file)
[Sun Apr 18 17:15:56.388631 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 253, in loadapp
[Sun Apr 18 17:15:56.388651 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     return loadobj(APP, uri, name=name, **kw)
[Sun Apr 18 17:15:56.388663 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 277, in loadobj
[Sun Apr 18 17:15:56.388693 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     global_conf=global_conf)
[Sun Apr 18 17:15:56.388705 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 302, in loadcontext
[Sun Apr 18 17:15:56.388721 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     global_conf=global_conf)
[Sun Apr 18 17:15:56.388732 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 326, in _loadconfig
[Sun Apr 18 17:15:56.388749 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     return loader.get_context(object_type, name, global_conf)
[Sun Apr 18 17:15:56.388760 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 459, in get_context
[Sun Apr 18 17:15:56.388776 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     section)
[Sun Apr 18 17:15:56.388787 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 481, in _context_from_use
[Sun Apr 18 17:15:56.388804 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     object_type, name=use, global_conf=global_conf)
[Sun Apr 18 17:15:56.388815 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 412, in get_context
[Sun Apr 18 17:15:56.388831 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     global_conf=global_conf)
[Sun Apr 18 17:15:56.388842 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 302, in loadcontext
[Sun Apr 18 17:15:56.388858 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     global_conf=global_conf)
[Sun Apr 18 17:15:56.388869 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 334, in _loadegg
[Sun Apr 18 17:15:56.388885 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     return loader.get_context(object_type, name, global_conf)
[Sun Apr 18 17:15:56.388896 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 625, in get_context
[Sun Apr 18 17:15:56.388912 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     object_type, name=name)
[Sun Apr 18 17:15:56.388923 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 651, in find_egg_entry_point
[Sun Apr 18 17:15:56.388939 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     possible.append((entry.load(), protocol, entry.name))
[Sun Apr 18 17:15:56.388950 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2443, in load
[Sun Apr 18 17:15:56.388968 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     return self.resolve()
[Sun Apr 18 17:15:56.388979 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2449, in resolve
[Sun Apr 18 17:15:56.389002 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     module = __import__(self.module_name, fromlist=['__name__'], level=0)
[Sun Apr 18 17:15:56.389014 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/syncserver/__init__.py", line 24, in <module>
[Sun Apr 18 17:15:56.389030 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     import mozsvc.config
[Sun Apr 18 17:15:56.389042 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/mozsvc/config.py", line 10, in <module>
[Sun Apr 18 17:15:56.389059 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     from konfig import Config, SettingsDict
[Sun Apr 18 17:15:56.389071 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/konfig/__init__.py", line 11, in <module>
[Sun Apr 18 17:15:56.389087 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     from configparser import ConfigParser, ExtendedInterpolation
[Sun Apr 18 17:15:56.389098 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]   File "/opt/syncserver/local/lib/python2.7/site-packages/configparser.py", line 12, in <module>
[Sun Apr 18 17:15:56.389115 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928]     from backports.configparser import (
[Sun Apr 18 17:15:56.389134 2021] [wsgi:error] [pid 946] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:32928] ImportError: cannot import name ConverterMapping

I followed the instructions on https://mozilla-services.readthedocs.io/en/latest/howtos/run-sync-1.5.html .

This is my »syncserver.ini«:

[server:main]
use = egg:gunicorn
host = 0.0.0.0
port = 5000
workers = 1
timeout = 30
 
[app:main]
use = egg:syncserver

[syncserver]
public_url = http://ffsync.jotoma.de/
identity_provider = https://accounts.firefox.com/
sqluri = pymysql://ffsync:***@127.0.0.1/ffsync
secret = ***
allow_new_users = true
force_wsgi_environ = false

And this my Apache2 site file:

<Directory /opt/syncserver>
	Require all granted
</Directory>

<VirtualHost *:80>
        ServerName ffsync.jotoma.de
        DocumentRoot /opt/syncserver
        WSGIProcessGroup ffsync
        WSGIDaemonProcess ffsync user=ffsync group=ffsync processes=2 threads=25 python-path=/opt/syncserver/local/lib/python2.7/site-packages/
        WSGIPassAuthorization On
        WSGIScriptAlias / /opt/syncserver/syncserver.wsgi
        CustomLog /var/log/apache2/ffsync.jotoma.de-access.log combined
        ErrorLog  /var/log/apache2/ffsync.jotoma.de-error.log
</VirtualHost>

The syncserver.wsgi is untouched and made as executable. Or had the user be changed from root to another?

In Firefox identity.sync.tokenserver.uri is set to http://ffsync.jotoma.de/token/1.0/sync/1.5 .

I installed now all requirements and get now this error with a lot behind:

[Sun Apr 18 18:26:14.389800 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] ERROR:mozsvc:Uncaught exception while processing request:
[Sun Apr 18 18:26:14.389866 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] GET http://ffsync.jotoma.de/token/1.0/sync/1.5
[Sun Apr 18 18:26:14.389878 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] Uncaught exception:
[Sun Apr 18 18:26:14.389887 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/mozsvc/tweens.py", line 59, in log_uncaught_exceptions_tween
[Sun Apr 18 18:26:14.389897 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return handler(request)
[Sun Apr 18 18:26:14.389906 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/mozsvc/tweens.py", line 26, in catch_backend_errors_tween
[Sun Apr 18 18:26:14.389914 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return handler(request)
[Sun Apr 18 18:26:14.389923 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/tweens.py", line 21, in excview_tween
[Sun Apr 18 18:26:14.389931 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = handler(request)
[Sun Apr 18 18:26:14.389940 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/router.py", line 163, in handle_request
[Sun Apr 18 18:26:14.389966 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = view_callable(context, request)
[Sun Apr 18 18:26:14.389974 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/config/views.py", line 596, in __call__
[Sun Apr 18 18:26:14.389982 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return view(context, request)
[Sun Apr 18 18:26:14.389990 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/config/views.py", line 329, in attr_view
[Sun Apr 18 18:26:14.389998 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return view(context, request)
[Sun Apr 18 18:26:14.390006 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/config/views.py", line 305, in predicate_wrapper
[Sun Apr 18 18:26:14.390014 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return view(context, request)
[Sun Apr 18 18:26:14.390022 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/config/views.py", line 355, in rendered_view
[Sun Apr 18 18:26:14.390030 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     result = view(context, request)
[Sun Apr 18 18:26:14.390037 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/config/views.py", line 501, in _requestonly_view
[Sun Apr 18 18:26:14.390045 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = view(request)
[Sun Apr 18 18:26:14.390053 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/cornice/service.py", line 514, in wrapper
[Sun Apr 18 18:26:14.390061 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = view_(request)
[Sun Apr 18 18:26:14.390068 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/tokenserver/views.py", line 370, in return_token
[Sun Apr 18 18:26:14.390076 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     user = backend.get_user(service, email)
[Sun Apr 18 18:26:14.390084 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/syncserver/staticnode.py", line 135, in get_user
[Sun Apr 18 18:26:14.390092 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     res = self._engine.execute(_GET_USER_RECORDS, **params)
[Sun Apr 18 18:26:14.390100 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2166, in execute
[Sun Apr 18 18:26:14.390107 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return connection.execute(statement, *multiparams, **params)
[Sun Apr 18 18:26:14.390115 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 988, in execute
[Sun Apr 18 18:26:14.390123 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return meth(self, multiparams, params)
[Sun Apr 18 18:26:14.390131 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 287, in _execute_on_connection
[Sun Apr 18 18:26:14.390145 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return connection._execute_clauseelement(self, multiparams, params)
[Sun Apr 18 18:26:14.390154 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1107, in _execute_clauseelement
[Sun Apr 18 18:26:14.390162 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     distilled_params,
[Sun Apr 18 18:26:14.390169 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1248, in _execute_context
[Sun Apr 18 18:26:14.390177 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     e, statement, parameters, cursor, context
[Sun Apr 18 18:26:14.390185 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1466, in _handle_dbapi_exception
[Sun Apr 18 18:26:14.390193 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     util.raise_from_cause(sqlalchemy_exception, exc_info)
[Sun Apr 18 18:26:14.390201 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 383, in raise_from_cause
[Sun Apr 18 18:26:14.390209 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     reraise(type(exception), exception, tb=exc_tb, cause=cause)
[Sun Apr 18 18:26:14.390217 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_context
[Sun Apr 18 18:26:14.390224 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     cursor, statement, parameters, context
[Sun Apr 18 18:26:14.390232 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 552, in do_execute
[Sun Apr 18 18:26:14.390240 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     cursor.execute(statement, parameters)
[Sun Apr 18 18:26:14.390248 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/cursors.py", line 170, in execute
[Sun Apr 18 18:26:14.390255 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     result = self._query(query)
[Sun Apr 18 18:26:14.390263 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/cursors.py", line 328, in _query
[Sun Apr 18 18:26:14.390271 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     conn.query(q)
[Sun Apr 18 18:26:14.390278 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/connections.py", line 517, in query
[Sun Apr 18 18:26:14.390286 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     self._affected_rows = self._read_query_result(unbuffered=unbuffered)
[Sun Apr 18 18:26:14.390294 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/connections.py", line 732, in _read_query_result
[Sun Apr 18 18:26:14.390302 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     result.read()
[Sun Apr 18 18:26:14.390315 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/connections.py", line 1075, in read
[Sun Apr 18 18:26:14.390323 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     first_packet = self.connection._read_packet()
[Sun Apr 18 18:26:14.390331 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/connections.py", line 684, in _read_packet
[Sun Apr 18 18:26:14.390339 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     packet.check_error()
[Sun Apr 18 18:26:14.390347 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/protocol.py", line 220, in check_error
[Sun Apr 18 18:26:14.390354 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     err.raise_mysql_exception(self._data)
[Sun Apr 18 18:26:14.390362 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
[Sun Apr 18 18:26:14.390370 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     raise errorclass(errno, errval)
[Sun Apr 18 18:26:14.390377 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] <class 'sqlalchemy.exc.InternalError'>
[Sun Apr 18 18:26:14.390385 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] InternalError('(pymysql.err.InternalError) (1054, u"Unknown column \\'keys_changed_at\\' in \\'field list\\'")',)
[Sun Apr 18 18:26:14.390393 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] 
[Sun Apr 18 18:26:14.390515 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] mod_wsgi (pid=5117): Exception occurred processing WSGI script '/opt/syncserver/syncserver.wsgi'.
[Sun Apr 18 18:26:14.390552 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] Traceback (most recent call last):
[Sun Apr 18 18:26:14.390578 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/router.py", line 242, in __call__
[Sun Apr 18 18:26:14.390611 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = self.invoke_subrequest(request, use_tweens=True)
[Sun Apr 18 18:26:14.390630 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/router.py", line 217, in invoke_subrequest
[Sun Apr 18 18:26:14.390657 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = handle_request(request)
[Sun Apr 18 18:26:14.390675 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/tokenserver/tweens.py", line 15, in set_x_timestamp_header_tween
[Sun Apr 18 18:26:14.390702 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = handler(request)
[Sun Apr 18 18:26:14.390720 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/syncstorage/tweens.py", line 128, in convert_non_json_responses_tween
[Sun Apr 18 18:26:14.390747 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = handler(request)
[Sun Apr 18 18:26:14.390765 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/syncstorage/tweens.py", line 104, in convert_cornice_errors_to_respcodes_tween
[Sun Apr 18 18:26:14.390801 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = handler(request)
[Sun Apr 18 18:26:14.390820 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/syncstorage/tweens.py", line 58, in set_default_accept_header_tween
[Sun Apr 18 18:26:14.390846 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return handler(request)
[Sun Apr 18 18:26:14.390864 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/syncstorage/tweens.py", line 30, in set_x_timestamp_header_tween
[Sun Apr 18 18:26:14.390889 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = handler(request)
[Sun Apr 18 18:26:14.390906 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/mozsvc/tweens.py", line 94, in fuzz_backoff_headers_tween
[Sun Apr 18 18:26:14.390932 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = handler(request)
[Sun Apr 18 18:26:14.390949 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/mozsvc/tweens.py", line 59, in log_uncaught_exceptions_tween
[Sun Apr 18 18:26:14.390974 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return handler(request)
[Sun Apr 18 18:26:14.390991 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/mozsvc/tweens.py", line 26, in catch_backend_errors_tween
[Sun Apr 18 18:26:14.391016 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return handler(request)
[Sun Apr 18 18:26:14.391033 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/tweens.py", line 21, in excview_tween
[Sun Apr 18 18:26:14.391058 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = handler(request)
[Sun Apr 18 18:26:14.391075 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/router.py", line 163, in handle_request
[Sun Apr 18 18:26:14.391100 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = view_callable(context, request)
[Sun Apr 18 18:26:14.391117 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/config/views.py", line 596, in __call__
[Sun Apr 18 18:26:14.391143 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return view(context, request)
[Sun Apr 18 18:26:14.391160 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/config/views.py", line 329, in attr_view
[Sun Apr 18 18:26:14.391185 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return view(context, request)
[Sun Apr 18 18:26:14.391202 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/config/views.py", line 305, in predicate_wrapper
[Sun Apr 18 18:26:14.391228 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return view(context, request)
[Sun Apr 18 18:26:14.391245 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/config/views.py", line 355, in rendered_view
[Sun Apr 18 18:26:14.391279 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     result = view(context, request)
[Sun Apr 18 18:26:14.391297 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pyramid/config/views.py", line 501, in _requestonly_view
[Sun Apr 18 18:26:14.391323 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = view(request)
[Sun Apr 18 18:26:14.391341 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/cornice/service.py", line 514, in wrapper
[Sun Apr 18 18:26:14.391366 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     response = view_(request)
[Sun Apr 18 18:26:14.391384 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/tokenserver/views.py", line 370, in return_token
[Sun Apr 18 18:26:14.391409 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     user = backend.get_user(service, email)
[Sun Apr 18 18:26:14.391427 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/syncserver/staticnode.py", line 135, in get_user
[Sun Apr 18 18:26:14.391452 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     res = self._engine.execute(_GET_USER_RECORDS, **params)
[Sun Apr 18 18:26:14.391470 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2166, in execute
[Sun Apr 18 18:26:14.391495 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return connection.execute(statement, *multiparams, **params)
[Sun Apr 18 18:26:14.391512 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 988, in execute
[Sun Apr 18 18:26:14.391538 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return meth(self, multiparams, params)
[Sun Apr 18 18:26:14.391556 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 287, in _execute_on_connection
[Sun Apr 18 18:26:14.391581 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     return connection._execute_clauseelement(self, multiparams, params)
[Sun Apr 18 18:26:14.391600 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1107, in _execute_clauseelement
[Sun Apr 18 18:26:14.391625 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     distilled_params,
[Sun Apr 18 18:26:14.391642 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1248, in _execute_context
[Sun Apr 18 18:26:14.391667 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     e, statement, parameters, cursor, context
[Sun Apr 18 18:26:14.391685 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1466, in _handle_dbapi_exception
[Sun Apr 18 18:26:14.391710 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     util.raise_from_cause(sqlalchemy_exception, exc_info)
[Sun Apr 18 18:26:14.391728 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 383, in raise_from_cause
[Sun Apr 18 18:26:14.391762 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     reraise(type(exception), exception, tb=exc_tb, cause=cause)
[Sun Apr 18 18:26:14.391781 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_context
[Sun Apr 18 18:26:14.391806 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     cursor, statement, parameters, context
[Sun Apr 18 18:26:14.391824 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 552, in do_execute
[Sun Apr 18 18:26:14.391849 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     cursor.execute(statement, parameters)
[Sun Apr 18 18:26:14.391867 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/cursors.py", line 170, in execute
[Sun Apr 18 18:26:14.391892 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     result = self._query(query)
[Sun Apr 18 18:26:14.391910 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/cursors.py", line 328, in _query
[Sun Apr 18 18:26:14.391963 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     conn.query(q)
[Sun Apr 18 18:26:14.391991 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/connections.py", line 517, in query
[Sun Apr 18 18:26:14.392019 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     self._affected_rows = self._read_query_result(unbuffered=unbuffered)
[Sun Apr 18 18:26:14.392038 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/connections.py", line 732, in _read_query_result
[Sun Apr 18 18:26:14.392063 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     result.read()
[Sun Apr 18 18:26:14.392081 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/connections.py", line 1075, in read
[Sun Apr 18 18:26:14.392106 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     first_packet = self.connection._read_packet()
[Sun Apr 18 18:26:14.392123 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/connections.py", line 684, in _read_packet
[Sun Apr 18 18:26:14.392148 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     packet.check_error()
[Sun Apr 18 18:26:14.392166 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/protocol.py", line 220, in check_error
[Sun Apr 18 18:26:14.392191 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     err.raise_mysql_exception(self._data)
[Sun Apr 18 18:26:14.392209 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]   File "/opt/syncserver/local/lib/python2.7/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
[Sun Apr 18 18:26:14.392234 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     raise errorclass(errno, errval)
[Sun Apr 18 18:26:14.392338 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] InternalError: (pymysql.err.InternalError) (1054, u"Unknown column 'keys_changed_at' in 'field list'")
[Sun Apr 18 18:26:14.392354 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] [SQL: select
[Sun Apr 18 18:26:14.392362 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     uid, generation, client_state, created_at, replaced_at,
[Sun Apr 18 18:26:14.392370 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     keys_changed_at, node
[Sun Apr 18 18:26:14.392378 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] from
[Sun Apr 18 18:26:14.392386 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     users
[Sun Apr 18 18:26:14.392393 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] where
[Sun Apr 18 18:26:14.392401 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     email = %(email)s
[Sun Apr 18 18:26:14.392409 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] and
[Sun Apr 18 18:26:14.392416 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     service = %(service)s
[Sun Apr 18 18:26:14.392424 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] order by
[Sun Apr 18 18:26:14.392431 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     created_at desc, uid desc
[Sun Apr 18 18:26:14.392439 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] limit
[Sun Apr 18 18:26:14.392446 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832]     20
[Sun Apr 18 18:26:14.392454 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] ]
[Sun Apr 18 18:26:14.392462 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] [parameters: {'email': u'd995e3e2449046bebfcd783d30f84ca5@api.accounts.firefox.com', 'service': u'sync-1.5'}]
[Sun Apr 18 18:26:14.392470 2021] [wsgi:error] [pid 5117] [remote 2a02:810d:9040:2894:d5bc:1658:9cf5:2f01:33832] (Background on this error at: http://sqlalche.me/e/2j85)

Edit:

Found another issue. What to do now?

tokenserver 1.5.11 requires chardet==3.0.4, but you'll have chardet 4.0.0 which is incompatible.
tokenserver 1.5.11 requires PyMySQL==0.9.3, but you'll have pymysql 0.10.1 which is incompatible.
tokenserver 1.5.11 requires urllib3==1.25.2, but you'll have urllib3 1.26.4 which is incompatible.

Edit #2: It’s working now after add the fields to the MySQL-DB. The tutorial is really incomplete.

All would benefit from your pointing out what issues you discover and how you fixed them :slight_smile: