reset-admin.sh

root@4fa610c8a706:/opt/seafile/seafile-server-11.0.8# ./reset-admin.sh
System check identified some issues:

WARNINGS:
?: (staticfiles.W004) The directory ‘/opt/seafile/seafile-server-11.0.8/seahub/seahub/…/frontend/build’ in the STATICFILES_DIRS setting does not exist.
E-mail address: 1
Error: That e-mail address is invalid.
E-mail address: admin@123.com
Password:
Password (again):
Traceback (most recent call last):
File “/opt/seafile/seafile-server-11.0.8/seahub/manage.py”, line 10, in
execute_from_command_line(sys.argv)
File “/opt/seafile/seafile-server-11.0.8/seahub/thirdpart/django/core/management/init.py”, line 442, in execute_from_command_line
utility.execute()
File “/opt/seafile/seafile-server-11.0.8/seahub/thirdpart/django/core/management/init.py”, line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File “/opt/seafile/seafile-server-11.0.8/seahub/thirdpart/django/core/management/base.py”, line 412, in run_from_argv
self.execute(*args, **cmd_options)
File “/opt/seafile/seafile-server-11.0.8/seahub/thirdpart/django/core/management/base.py”, line 458, in execute
output = self.handle(*args, **options)
File “/opt/seafile/seafile-server-11.0.8/seahub/seahub/base/management/commands/createsuperuser.py”, line 150, in handle
User.objects.create_superuser(email, password)
File “/opt/seafile/seafile-server-11.0.8/seahub/seahub/base/accounts.py”, line 246, in create_superuser
u = self.create_user(email, password, is_staff=True, is_active=True)
File “/opt/seafile/seafile-server-11.0.8/seahub/seahub/base/accounts.py”, line 127, in create_user
return self.get(email=virtual_id)
File “/opt/seafile/seafile-server-11.0.8/seahub/seahub/base/accounts.py”, line 274, in get
raise User.DoesNotExist(‘User matching query does not exits.’)
seahub.base.accounts.User.DoesNotExist: User matching query does not exits.
root@4fa610c8a706:/opt/seafile/seafile-server-11.0.8#