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'm trying to import the organization dump I exported from *.zulipchat.com. But it fails for some reason. I am using official docker-zulip image of version 8.4.
The backtrace:
Processing dump: /tmp/zulip-export-xxxx_xxx ...
2024-05-10 15:36:56.643 INFO [] Importing realm dump /tmp/zulip-export-xxxx_xxx
2024-05-10 15:36:56.645 INFO [] Importing realm data from /tmp/zulip-export-xxxx_xxx/realm.json
Traceback (most recent call last):
File "/home/zulip/deployments/current/manage.py", line 151, in <module>
execute_from_command_line(sys.argv)
File "/home/zulip/deployments/current/manage.py", line 116, in execute_from_command_line
utility.execute()
File "/srv/zulip-venv-cache/bbd84a06bc651effedfe39cab337a1bf300cee02/zulip-py3-venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/srv/zulip-venv-cache/bbd84a06bc651effedfe39cab337a1bf300cee02/zulip-py3-venv/lib/python3.8/site-packages/django/core/management/base.py", line 412, in run_from_argv
self.execute(*args, **cmd_options)
File "/srv/zulip-venv-cache/bbd84a06bc651effedfe39cab337a1bf300cee02/zulip-py3-venv/lib/python3.8/site-packages/django/core/management/base.py", line 458, in execute
output = self.handle(*args, **options)
File "/home/zulip/deployments/2024-05-09-18-59-10/zerver/management/commands/import.py", line 106, in handle
do_import_realm(path, subdomain, num_processes)
File "/home/zulip/deployments/2024-05-09-18-59-10/zerver/lib/import_realm.py", line 959, in do_import_realm
re_map_foreign_keys(data, "zerver_realm", "notifications_stream", related_table="stream")
File "/home/zulip/deployments/2024-05-09-18-59-10/zerver/lib/import_realm.py", line 462, in re_map_foreign_keys
re_map_foreign_keys_internal(
File "/home/zulip/deployments/2024-05-09-18-59-10/zerver/lib/import_realm.py", line 493, in re_map_foreign_keys_internal
old_id = item[field_name]
KeyError: 'notifications_stream'
Zulip Server and web app version:
Zulip Cloud (*.zulipchat.com)
Zulip Server 8.0+
Zulip Server 7.0+
Zulip Server 6.0+
Zulip Server 5.0 or older
Other or not sure
The text was updated successfully, but these errors were encountered:
ChronosXYZ
changed the title
Import organization failed
Import organization has failed: KeyError: 'notifications_stream'May 10, 2024
ChronosXYZ
changed the title
Import organization has failed: KeyError: 'notifications_stream'
Import organization dump has failed: KeyError: 'notifications_stream'May 10, 2024
ChronosXYZ
changed the title
Import organization dump has failed: KeyError: 'notifications_stream'
Import of organization dump has failed: KeyError: 'notifications_stream'May 10, 2024
I'm trying to import the organization dump I exported from
*.zulipchat.com
. But it fails for some reason. I am using officialdocker-zulip
image of version8.4
.The backtrace:
Zulip Server and web app version:
*.zulipchat.com
)The text was updated successfully, but these errors were encountered: