After updating to Version: 1.9.0 I cannot save as encrypted database

MMEX4Desktop, incl. Windows, macOS, and Most Unix variants using the GTK+ toolkit

Moderator: Renato

Post Reply
Eduardommex
Senior User
Posts: 41
Joined: Sat Jun 26, 2021 2:40 pm
Are you a spam bot?: No

After updating to Version: 1.9.0 I cannot save as encrypted database

Post by Eduardommex »

I have still dealing with a problem to save my current mmb database to an encrypted emb file. After creating a database, this message come up:
SQL logic error[1]: Rekeying failed. Pagesize cannot be changed for an encrypted database.

Then if I try to open this new file this another message come up.

When database file opening:
/home/eduardo/Documents/Finanzas/MMEx/MMExdatabase/EduardoMMExdatabase2025.emb
An incorrect password given for an encrypted file
or attempt to open a File that is not a database file

I am installed a Flatpak version on my Ubuntu 24.04
User avatar
Renato
MVP User
Posts: 847
Joined: Mon Apr 25, 2011 7:36 pm
Are you a spam bot?: No
Location: near Zurich

Re: After updating to Version: 1.9.0 I cannot save as encrypted database

Post by Renato »

seems to be the same problem as user Redwise viewtopic.php?t=11242
Renato Forum Administrator (I'm not a developer)
Eduardommex
Senior User
Posts: 41
Joined: Sat Jun 26, 2021 2:40 pm
Are you a spam bot?: No

Re: After updating to Version: 1.9.0 I cannot save as encrypted database

Post by Eduardommex »

Right, I had the same problem with 1.8.1, but I assumed this was fixed in 1.9 wasn't it?. It will require to follow the process mentioned in GitHub even for 1.9 as well?
User avatar
Renato
MVP User
Posts: 847
Joined: Mon Apr 25, 2011 7:36 pm
Are you a spam bot?: No
Location: near Zurich

Re: After updating to Version: 1.9.0 I cannot save as encrypted database

Post by Renato »

I can't answer that, a developer would have to comment on that.
@whall3y @nstein
Renato Forum Administrator (I'm not a developer)
Eduardommex
Senior User
Posts: 41
Joined: Sat Jun 26, 2021 2:40 pm
Are you a spam bot?: No

Re: After updating to Version: 1.9.0 I cannot save as encrypted database

Post by Eduardommex »

@whall3y @nstein Is there any update on that?
Eduardommex
Senior User
Posts: 41
Joined: Sat Jun 26, 2021 2:40 pm
Are you a spam bot?: No

Re: After updating to Version: 1.9.0 I cannot save as encrypted database

Post by Eduardommex »

Hi,@whall3y, @nstein, and @Renato , I have been waiting and requesting a new version of MMEx, for encrypting my MMEx database again.
When version 1.9 was released, I assumed everything would be fixed, but that wasn’t the case, so I kept requesting it, (see above).

Later, after reading the blog information again, I realized that the issue might not be with the new version itself, but rather with my old database that I was still using, that not working with the increasing of number of-bit encryption that new versions have..
So, I made a simple change in the database that seems to have worked, and I want to share it in case anyone else wants to try it.
1. downloaded DB Browser for SQLite: https://sqlitebrowser.org/
2. made a copy of my database as EDB_copy.mmb, just in case.
3. opened the database with the browser (EDB_copy.mmb).
4. changed page_size to 4096 in the EDB_copy.mmb database.
5. opened MMEX with this modified database and then encrypted it using the MMEX menu option.

It seems to be working fine, and I didn’t need to modify Vacuum.
Attachments
Updating page size
Updating page size
Screenshot from 2025-03-07 11-20-29.png (7.5 KiB) Viewed 6685 times
Old database configuration
Old database configuration
Screenshot from 2025-03-07 11-20-04.png (329.01 KiB) Viewed 6685 times
Post Reply