Using a supported version?
- I have searched searched open and closed issues for duplicates.
- I am using Signal-Desktop as provided by the Signal team, not a 3rd-party package.
Overall summary
Problem: Signal Desktop does not start after upgrade to 7.24.0 or 7.24.1
My OS: Ubuntu 22.04.5 LTS
signal-desktop version at issue: 7.24.0 or 7.24.1
last known working version of signal-desktop: 7.22.2
Steps to reproduce
-
Run Ubuntu 22.04.5 LTS
-
Install signal-desktop version 7.22.2 and confirm working
-
Change primary sudo user password (I'm kicking myself for finally doing this, but not sure it's even related to this issue)
-
Install signal-desktop version 7.24.X (not certain on 7.24.0 or 7.24.1)
-
Restart machine
-
Open signal-desktop normally (not from terminal)
-
Receive the following popup: Unlock Login Keyring. Authentication required. The password you use to log in to your computer no longer matches that of your login keyring.
-
Unfortunately it's not clear if I entered the password correctly. (It wasn't clear that this popup was even related to the Signal startup process.)
-
Next, receive: Database Error. A database error occurred. You can copy the error and contact Signal support to help fix the issue. If you need to use Signal right away, you can delete your data and restart. Contact support by visiting: https://support.signal.org/error. Options: 1) Copy error and quit 2) Delete data and restart
-
Click option 1 (but note nothing gets copied to clipboard)
-
run
signal-desktopfrom terminal and receive:Set Windows Application User Model ID (AUMID) { AUMID: 'org.whispersystems.signal-desktop' }
NODE_ENV production
NODE_CONFIG_DIR /opt/Signal/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME nkps
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
SIGNAL_ENABLE_HTTP undefined
userData: /home/mm/.config/Signal
config/get: Successfully read user config file
config/get: Successfully read ephemeral config file
making app single instance
{"level":30,"time":"2024-09-18T20:34:54.481Z","msg":"got fast localeOverride setting null"}
{"level":30,"time":"2024-09-18T20:34:54.481Z","msg":"app.ready: hour cycle preference: UnknownPreference"}
{"level":30,"time":"2024-09-18T20:34:54.481Z","msg":"app.ready: preferred system locales: en-US, en"}
{"level":30,"time":"2024-09-18T20:34:54.482Z","msg":"locale: Supported locales: af-ZA, ar, az-AZ, bg-BG, bn-BD, bs-BA, ca, cs, da, de, el, en, es, et-EE, eu, fa-IR, fi, fr, ga-IE, gl-ES, gu-IN, he, hi-IN, hr-HR, hu, id, it, ja, ka-GE, kk-KZ, km-KH, kn-IN, ko, ky-KG, lt-LT, lv-LV, mk-MK, ml-IN, mr-IN, ms, my, nb, nl, pa-IN, pl, pt-BR, pt-PT, ro-RO, ru, sk-SK, sl-SI, sq-AL, sr, sv, sw, ta-IN, te-IN, th, tl-PH, tr, ug, uk-UA, ur, vi, yue, zh-CN, zh-HK, zh-Hant"}
{"level":30,"time":"2024-09-18T20:34:54.482Z","msg":"locale: Preferred locales: en-US, en"}
{"level":30,"time":"2024-09-18T20:34:54.482Z","msg":"locale: Locale Override: null"}
{"level":30,"time":"2024-09-18T20:34:54.483Z","msg":"locale: Matched locale: en"}
{"level":40,"time":"2024-09-18T20:34:54.509Z","msg":"intl.onWarn [@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution"}
{"level":30,"time":"2024-09-18T20:34:54.509Z","msg":"locale: Text info direction for en: ltr"}
{"level":30,"time":"2024-09-18T20:34:54.510Z","msg":"getSQLKey: decrypting key"}
{"level":30,"time":"2024-09-18T20:34:54.510Z","msg":"getSystemTraySetting got value DoNotUseSystemTray"}
{"level":30,"time":"2024-09-18T20:34:54.511Z","msg":"getSystemTraySetting returning DoNotUseSystemTray"}
{"level":30,"time":"2024-09-18T20:34:54.512Z","msg":"app ready"}
{"level":30,"time":"2024-09-18T20:34:54.512Z","msg":"starting version 7.24.1"}
{"level":30,"time":"2024-09-18T20:34:54.512Z","msg":"media access status [object Undefined] [object Undefined]"}
{"level":30,"time":"2024-09-18T20:34:54.514Z","msg":"got fast theme-setting value dark"}
{"level":30,"time":"2024-09-18T20:34:54.526Z","msg":"got fast theme-setting value dark"}
{"level":30,"time":"2024-09-18T20:34:54.526Z","msg":"got fast spellcheck setting true"}
{"level":30,"time":"2024-09-18T20:34:54.527Z","msg":"Initializing BrowserWindow config: {"show":false,"width":1908,"height":2014,"minWidth":300,"minHeight":200,"autoHideMenuBar":false,"titleBarStyle":"default","backgroundColor":"#121212","webPreferences":{"devTools":false,"spellcheck":true,"enableBlinkFeatures":"CSSPseudoDir,CSSLogical","enablePreferredSizeMode":true,"nodeIntegration":false,"nodeIntegrationInWorker":false,"sandbox":false,"contextIsolation":true,"preload":"[REDACTED]/preload.bundle.js","backgroundThrottling":true,"disableBlinkFeatures":"Accelerated2dCanvas,AcceleratedSmallCanvases"},"icon":"[REDACTED]/images/signal-logo-desktop-linux.png","x":6,"y":43}"}
{"level":30,"time":"2024-09-18T20:34:54.575Z","msg":"spellcheck: user locales: ["en-US","en"]"}
{"level":30,"time":"2024-09-18T20:34:54.575Z","msg":"spellcheck: available spellchecker languages: ["af","bg","ca","cs","cy","da","de","de-DE","el","en","en-AU","en-CA","en-GB","en-GB-oxendict","en-US","es","es-419","es-AR","es-ES","es-MX","es-US","et","fa","fo","fr","fr-FR","he","hi","hr","hu","hy","id","it","it-IT","ko","lt","lv","nb","nl","pl","pt","pt-BR","pt-PT","ro","ru","sh","sk","sl","sq","sr","sv","ta","tg","tr","uk","vi"]"}
{"level":30,"time":"2024-09-18T20:34:54.575Z","msg":"spellcheck: setting languages to: ["en-US","en"]"}
2024-09-18 15:34:54.850: ERROR CORE sqlcipher_page_cipher: hmac check failed for pgno=1
2024-09-18 15:34:54.850: ERROR CORE sqlite3Codec: error decrypting page 1 data: 1
2024-09-18 15:34:54.850: ERROR CORE sqlcipher_codec_ctx_set_error 1
{"level":40,"time":"2024-09-18T20:34:54.851Z","msg":"MainSQL: Database log code=26: file is not a database in "PRAGMA journal_mode = WAL""}
{"level":30,"time":"2024-09-18T20:34:54.851Z","msg":"MainSQL: migrateDatabase: Migration without cipher change failed"}
2024-09-18 15:34:54.909: ERROR CORE sqlcipher_page_cipher: hmac check failed for pgno=1
2024-09-18 15:34:54.909: ERROR CORE sqlite3Codec: error decrypting page 1 data: 1
2024-09-18 15:34:54.909: ERROR CORE sqlcipher_codec_ctx_set_error 1
{"level":40,"time":"2024-09-18T20:34:54.909Z","msg":"MainSQL: Database log code=26: statement aborts at 2: [PRAGMA user_version] file is not a database"}
{"level":50,"time":"2024-09-18T20:34:54.909Z","msg":"MainSQL: Database startup error: SqliteError: file is not a database\n at Database.pragma ([REDACTED]/node_modules/@signalapp/better-sqlite3/lib/methods/pragma.js:11:31)\n at getUserVersion ([REDACTED]/ts/sql/util.js:132:13)\n at migrateSchemaVersion ([REDACTED]/ts/sql/Server.js:404:54)\n at openAndMigrateDatabase ([REDACTED]/ts/sql/Server.js:436:5)\n at openAndSetUpSQLCipher ([REDACTED]/ts/sql/Server.js:458:14)\n at initialize ([REDACTED]/ts/sql/Server.js:496:10)\n at MessagePort. ([REDACTED]/ts/sql/mainWorker.js:69:41)\n at [nodejs.internal.kHybridDispatch] (node:internal/event_target:820:20)\n at MessagePort. (node:internal/per_context/messageport:23:28)"}
{"level":50,"time":"2024-09-18T20:34:54.910Z","msg":"Failed to get zoom factor {"name":"SqliteError"}"}
{"level":30,"time":"2024-09-18T20:34:55.241Z","msg":"got fast theme-setting value dark"}
{"level":50,"time":"2024-09-18T20:34:56.032Z","msg":"sql.initialize was unsuccessful; returning early"}
{"level":30,"time":"2024-09-18T20:34:56.032Z","msg":"close event {"readyForShutdown":false,"shouldQuit":false}"}
{"level":30,"time":"2024-09-18T20:34:56.032Z","msg":"maybeRequestCloseConfirmation: Checking to see if close confirmation is needed"} -
Per Signal cannot start anymore! #6996, try downgrading to v 7.21.0, 7.22.2, and 7.15.0 (via
sudo apt install signal-desktop=X.XX.X) with no success. I believe I restarted machine for each new version. -
I also did some experimenting with changing the sudo password back to original and confirming Login Keyring was unlocked before trying to open signal-desktop, but that didn't help.
Following the first error, I made a backup of ~/.config/Signal. I definitely did not click "Delete data and restart".
I'm hoping to avoid losing desktop access to years of correspondence.
Any suggestions would be greatly appreciated. Thank you.
Expected result
signal-desktop opens normally
Actual result
I believe I received when testing v 7.21.0 or 7.22.2:

I believe I received when testing v 7.21.0 or 7.22.2:

I believe I received when testing v 7.21.0 or 7.22.2:

Fairly certain this error was received when testing 7.15.0:

Screenshots
No response
Signal version
Described in detail above
Operating system
Ubuntu 22.04.5 LTS (EDIT: more specifically, Xubuntu so essentially Ubuntu + XFCE desktop)
Version of Signal on your phone
Android 7.16.4
Link to debug log
No response
