Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.12.1] UpgradeError: DatabaseError: database disk image is malformed #7037

Closed
sentry-for-tribler bot opened this issue Sep 7, 2022 · 5 comments
Closed

Comments

@sentry-for-tribler
Copy link

sentry-for-tribler bot commented Sep 7, 2022

Sentry Issue: TRIBLER-M5, TRIBLER-QW

DatabaseError: database disk image is malformed
  File "tribler/gui/upgrade_manager.py", line 36, in run
  File "tribler/run_tribler_upgrader.py", line 40, in upgrade_state_dir
  File "tribler/core/upgrade/upgrade.py", line 95, in run
  File "tribler/core/upgrade/upgrade.py", line 307, in upgrade_pony_db_8to10
  File "tribler/core/upgrade/db8_to_db10.py", line 247, in get_db_version

UpgradeError: DatabaseError: database disk image is malformed
  File "tribler/gui/upgrade_manager.py", line 139, in on_worker_finished
@drew2a drew2a changed the title [7.12] DatabaseError: database disk image is malformed [7.12.1] UpgradeError: DatabaseError: database disk image is malformed Sep 26, 2022
@Tribler Tribler deleted a comment from sentry-for-tribler bot Sep 26, 2022
@sentry-for-tribler
Copy link
Author

Sentry issue: TRIBLER-X3

@sentry-for-tribler
Copy link
Author

Sentry issue: TRIBLER-15T

@sentry-for-tribler
Copy link
Author

sentry-for-tribler bot commented Jun 7, 2023

More recent issue related with migration upgrade on 7.13.0-RC2

Sentry issue: TRIBLER-183

DatabaseError: database disk image is malformed
  File "pony\orm\dbapiprovider.py", line 55, in wrap_dbapi_exceptions
  File "pony\orm\dbapiprovider.py", line 279, in execute
DatabaseError: database disk image is malformed
  File "tribler\gui\upgrade_manager.py", line 47, in run
  File "tribler\gui\upgrade_manager.py", line 82, in upgrade_state_dir
  File "tribler\core\upgrade\upgrade.py", line 106, in run
  File "tribler\core\upgrade\upgrade.py", line 141, in upgrade_pony_db_14to15
  File "tribler\core\upgrade\upgrade.py", line 290, in do_upgrade_pony_db_14to15
  File "pony\orm\core.py", line 870, in execute
  File "pony\orm\core.py", line 882, in _exec_raw_sql
  File "pony\orm\core.py", line 945, in _exec_sql
  File "pony\orm\core.py", line 1779, in reconnect
  File "pony\utils\utils.py", line 88, in reraise
  File "pony\orm\core.py", line 943, in _exec_sql
  File "<string>", line 2, in execute
  File "pony\orm\dbapiprovider.py", line 74, in wrap_dbapi_exceptions
UpgradeError: DatabaseError: database disk image is malformed
  File "tribler\gui\upgrade_manager.py", line 238, in on_worker_finished

@sentry-for-tribler
Copy link
Author

sentry-for-tribler bot commented Oct 9, 2023

7.13.0
Sentry issue: TRIBLER-1DA
Sentry issue: TRIBLER-1D9

@kozlovsky
Copy link
Contributor

Fixed in #7628

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants