[SOLVED] New v1.8.1 rejecting .emb database password
Moderator: Renato
-
- New User
- Posts: 6
- Joined: Thu Apr 30, 2020 8:22 pm
- Are you a spam bot?: No
[SOLVED] New v1.8.1 rejecting .emb database password
I am elated to see that version 1.8.1 for Windows 64bit is available especially as it contains the much awaited 256bit encryption. However, when I try and open my existing .emb database with the usual password, an error message appears saying that it is an incorrect password for this database. Do I need to change anything? I have now reverted to v1.8.0 and all is working fine.
-
- New User
- Posts: 13
- Joined: Wed Aug 30, 2017 12:42 pm
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
@josh555 you need to
- save your 1.8.0 database as a .mmb
- open that with 1.8.1
- save it again as a .emb
Remember to delete the .mmb afterwards.
- save your 1.8.0 database as a .mmb
- open that with 1.8.1
- save it again as a .emb
Remember to delete the .mmb afterwards.
-
- New User
- Posts: 4
- Joined: Fri Apr 03, 2009 11:22 am
Re: New v1.8.1 rejecting .emb database password
Following these steps didn't help. Receiving SQL Lite error.
-
- New User
- Posts: 3
- Joined: Thu Feb 02, 2023 6:16 pm
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
i had the same problem.
Has anyone solved it?
thank you
Has anyone solved it?
thank you
-
- New User
- Posts: 6
- Joined: Thu Apr 30, 2020 8:22 pm
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
Thank you Kenk, that has worked for me. However, I have opened the same encrypted database on my android phone and marked an entry as reconciled but even after synchronising the phone app, the change is not registering in the Windows desktop app (even after closing and reopening). Is there something else that I need to do? Both apps are definitely pointing to the same .emb file. The same applies in reverse and a change on the desktop is not registering on the android app.
-
- Senior User
- Posts: 36
- Joined: Sat Jun 26, 2021 2:40 pm
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
Hi
I am reporting the same problem. After updating Flatpak MMEx 1.8.1 version opened the mmb file and trying to save as encrypted emb file this error message come up: "SQL logic error[1]: Rekeying failed. Pagesize cannot be changed for an encrypted database." Could somebody help me?
I am reporting the same problem. After updating Flatpak MMEx 1.8.1 version opened the mmb file and trying to save as encrypted emb file this error message come up: "SQL logic error[1]: Rekeying failed. Pagesize cannot be changed for an encrypted database." Could somebody help me?
-
- New User
- Posts: 1
- Joined: Sat Nov 30, 2024 4:02 pm
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
+1
On Windows 11, it says that the password for this database is incorrect or the file is not a database.
On Windows 11, it says that the password for this database is incorrect or the file is not a database.
-
- New User
- Posts: 5
- Joined: Mon Apr 12, 2021 7:35 pm
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
Same error here
SQL logic error[1]: Rekeying failed. Pagesize cannot be changed for an encrypted database
SQL logic error[1]: Rekeying failed. Pagesize cannot be changed for an encrypted database
-
- Developer
- Posts: 470
- Joined: Wed Dec 21, 2011 5:58 am
- Are you a spam bot?: No
- Contact:
Re: New v1.8.1 rejecting .emb database password
can anyone share a mini database to reproduce the issue?
-
- New User
- Posts: 5
- Joined: Mon Apr 12, 2021 7:35 pm
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
Here you are Open the file and try to save it as EMB file, a password dialog will pop out and when you enter any password, the sql error occurs:guanlisheng wrote: ↑Sat Nov 30, 2024 5:30 pm can anyone share a mini database to reproduce the issue?
SQL logic error[1]: Rekeying failed. Pagesize cannot be changed for an encrypted database.
The database is an EMB file from version 1.8.0, where I saved is as MMB and then opened in 1.8.1, deleted everything except 1 account and 1 transaction, then optimized it and finally saved as MMB and then tried to save as EMB.
-
- New User
- Posts: 1
- Joined: Sat Nov 30, 2024 6:43 pm
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
Same as hxigor here
- Renato
- MVP User
- Posts: 767
- Joined: Mon Apr 25, 2011 7:36 pm
- Are you a spam bot?: No
- Location: near Zurich
Re: New v1.8.1 rejecting .emb database password
I would suggest that users revert to version 1.8 or not use encryption until the bug is fixed.
Renato Forum Administrator
-
- Developer
- Posts: 470
- Joined: Wed Dec 21, 2011 5:58 am
- Are you a spam bot?: No
- Contact:
Re: New v1.8.1 rejecting .emb database password
Thanks @hxigor and also the guy from the Github, we know it is page_size that triggers the issue now.
for some very old databases (e.g. before 2014), the page_size is 1024, while newer ones are 4096.
you can run PRAGMA page_size in wxSQLitePlus or any SQLite clients to tell the result.
for some very old databases (e.g. before 2014), the page_size is 1024, while newer ones are 4096.
you can run PRAGMA page_size in wxSQLitePlus or any SQLite clients to tell the result.
- 4096, it will be fine to re-encryption
- 1024, you might have to update page size to 4096 via next reply
-
- Developer
- Posts: 470
- Joined: Wed Dec 21, 2011 5:58 am
- Are you a spam bot?: No
- Contact:
Re: New v1.8.1 rejecting .emb database password
here is the instruction to update the legacy page size (1024) to the default page size (4096).
run the following code to update page size in place
run the following code to update page size in place
Code: Select all
PRAGMA page_size = 4096;
VACUUM;
-
- New User
- Posts: 5
- Joined: Mon Apr 12, 2021 7:35 pm
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
@guanlisheng
Thanks for the analysis and fix, changing the page size to 4096 worked!
Thanks for the analysis and fix, changing the page size to 4096 worked!
-
- New User
- Posts: 3
- Joined: Thu Feb 02, 2023 6:16 pm
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
Could you explain in detail the steps to take?
Thank you
Thank you
- Renato
- MVP User
- Posts: 767
- Joined: Mon Apr 25, 2011 7:36 pm
- Are you a spam bot?: No
- Location: near Zurich
Re: New v1.8.1 rejecting .emb database password
Renato Forum Administrator