Signal-desktop: BUG: Signal Stuck on Optimizing Application (1.15.0-Beta.7)

Created on 1 Aug 2018  路  18Comments  路  Source: signalapp/Signal-Desktop

  • [x] I have searched open and closed issues for duplicates

Bug description

Suddenly the update dialog came up, unpurposefully canceled the update dialog while typing, reopened the app and it's stuck on the Optimizing state.

Steps to reproduce

  1. Receive the update dialog (from Beta 6 to Beta 7)
  2. Hit Cancel
  3. Reopen Signal Beta

Actual result:
*There is no Access to Preferences to Delete Data.
*There is no Access to Submit Debug Log.

Expected result:
*More sophisticated update paradigm, possibly from preferences manually.
*Access to Preferences, Debug Log etc. in such cases.

Screenshots

image

Platform info

Signal version:
1.15.0-Beta.7

Operating System:
Windows 10

Linked device version:
2.28.0.15

Beta Bug Should Be Fixed

Most helpful comment

This issue was resolved for me after I updated to v1.15.0-beta.8.

All 18 comments

I have the same issue. Starting signal from the shell gives me this (first start after installing the update):

NODE_CONFIG_DIR /opt/Signal Beta/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME undefined
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
Set Windows Application User Model ID (AUMID) { appUserModelId: 'org.whispersystems.signal-desktop-beta' }
userData: /home/jens/.config/Signal Beta
making app single instance
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"app ready","time":"2018-08-01T08:03:48.508Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"Ensure attachments directory exists","time":"2018-08-01T08:03:48.517Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"updateSchema: Current schema version: 0; Most recent schema version: 1; SQLite version: 3.20.1; SQLCipher version: 3.4.2;","time":"2018-08-01T08:03:48.525Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"updateToSchemaVersion1: starting...","time":"2018-08-01T08:03:48.525Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"updateToSchemaVersion1: success!","time":"2018-08-01T08:03:48.545Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"Initializing BrowserWindow config: {\"show\":false,\"width\":800,\"height\":610,\"minWidth\":640,\"minHeight\":360,\"autoHideMenuBar\":true,\"webPreferences\":{\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"preload\":\"/opt/Signal Beta/resources/app.asar/preload.js\",\"nativeWindowOpen\":true},\"icon\":\"/opt/Signal Beta/resources/app.asar/images/icon_256.png\",\"maximized\":false,\"x\":2772,\"y\":649}","time":"2018-08-01T08:03:48.549Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"Detected Linux. Setting up spell check with locale de_DE and dictionary location /usr/share/hunspell","time":"2018-08-01T08:03:49.721Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"pre-main prep time: 2 ms","time":"2018-08-01T08:03:50.039Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"Build expires:  2018-10-30T00:46:28.000Z","time":"2018-08-01T08:03:50.079Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"background page reloaded","time":"2018-08-01T08:03:50.108Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"environment: production","time":"2018-08-01T08:03:50.108Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"Start IndexedDB migrations","time":"2018-08-01T08:03:50.110Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"Run migrations on database with attachment data","time":"2018-08-01T08:03:50.110Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"Database status {\"firstMigrationVersion\":12,\"lastMigrationVersion\":18,\"databaseVersion\":18,\"isAlreadyUpgraded\":true}","time":"2018-08-01T08:03:50.277Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"Storage fetch","time":"2018-08-01T08:03:50.277Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"New version detected: 1.15.0-beta.7; previous: 1.15.0-beta.6","time":"2018-08-01T08:03:50.339Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"upgradeMessages: Mandatory message schema upgrade started. Target version: 7","time":"2018-08-01T08:03:50.339Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"upgradeMessages: upgrade without index {\"done\":true}","time":"2018-08-01T08:03:50.343Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"upgradeMessages: upgrade without index complete!","time":"2018-08-01T08:03:50.343Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"upgradeMessages: upgrade with index {\"done\":true,\"numProcessed\":0,\"fetchDuration\":3,\"upgradeDuration\":0,\"saveDuration\":0,\"totalDuration\":3}","time":"2018-08-01T08:03:50.346Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"upgradeMessages: upgrade with index complete!","time":"2018-08-01T08:03:50.346Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"upgradeMessages: Message schema upgrade complete","time":"2018-08-01T08:03:50.347Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"Starting background data migration. Target version: 8","time":"2018-08-01T08:03:50.347Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"migrateToSQL: start","time":"2018-08-01T08:03:50.348Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"sql channel error with call saveMessages: Error: SQLITE_ERROR: cannot commit - no transaction is active","time":"2018-08-01T08:03:55.887Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":50,"msg":"Top-level unhandled promise rejection: Error: Error calling channel saveMessages: Error: SQLITE_ERROR: cannot commit - no transaction is active","time":"2018-08-01T08:03:55.891Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"Updating BrowserWindow config: {\"maximized\":false,\"autoHideMenuBar\":true,\"width\":800,\"height\":610,\"x\":2772,\"y\":686}","time":"2018-08-01T08:04:24.146Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":30,"msg":"Updating BrowserWindow config: {\"maximized\":false,\"autoHideMenuBar\":true,\"width\":800,\"height\":610,\"x\":2772,\"y\":685}","time":"2018-08-01T08:06:53.911Z","v":0}
{"name":"log","hostname":"i30nb7","pid":25159,"level":50,"msg":"Top-level unhandled promise rejection: TypeError: Cannot read property 'getThemeSetting' of undefined","time":"2018-08-01T08:06:57.174Z","v":0}

Closing and reopening signal after this changed the error (this error now appears on every start):

NODE_CONFIG_DIR /opt/Signal Beta/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME undefined
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
Set Windows Application User Model ID (AUMID) { appUserModelId: 'org.whispersystems.signal-desktop-beta' }
userData: /home/jens/.config/Signal Beta
making app single instance
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"app ready","time":"2018-08-01T08:18:23.784Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"Ensure attachments directory exists","time":"2018-08-01T08:18:23.796Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"updateSchema: Current schema version: 1; Most recent schema version: 1; SQLite version: 3.20.1; SQLCipher version: 3.4.2;","time":"2018-08-01T08:18:23.802Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"Initializing BrowserWindow config: {\"show\":false,\"width\":800,\"height\":610,\"minWidth\":640,\"minHeight\":360,\"autoHideMenuBar\":true,\"webPreferences\":{\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"preload\":\"/opt/Signal Beta/resources/app.asar/preload.js\",\"nativeWindowOpen\":true},\"icon\":\"/opt/Signal Beta/resources/app.asar/images/icon_256.png\",\"maximized\":false,\"x\":2772,\"y\":685}","time":"2018-08-01T08:18:23.804Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"Detected Linux. Setting up spell check with locale de_DE and dictionary location /usr/share/hunspell","time":"2018-08-01T08:18:25.013Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"pre-main prep time: 3 ms","time":"2018-08-01T08:18:25.328Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"Build expires:  2018-10-30T00:46:28.000Z","time":"2018-08-01T08:18:25.370Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"background page reloaded","time":"2018-08-01T08:18:25.402Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"environment: production","time":"2018-08-01T08:18:25.402Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"Start IndexedDB migrations","time":"2018-08-01T08:18:25.403Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"Run migrations on database with attachment data","time":"2018-08-01T08:18:25.404Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"Database status {\"firstMigrationVersion\":12,\"lastMigrationVersion\":18,\"databaseVersion\":18,\"isAlreadyUpgraded\":true}","time":"2018-08-01T08:18:25.562Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"Storage fetch","time":"2018-08-01T08:18:25.562Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"upgradeMessages: Mandatory message schema upgrade started. Target version: 7","time":"2018-08-01T08:18:25.636Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"upgradeMessages: upgrade without index {\"done\":true}","time":"2018-08-01T08:18:25.638Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"upgradeMessages: upgrade without index complete!","time":"2018-08-01T08:18:25.638Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"upgradeMessages: upgrade with index {\"done\":true,\"numProcessed\":0,\"fetchDuration\":2,\"upgradeDuration\":0,\"saveDuration\":0,\"totalDuration\":2}","time":"2018-08-01T08:18:25.641Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"upgradeMessages: upgrade with index complete!","time":"2018-08-01T08:18:25.641Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"upgradeMessages: Message schema upgrade complete","time":"2018-08-01T08:18:25.641Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"Starting background data migration. Target version: 8","time":"2018-08-01T08:18:25.642Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"migrateToSQL: start","time":"2018-08-01T08:18:25.643Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":30,"msg":"sql channel error with call saveMessages: Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: messages.id","time":"2018-08-01T08:18:25.658Z","v":0}
{"name":"log","hostname":"i30nb7","pid":26052,"level":50,"msg":"Top-level unhandled promise rejection: Error: Error calling channel saveMessages: Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: messages.id","time":"2018-08-01T08:18:25.661Z","v":0}

Like @khashyarkh, I also don't have access to the real debug log (clicking View -> Debug Log does nothing)

Signal version:
1.15.0-Beta.7

Operating System:
Ubuntu 18.04

Linked device version:
4.23.4 (non-playstore version)

We'll get a fix out for this in the next beta. Thanks for being a beta tester!

same issue on Windows 10.

thx @scottnonnenberg

Log:

C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:01.796Z Using OS-level spell check API with locale de_DE
standalone_registration_view.js Failed to load resource: net::ERR_FILE_NOT_FOUND
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.046Z pre-main prep time: 2 ms
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.081Z Build expires:  2018-10-30T00:46:28.000Z
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.103Z background page reloaded
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.104Z environment: production
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.105Z Start IndexedDB migrations
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.105Z Run migrations on database with attachment data
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.248Z Database status Object
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.249Z Storage fetch
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.297Z upgradeMessages: Mandatory message schema upgrade started. Target version: 7
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.304Z upgradeMessages: upgrade without index Object
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.304Z upgradeMessages: upgrade without index complete!
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.310Z upgradeMessages: upgrade with index Object
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.310Z upgradeMessages: upgrade with index complete!
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.310Z upgradeMessages: Message schema upgrade complete
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.310Z Starting background data migration. Target version: 8
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 INFO  2018-08-01T16:26:02.311Z migrateToSQL: start
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\logging.js:103 ERROR 2018-08-01T16:26:02.332Z Top-level unhandled promise rejection: Error: Error calling channel saveMessages: Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: messages.id
C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\modules\data.js:157 Uncaught (in promise) Error: Error calling channel saveMessages: Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: messages.id
    at EventEmitter.ipcRenderer.on (C:\Users\ms\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\js\modules\data.js:157:9)
    at emitThree (events.js:136:13)
    at EventEmitter.emit (events.js:217:7)

This issue was resolved for me after I updated to v1.15.0-beta.8.

is it already available via the auto-updater?

For OSX and Windows, yes. Linux is in-process.

Well done, now it reads a very large count of messages.

In the console there are sometimes messages like the following:
libtextsecure.js:36404 Uncaught (in promise) Error: Message key not found. The counter was repeated or the key was not filled. at libtextsecure.js:36404 at <anonymous> (anonymous) @ libtextsecure.js:36404 Promise rejected (async) queueJobForNumber @ libtextsecure.js:36599 decryptWhisperMessage @ libtextsecure.js:36303 decrypt @ libtextsecure.js:38714 handleContentMessage @ libtextsecure.js:38844 handleEnvelope @ libtextsecure.js:38644 Promise @ libtextsecure.js:40945 (anonymous) @ libtextsecure.js:40901
Is this a problem?

@0xnor0 Not necessarily. You could always enter a bug and include the entire log, and I could take a look.

I seem to continue to have this problem on GNU/Linux with v1.15.0-beta.8.

This is what I get on launch:

NODE_ENV production
NODE_CONFIG_DIR /opt/Signal Beta/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME undefined
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
Set Windows Application User Model ID (AUMID) { appUserModelId: 'org.whispersystems.signal-desktop-beta' }
userData: /home/user/.config/Signal Beta
making app single instance
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"app ready","time":"2018-08-01T22:27:13.939Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"Ensure attachments directory exists","time":"2018-08-01T22:27:13.960Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"updateSchema: Current schema version: 1; Most recent schema version: 1; SQLite version: 3.20.1; SQLCipher version: 3.4.2;","time":"2018-08-01T22:27:14.006Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"Initializing BrowserWindow config: {\"show\":true,\"width\":800,\"height\":680,\"minWidth\":640,\"minHeight\":360,\"autoHideMenuBar\":false,\"webPreferences\":{\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"preload\":\"/opt/Signal Beta/resources/app.asar/preload.js\",\"nativeWindowOpen\":true},\"icon\":\"/opt/Signal Beta/resources/app.asar/images/icon_256.png\",\"maximized\":false,\"x\":160,\"y\":342}","time":"2018-08-01T22:27:14.011Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"Updating BrowserWindow config: {\"maximized\":false,\"autoHideMenuBar\":false,\"width\":800,\"height\":681,\"x\":160,\"y\":371}","time":"2018-08-01T22:27:14.672Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"Detected Linux. Using default en_US spell check dictionary","time":"2018-08-01T22:27:15.994Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"pre-main prep time: 8 ms","time":"2018-08-01T22:27:16.447Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"Build expires:  2018-10-30T20:30:23.000Z","time":"2018-08-01T22:27:16.530Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"background page reloaded","time":"2018-08-01T22:27:16.602Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"environment: production","time":"2018-08-01T22:27:16.602Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"Start IndexedDB migrations","time":"2018-08-01T22:27:16.606Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"Run migrations on database with attachment data","time":"2018-08-01T22:27:16.607Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"Database status {\"firstMigrationVersion\":12,\"lastMigrationVersion\":18,\"databaseVersion\":18,\"isAlreadyUpgraded\":true}","time":"2018-08-01T22:27:16.893Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"Storage fetch","time":"2018-08-01T22:27:16.895Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"upgradeMessages: Mandatory message schema upgrade started. Target version: 7","time":"2018-08-01T22:27:17.054Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"upgradeMessages: upgrade without index {\"done\":true}","time":"2018-08-01T22:27:17.059Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"upgradeMessages: upgrade without index complete!","time":"2018-08-01T22:27:17.059Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"upgradeMessages: upgrade with index {\"done\":true,\"numProcessed\":0,\"fetchDuration\":335,\"upgradeDuration\":0,\"saveDuration\":0,\"totalDuration\":335}","time":"2018-08-01T22:27:17.397Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"upgradeMessages: upgrade with index complete!","time":"2018-08-01T22:27:17.397Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"upgradeMessages: Message schema upgrade complete","time":"2018-08-01T22:27:17.398Z","v":0}
{"name":"log","hostname":"my_host_name","pid":26337,"level":30,"msg":"migrateToSQL: start","time":"2018-08-01T22:27:17.401Z","v":0}

This is what is output when I try to capture the debug log:
{"name":"log","hostname":"my_host_name","pid":26337,"level":50,"msg":"Top-level unhandled promise rejection: TypeError: Cannot read property 'getThemeSetting' of undefined","time":"2018-08-01T22:27:45.839Z","v":0}

@mmirg It doesn't look like you've hit any errors yet in the SQLCipher migration. How long have you given it so far? Also, how long has this desktop installation been in use?

@scottnonnenberg The desktop installation has been in use since the Chrome desktop client was in alpha and then imported soon after the standalone desktop client was released as a beta. My Signal Beta database is roughly 450 MB and I seem to have roughly 4.5 GB of attachments.

I let the r8 run for roughly ten minutes. When I roll back to r6 the program reaches a usable state in less than five minutes. Should I try waiting longer?

What's r6?

Sounds like you're a really heavy user - about how many messages per day do you send and receive? Either way, we're currently working on a progress screen that will help people prepare people for a potential wait.

How big is sql/db.sqite in your config directory? Also, can you talk about how long you've given it to update, and potentially some metrics on CPU usage, etc. during that time? What kind of machine is this, BTW?

It seems I just didn't give it enough time. I tried updating and opening the database again and it eventually opened. It took over twenty minutes to open. CPU usage appeared to average around 50% according to htop for the first fifteen minutes that I carefully monitored progress.

db.sqlite is 141.1 MiB.

Hardware:

Linux 4.17.10-gentoo #1 SMP Thu Jul 26 11:29:06 BST 2018 x86_64 Intel(R) Xeon(R) CPU E3-1505M v5 @ 2.80GHz GenuineIntel GNU/Linux

16 GB 2133MHz DDR4 RAM

SM951 NVMe SAMSUNG 256GB

Beta 8 fixed it for me, too. It also looks like the issues mentioned by @0xnor0 and @mmirg don't affect me: I didn't notice any error messages in the console output and the migration took only a few seconds.

@khashyarkh Can we close this?

@scottnonnenberg-signal sure thing, i was able to auto-update.
Thanks!

I hit this problem too. I am not (as far as I know) using a test version of the app. When it asks to update to a new version I say yes. "Optimizing application." I tried installing a new copy of the app from the main page, it's called signal-desktop-mac-1.22.0.zip, and I'm getting the same "optimizing application" message. Any help much appreciated. ;-)

@scripting Commenting on closed issues is not going to help. Please enter a new bug and include a debug log.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gesus14 picture gesus14  路  3Comments

cmdrogogov picture cmdrogogov  路  3Comments

lokesh-krishna picture lokesh-krishna  路  3Comments

shaaati picture shaaati  路  3Comments

ProactiveServices picture ProactiveServices  路  3Comments