You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used docker to deploy the shynet awesome service and updated to 0.13.1 today. I got this error :
Traceback (most recent call last):
File "/usr/src/shynet/./manage.py", line 21, in<module>main()
File "/usr/src/shynet/./manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 440, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 402, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 448, in execute
output = self.handle(*args, **options)
File "/usr/src/shynet/core/management/commands/registeradmin.py", line 24, in handle
User.objects.create_superuser(str(uuid.uuid4()), email=email, password=password)
File "/usr/local/lib/python3.10/site-packages/django/contrib/auth/models.py", line 172, in create_superuser
return self._create_user(username, email, password, **extra_fields)
File "/usr/local/lib/python3.10/site-packages/django/contrib/auth/models.py", line 155, in _create_user
user.save(using=self._db)
File "/usr/local/lib/python3.10/site-packages/django/contrib/auth/base_user.py", line 69, in save
super().save(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/db/models/base.py", line 812, in save
self.save_base(
File "/usr/local/lib/python3.10/site-packages/django/db/models/base.py", line 863, in save_base
updated = self._save_table(
File "/usr/local/lib/python3.10/site-packages/django/db/models/base.py", line 1006, in _save_table
results = self._do_insert(
File "/usr/local/lib/python3.10/site-packages/django/db/models/base.py", line 1047, in _do_insert
return manager._insert(
File "/usr/local/lib/python3.10/site-packages/django/db/models/manager.py", line 85, in manager_method
returngetattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 1791, in _insert
return query.get_compiler(using=using).execute_sql(returning_fields)
File "/usr/local/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1660, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 67, in execute
return self._execute_with_wrappers(
File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 84, in _execute
with self.db.wrap_database_errors:
File "/usr/local/lib/python3.10/site-packages/django/db/utils.py", line 91, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 357, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.IntegrityError: UNIQUE constraint failed: core_user.email
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 357, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.IntegrityError: UNIQUE constraint failed: core_user.email
Any ideas guys ?! Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi Shynet,
When I ran the test tool
test_smtp_server.py
, it work.When I reset my password, an error 503 occured.
Do you have any idea of the problem ?
Environment configuration
Here my configuration :
I am sure to use TLS and not STARTTLS.
EDIT
I used docker to deploy the shynet awesome service and updated to 0.13.1 today. I got this error :
Any ideas guys ?! Thanks in advance.
The text was updated successfully, but these errors were encountered: