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

[FR]: Add support for loading newer-than-current databases (with warning) #170

Open
ljgdasfhk opened this issue Nov 29, 2024 · 3 comments
Open
Labels
enhancement New feature for the user, not a new feature for build script
Milestone

Comments

@ljgdasfhk
Copy link

Brief Description

OS: Windows 11
qTox version: v1.18.0-rc.1
Commit hash:
toxcore:
Qt:

Reproducible: Always

Steps to reproduce
  1. start qTox from Start menu icon

qtox.log

{AB14FC0E-0142-4DCE-AA89-2B5D8B236C81}

@iphydf
Copy link
Member

iphydf commented Nov 30, 2024

It seems you've been using qTox_enhanced. I don't know what additional changes have been made there in the versions after 11.

You could try forcefully downgrading your database (after making a backup) by opening it with a sqlcipher command line client and running the query PRAGMA user_version = 11;. Hopefully nothing changed incompatibly and we can just read the data then.

This does make me think that we should have a more client-neutral way of doing data exports and imports so we can have long term stable backup formats. I'll file a feature request for that.

@iphydf iphydf added this to the v1.18.1 milestone Nov 30, 2024
@iphydf iphydf added the bug Bug fix for the user, not a fix to a build script label Nov 30, 2024
@iphydf
Copy link
Member

iphydf commented Nov 30, 2024

We could add something to qtox to allow a user to override this refusal to load, and load the DB anyway. Doing so will probably make the DB incompatible with the higher version client (e.g. qtox_enhanced), so the user should make a backup in any case, but at least we're probably able to move forward with that DB.

@iphydf iphydf added enhancement New feature for the user, not a new feature for build script and removed bug Bug fix for the user, not a fix to a build script labels Nov 30, 2024
@iphydf iphydf changed the title the database version is newer than what we support [FR]: Add support for loading newer-than-current databases (with warning) Nov 30, 2024
@iphydf iphydf modified the milestones: v1.18.1, v1.18.x Jan 1, 2025
@Darthagnon
Copy link

Darthagnon commented Jan 2, 2025

I've noticed the same issue, and have been using qTox_enhanced myself.
KeePass_250102_201

but after complaining, it then proceeded to load the profile successfully :/

I made no changes, sent no messages, may have received some acknowledgements or offline/online ping messages in qTox v1.18. I then closed it, and everything still loads fine in qTox_enhanced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature for the user, not a new feature for build script
Projects
None yet
Development

No branches or pull requests

3 participants