-
-
Notifications
You must be signed in to change notification settings - Fork 176
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
after upgrade to 0.1.9 mautrix-whatsapp fails to start #360
Comments
I'm having this issue too. Haven't updated in a while (few months), so that might explain. Edit: Searching through the #mautrix-whatsapp Matrix room, tulir said that running the following SQL query should return no results, but it does for me, which might explain the issue.
Not posting the results as they're basically my buddies phone numbers. |
I don't have the same results as you as it seems.
|
I have the same error as @renaudallard .
|
Same issue, I was on 0.1.8 and I compiled 0.1.9 but it fails to upgrade
|
This issue seems quite common. Unfortunately, I will need to block the package for mautrix-whatsapp on OpenBSD at the former version until this issue can be solved. |
I saw you said 0.1.9 was the last to target previous Whatsapp API but could there be a 0.1.9.1 since this is breaking the last update? |
I agree that releasing 0.1.9.1 would be a good idea for package maintainers. 0.1.9 is broken and cannot be packaged as is. |
It seems like there's no branch other than master and I think he might have started developing towards new multidevice API so I guess the creation of a new "legacy" branch or something of the sort would be needed to backport and tag this. |
Just for confirmation, diff db44ef2 solves the issue. |
Note that I applied this patch over the 0.1.9 tag but because the update previously failed halfway it seems that it couldn't continue correctly:
If you were a fool like me and only had a week old backup you may need to intervene with SQLite directly:
Then the remaining updates worked fine:
|
I pulled 0.1.10 and everything is fine now. |
After upgrade to 0.1.9 mautrix-whatsapp fails to start with this error message. I am using the default sqlite db.
[Oct 29, 2021 08:24:57] [DEBUG] Running database upgrades
[Oct 29, 2021 08:24:57] [Database/Upgrade/INFO] Database currently on v21, latest: v24
[Oct 29, 2021 08:24:57] [Database/Upgrade/INFO] Upgrading database to v22: Remove message content from local database
[Oct 29, 2021 08:25:01] [FATAL] Failed to initialize database: FOREIGN KEY constraint failed
The text was updated successfully, but these errors were encountered: