Checked the known issues, but it doesn’t seem to be the same as the ID field issue (tried the fix mentionned). I also don’t think it’s the same as the log-in issue I just bumped. Sorry if I’m wrong, though.
When trying to register a user or when trying to reset a password, I have a 500 error right after submiting the email address. I have this in the OSP log (same message in both cases, except for the /register being /reset accordingly of course).
[2021-05-26 18:10:33,430] ERROR in app: Exception on /register [POST] Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2447, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.7/dist-packages/flask_restplus/api.py", line 584, in error_router return original_handler(e) File "/usr/local/lib/python3.7/dist-packages/flask_cors/extension.py", line 161, in wrapped_function return cors_after_request(app.make_response(f(*args, **kwargs))) File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1821, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python3.7/dist-packages/flask/_compat.py", line 39, in reraise raise value File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1936, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/local/lib/python3.7/dist-packages/flask_security/decorators.py", line 614, in wrapper return f(*args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/flask_security/views.py", line 281, in register user = register_user(form) File "/usr/local/lib/python3.7/dist-packages/flask_security/registerable.py", line 68, in register_user confirmation_link=confirmation_link, File "/usr/local/lib/python3.7/dist-packages/flask_security/utils.py", line 656, in send_mail subject = localize_callback(subject) File "/usr/local/lib/python3.7/dist-packages/werkzeug/local.py", line 376, in <lambda> __call__ = lambda x, *a, **kw: x._get_current_object()(*a, **kw) File "/usr/local/lib/python3.7/dist-packages/flask_babelex/__init__.py", line 534, in gettext return t.ugettext(string) % variables ValueError: unsupported format character 'q' (0x71) at index 13
The database was originally created in 0.7.something, I could’ve missed an upgrade detail.