I am in need of migrating a 1.23.3 installation to 2.3.3… when i run
docker exec baserow ./baserow.sh backend-cmd manage export_workspace_applications 4 --indent
i get this
OTEL_RESOURCE_ATTRIBUTES=service.namespace=Baserow,service.version=1.23.2,deployment.environment=unknown
Traceback (most recent call last):
File “/baserow/backend/src/baserow/core/handler.py”, line 1575, in export_workspace_applications
exported_application = application_type.export_serialized(
File “/baserow/backend/src/baserow/contrib/database/application_types.py”, line 178, in export_serialized
serialized_tables = self.export_tables_serialized(
File “/baserow/backend/src/baserow/contrib/database/application_types.py”, line 127, in export_tables_serialized
serialized_row[field_name] = field_type.get_export_serialized_value(
File “/baserow/backend/src/baserow/contrib/database/fields/field_types.py”, line 3218, in get_export_serialized_value
files_zip.writestr(file[“name”], storage_file.read())
File “/usr/lib/python3.9/zipfile.py”, line 1802, in writestr
with self.open(zinfo, mode=‘w’) as dest:
File “/usr/lib/python3.9/zipfile.py”, line 1505, in open
return self._open_to_write(zinfo, force_zip64=force_zip64)
File “/usr/lib/python3.9/zipfile.py”, line 1597, in _open_to_write
self._writecheck(zinfo)
File “/usr/lib/python3.9/zipfile.py”, line 1712, in _writecheck
raise LargeZipFile(requires_zip64 +
zipfile.LargeZipFile: Zipfile size would require ZIP64 extensions
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/baserow/backend/src/baserow/manage.py”, line 41, in
main()
File “/baserow/backend/src/baserow/manage.py”, line 37, in main
execute_from_command_line(sys.argv)
File “/baserow/venv/lib/python3.9/site-packages/django/core/management/_init_.py”, line 446, in execute_from_command_line
utility.execute()
File “/baserow/venv/lib/python3.9/site-packages/django/core/management/_init_.py”, line 440, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File “/baserow/venv/lib/python3.9/site-packages/django/core/management/base.py”, line 402, in run_from_argv
self.execute(*args, **cmd_options)
File “/baserow/venv/lib/python3.9/site-packages/django/core/management/base.py”, line 448, in execute
output = self.handle(*args, **options)
File “/baserow/backend/src/baserow/core/management/commands/export_workspace_applications.py”, line 67, in handle
exported_applications = CoreHandler().export_workspace_applications(
File “/baserow/backend/src/baserow/core/telemetry/utils.py”, line 72, in _wrapper
raise ex
File “/baserow/backend/src/baserow/core/telemetry/utils.py”, line 68, in _wrapper
result = wrapped_func(*args, **kwargs)
File “/baserow/backend/src/baserow/core/handler.py”, line 1578, in export_workspace_applications
exported_applications.append(exported_application)
File “/usr/lib/python3.9/zipfile.py”, line 1300, in _exit_
self.close()
File “/usr/lib/python3.9/zipfile.py”, line 1825, in close
self._write_end_record()
File “/usr/lib/python3.9/zipfile.py”, line 1900, in _write_end_record
raise LargeZipFile(requires_zip64 +
zipfile.LargeZipFile: Central directory offset would require ZIP64 extensions
indicating baserow has a bug implementing zip64… is there a quick/easy way around this or should i move on with dumping the db and restoring to the new instance?