signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.49k stars 2.63k forks source link

ubuntu: Internal error opening backing store for indexedDB.open #2560

Open ThibaultCapelle opened 6 years ago

ThibaultCapelle commented 6 years ago

I get the following while launching signal-desktop v1.14.4 on ubuntu 18.04 :

{"name":"log","hostname":"usera-computer","pid":3211,"level":50,"msg":"Top-level unhandled promise rejection: UnknownError: Internal error opening backing store for indexedDB.open.","time":"2018-07-22T11:43:05.880Z","v":0}

and then I get stuck on "optimizing application". Do you guys experienced the same kind of problems ? And if so, do you know how to deal with it ?

Thank a lot in advance !

scottnonnenberg commented 6 years ago

That looks like a corrupted install. Please reach out to support at support@signal.org. Please provide the history of that install, and the contents of your logs directory (~/.config/Signal/logs) when you send that message.

aleixpol commented 5 years ago

I have the same issue on the flatpak version.

This is the log I'm getting for this run, I don't think I can send the logs because it doesn't look anonymised.

{"name":"log","hostname":"seu","pid":3,"level":30,"msg":"app ready","time":"2018-10-27T23:58:05.978Z","v":0}
{"name":"log","hostname":"seu","pid":3,"level":30,"msg":"updateSchema: Current schema version: 4; Most recent schema version: 4; SQLite version: 3.20.1; SQLCipher version: 3.4.2;","time":"2018-10-27T23:58:05.986Z","v":0}
{"name":"log","hostname":"seu","pid":3,"level":30,"msg":"Ensure attachments directory exists","time":"2018-10-27T23:58:05.987Z","v":0}
{"name":"log","hostname":"seu","pid":3,"level":30,"msg":"Initializing BrowserWindow config: {\"show\":true,\"width\":1858,\"height\":1055,\"minWidth\":640,\"minHeight\":360,\"autoHideMenuBar\":false,\"webPreferences\":{\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"preload\":\"/app/Signal/resources/app.asar/preload.js\",\"nativeWindowOpen\":true},\"icon\":\"/app/Signal/resources/app.asar/images/icon_256.png\",\"maximized\":true,\"x\":0,\"y\":25}","time":"2018-10-27T23:58:05.990Z","v":0}
{"name":"log","hostname":"seu","pid":3,"level":30,"msg":"Detected Linux. Setting up spell check with locale ca_ES and dictionary location /usr/share/hunspell","time":"2018-10-27T23:58:10.903Z","v":0}
{"name":"log","hostname":"seu","pid":3,"level":30,"msg":"pre-main prep time: 1 ms","time":"2018-10-27T23:58:11.070Z","v":0}
{"name":"log","hostname":"seu","pid":3,"level":30,"msg":"Build expires:  2019-01-22T22:47:43.000Z","time":"2018-10-27T23:58:11.098Z","v":0}
{"name":"log","hostname":"seu","pid":3,"level":30,"msg":"background page reloaded","time":"2018-10-27T23:58:11.117Z","v":0}
{"name":"log","hostname":"seu","pid":3,"level":30,"msg":"environment: production","time":"2018-10-27T23:58:11.117Z","v":0}
{"name":"log","hostname":"seu","pid":3,"level":30,"msg":"Start IndexedDB migrations","time":"2018-10-27T23:58:11.118Z","v":0}
{"name":"log","hostname":"seu","pid":3,"level":30,"msg":"Run migrations on database with attachment data","time":"2018-10-27T23:58:11.118Z","v":0}
{"name":"log","hostname":"seu","pid":3,"level":50,"msg":"Top-level unhandled promise rejection: UnknownError: Internal error opening backing store for indexedDB.open.","time":"2018-10-27T23:58:12.130Z","v":0}
santa-klaus commented 5 years ago

I am having the same problem on Linux Mint 19 with version 1.17.3. Should I send in the log via mail or is there a fix for this yet? The error appeared for me a couple of days ago. I usually update and use signal quite regularly.

scottnonnenberg-signal commented 5 years ago

@santa-klaus We need complete debug logs and a lot more information to track this down. Please send your logs to support@signal.org if you're not comfortable providing them here.

santa-klaus commented 5 years ago

Thanks for the quick answer. I can't find the logs - the folder ~/.config/Signal/does not exist and clicking the log button in the app does nothing. Opening in shell produces this, which (at least for the last messages) seems to fit well with the content submitted by @aleixpol :

Set Windows Application User Model ID (AUMID) { appUserModelId: 'org.whispersystems.signal-desktop' }
NODE_ENV production
NODE_CONFIG_DIR /app/Signal/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME undefined
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
userData: /home/paul/.var/app/org.signal.Signal/config/Signal
config/get: Successfully read user config file
config/get: Successfully read ephemeral config file
making app single instance
error parsing log line SyntaxError: Unexpected token  in JSON at position 0
    at JSON.parse (<anonymous>)
    at isLineAfterDate (/app/Signal/resources/app.asar/app/logging.js:128:23)
    at Promise.all.then.results (/app/Signal/resources/app.asar/app/logging.js:149:20)
    at <anonymous> 
error parsing log line SyntaxError: Unexpected token  in JSON at position 0
    at JSON.parse (<anonymous>)
    at isLineAfterDate (/app/Signal/resources/app.asar/app/logging.js:128:23)
    at Promise.all.then.results (/app/Signal/resources/app.asar/app/logging.js:151:15)
    at <anonymous> 
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":3,"level":30,"msg":"app ready","time":"2018-11-27T21:15:44.893Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":3,"level":30,"msg":"updateSchema: Current schema version: 4; Most recent schema version: 4; SQLite version: 3.20.1; SQLCipher version: 3.4.2;","time":"2018-11-27T21:15:44.924Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":3,"level":30,"msg":"Ensure attachments directory exists","time":"2018-11-27T21:15:44.925Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":3,"level":30,"msg":"Initializing BrowserWindow config: {\"show\":true,\"width\":1920,\"height\":998,\"minWidth\":640,\"minHeight\":360,\"autoHideMenuBar\":false,\"webPreferences\":{\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"preload\":\"/app/Signal/resources/app.asar/preload.js\",\"nativeWindowOpen\":true},\"icon\":\"/app/Signal/resources/app.asar/images/icon_256.png\",\"maximized\":false,\"x\":0,\"y\":55}","time":"2018-11-27T21:15:44.927Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":3,"level":30,"msg":"Detected Linux. Setting up spell check with locale de_DE and dictionary location /usr/share/hunspell","time":"2018-11-27T21:15:46.376Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":3,"level":30,"msg":"pre-main prep time: 2 ms","time":"2018-11-27T21:15:46.743Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":3,"level":30,"msg":"Build expires:  2019-01-29T18:08:45.000Z","time":"2018-11-27T21:15:46.788Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":3,"level":30,"msg":"background page reloaded","time":"2018-11-27T21:15:46.825Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":3,"level":30,"msg":"environment: production","time":"2018-11-27T21:15:46.825Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":3,"level":30,"msg":"Start IndexedDB migrations","time":"2018-11-27T21:15:46.826Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":3,"level":30,"msg":"Run migrations on database with attachment data","time":"2018-11-27T21:15:46.826Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":3,"level":50,"msg":"Top-level unhandled promise rejection: UnknownError: Internal error opening backing store for indexedDB.open.","time":"2018-11-27T21:15:47.024Z","v":0}

If you tell me where else I could look for the logs, I will happily look for them.

PS: sorry for the messy format, I don't know what happened and can't figure out how to make it readable...

scottnonnenberg-signal commented 5 years ago

Your install directory is /home/paul/.var/app/org.signal.Signal/config/Signal for some reason, maybe you didn't install via apt? Either way, it looks like you have some malformed JSON in your logs directory. My recommendation would be to rename your /home/paul/.var/app/org.signal.Signal/config/Signal/logs directory and see if it starts up.

santa-klaus commented 5 years ago

Renaming the directory doesn't help. I can't open the log, xed can't recognize the encoding, which sounds weird to me. However, you can find it here: log.log

I installed the flatpak version via the linux mint software center (or command line and apt, I don't remember. However, my apt knows that there is the app, but doesn't recognize it by signal-desktop and I start the app via /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=signal --file-forwarding org.signal.Signal @@u %U @@).

scottnonnenberg-signal commented 5 years ago

Well, we still don't understand why this error is happening "Internal error opening backing store for indexedDB.open" This article seems to indicate that it might have something to do with being out of disk space: https://bugs.chromium.org/p/chromium/issues/detail?id=279106

@santa-klaus Anything else you can provide about your computer and the history of your Signal Desktop instance would be useful.

santa-klaus commented 5 years ago

You can find information about my computer here: http://termbin.com/uvmf (I just won't think about what this data gives away about me... uptime 19 days sounds kind of crazy :rofl: )

I installed Signal on this system some time in August this year I think, but don't remember exactly how. It was either through the linux mint software center or by the manual given on the signal homepage using apt. Nothing crazy or exotic. Since then, it worked fine, although I noted that it took quite some time to load (in general and individual conversations) recently, subjectively getting worse weekly. My ~/.var/app/org.signal.Signal/org.signal.Signal folder contains 385 MB, with 359 MB in ~/.var/app/org.signal.Signal/config/Signal/attachments.noindex. I have no more than 20 contacts.

My home partition is currently kind of low on disk space (~2.5 GB free). It hasn't been like this since long ago, so it might very well correlate with the appearance of this error, though I am not sure about this. To test your suspicion, I freed some disk space and have currently 10 GB free on my home partition. The error persists. Should I clean the cache or something and try again? Is there anything else that could be helpful for you?

aleixpol commented 5 years ago

Is it possible that it's because I'm running wayland? I only have this issue on my wayland system.

scottnonnenberg-signal commented 5 years ago

@santa-klaus The first thing I might try is to rename your /home/paul/.var/app/org.signal.Signal/config/Signal and start from scratch, see if it's a problem with the install, or with your data directory.

santa-klaus commented 5 years ago

After restarting and renaming the profile, the app starts fine and asks me to sync with my phone. When I use the original profile, the same happens. This is the terminal output:

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=signal --file-forwarding org.signal.Signal @@u %U @@
Set Windows Application User Model ID (AUMID) { appUserModelId: 'org.whispersystems.signal-desktop' }
NODE_ENV production
NODE_CONFIG_DIR /app/Signal/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME undefined
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
userData: /home/paul/.var/app/org.signal.Signal/config/Signal
config/get: Successfully read user config file
config/get: Successfully read ephemeral config file
making app single instance
error parsing log line SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at isLineAfterDate (/app/Signal/resources/app.asar/app/logging.js:128:23)
    at Promise.all.then.results (/app/Signal/resources/app.asar/app/logging.js:151:15)
    at <anonymous> {"name":"log","hostname":"paul-ThinkPad-T450s","pid
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"app ready","time":"2018-11-29T20:57:18.849Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"updateSchema: Current schema version: 4; Most recent schema version: 7; SQLite version: 3.20.1; SQLCipher version: 3.4.2;","time":"2018-11-29T20:57:18.905Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"updateToSchemaVersion6: starting...","time":"2018-11-29T20:57:18.906Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"updateToSchemaVersion6: success!","time":"2018-11-29T20:57:19.305Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"updateToSchemaVersion7: starting...","time":"2018-11-29T20:57:19.306Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"updateToSchemaVersion7: success!","time":"2018-11-29T20:57:19.509Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"Ensure attachments directory exists","time":"2018-11-29T20:57:19.510Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"Initializing BrowserWindow config: {\"show\":true,\"width\":1920,\"height\":998,\"minWidth\":640,\"minHeight\":360,\"autoHideMenuBar\":false,\"webPreferences\":{\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"preload\":\"/app/Signal/resources/app.asar/preload.js\",\"nativeWindowOpen\":true},\"icon\":\"/app/Signal/resources/app.asar/images/icon_256.png\",\"maximized\":false,\"x\":0,\"y\":55}","time":"2018-11-29T20:57:19.512Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"Detected Linux. Setting up spell check with locale de_DE and dictionary location /usr/share/hunspell","time":"2018-11-29T20:57:20.684Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"pre-main prep time: 2 ms","time":"2018-11-29T20:57:21.004Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"Build expires:  2019-02-24T23:44:44.000Z","time":"2018-11-29T20:57:21.041Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"background page reloaded","time":"2018-11-29T20:57:21.070Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"environment: production","time":"2018-11-29T20:57:21.070Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"Storage fetch","time":"2018-11-29T20:57:21.390Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 2 (createOrUpdateItem) succeeded in 359ms","time":"2018-11-29T20:57:21.752Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"New version detected: 1.18.1; previous: undefined","time":"2018-11-29T20:57:21.753Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"Cleanup: starting...","time":"2018-11-29T20:57:21.755Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 3 (getOutgoingWithoutExpiresAt) succeeded in 980ms","time":"2018-11-29T20:57:22.734Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"Cleanup: Found 0 messages for cleanup","time":"2018-11-29T20:57:22.734Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"Cleanup: complete","time":"2018-11-29T20:57:22.735Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"removeKnownAttachments: About to iterate through 4925 messages","time":"2018-11-29T20:57:24.544Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"removeKnownAttachments: Done processing 4925 messages","time":"2018-11-29T20:57:24.803Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"removeKnownAttachments: About to iterate through 50 conversations","time":"2018-11-29T20:57:24.803Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"removeKnownAttachments: Done processing 50 conversations","time":"2018-11-29T20:57:24.805Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"deleteAll: deleted 0 files","time":"2018-11-29T20:57:24.806Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"Starting background data migration. Target version: 9","time":"2018-11-29T20:57:24.807Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"ConversationController: starting initial fetch","time":"2018-11-29T20:57:24.808Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 4 (createOrUpdateItem) succeeded in 361ms","time":"2018-11-29T20:57:25.170Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 5 (getAllConversations) succeeded in 363ms","time":"2018-11-29T20:57:25.171Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 6 (getMessagesByConversation) succeeded in 14ms","time":"2018-11-29T20:57:25.225Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 10 (getMessagesByConversation) succeeded in 16ms","time":"2018-11-29T20:57:25.231Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 11 (getMessagesByConversation) succeeded in 17ms","time":"2018-11-29T20:57:25.231Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 12 (getMessagesByConversation) succeeded in 18ms","time":"2018-11-29T20:57:25.232Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 13 (getMessagesByConversation) succeeded in 20ms","time":"2018-11-29T20:57:25.232Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 14 (getMessagesByConversation) succeeded in 21ms","time":"2018-11-29T20:57:25.233Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 15 (getMessagesByConversation) succeeded in 22ms","time":"2018-11-29T20:57:25.233Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 16 (getMessagesByConversation) succeeded in 22ms","time":"2018-11-29T20:57:25.234Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 17 (getMessagesByConversation) succeeded in 23ms","time":"2018-11-29T20:57:25.234Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 18 (getMessagesByConversation) succeeded in 24ms","time":"2018-11-29T20:57:25.235Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 19 (getMessagesByConversation) succeeded in 24ms","time":"2018-11-29T20:57:25.235Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 20 (getMessagesByConversation) succeeded in 25ms","time":"2018-11-29T20:57:25.236Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 21 (getMessagesByConversation) succeeded in 25ms","time":"2018-11-29T20:57:25.236Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 22 (getMessagesByConversation) succeeded in 25ms","time":"2018-11-29T20:57:25.237Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 23 (getMessagesByConversation) succeeded in 26ms","time":"2018-11-29T20:57:25.237Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 24 (getMessagesByConversation) succeeded in 26ms","time":"2018-11-29T20:57:25.237Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 25 (getMessagesByConversation) succeeded in 27ms","time":"2018-11-29T20:57:25.238Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 26 (getMessagesByConversation) succeeded in 27ms","time":"2018-11-29T20:57:25.238Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 27 (getMessagesByConversation) succeeded in 27ms","time":"2018-11-29T20:57:25.238Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 28 (getMessagesByConversation) succeeded in 27ms","time":"2018-11-29T20:57:25.239Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 29 (getMessagesByConversation) succeeded in 27ms","time":"2018-11-29T20:57:25.239Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 30 (getMessagesByConversation) succeeded in 27ms","time":"2018-11-29T20:57:25.239Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 31 (getMessagesByConversation) succeeded in 27ms","time":"2018-11-29T20:57:25.241Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 32 (getMessagesByConversation) succeeded in 27ms","time":"2018-11-29T20:57:25.241Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 33 (getMessagesByConversation) succeeded in 28ms","time":"2018-11-29T20:57:25.241Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 34 (getMessagesByConversation) succeeded in 28ms","time":"2018-11-29T20:57:25.241Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 35 (getMessagesByConversation) succeeded in 28ms","time":"2018-11-29T20:57:25.242Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 36 (getMessagesByConversation) succeeded in 29ms","time":"2018-11-29T20:57:25.242Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 37 (getMessagesByConversation) succeeded in 29ms","time":"2018-11-29T20:57:25.242Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 38 (getMessagesByConversation) succeeded in 29ms","time":"2018-11-29T20:57:25.242Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 7 (getMessagesByConversation) succeeded in 30ms","time":"2018-11-29T20:57:25.242Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 9 (getMessagesByConversation) succeeded in 31ms","time":"2018-11-29T20:57:25.243Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 8 (getMessagesByConversation) succeeded in 31ms","time":"2018-11-29T20:57:25.243Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 39 (getMessagesByConversation) succeeded in 30ms","time":"2018-11-29T20:57:25.245Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 40 (getMessagesByConversation) succeeded in 31ms","time":"2018-11-29T20:57:25.246Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 44 (getMessagesByConversation) succeeded in 31ms","time":"2018-11-29T20:57:25.246Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 45 (getMessagesByConversation) succeeded in 31ms","time":"2018-11-29T20:57:25.247Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 46 (getMessagesByConversation) succeeded in 31ms","time":"2018-11-29T20:57:25.247Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 47 (getMessagesByConversation) succeeded in 31ms","time":"2018-11-29T20:57:25.248Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 48 (getMessagesByConversation) succeeded in 32ms","time":"2018-11-29T20:57:25.248Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 42 (getMessagesByConversation) succeeded in 33ms","time":"2018-11-29T20:57:25.248Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 43 (getMessagesByConversation) succeeded in 34ms","time":"2018-11-29T20:57:25.249Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 41 (getMessagesByConversation) succeeded in 35ms","time":"2018-11-29T20:57:25.249Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 49 (getMessagesByConversation) succeeded in 34ms","time":"2018-11-29T20:57:25.249Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 50 (getMessagesByConversation) succeeded in 34ms","time":"2018-11-29T20:57:25.250Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 52 (getMessagesByConversation) succeeded in 35ms","time":"2018-11-29T20:57:25.250Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 53 (getMessagesByConversation) succeeded in 35ms","time":"2018-11-29T20:57:25.250Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 54 (getMessagesByConversation) succeeded in 35ms","time":"2018-11-29T20:57:25.251Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 55 (getMessagesByConversation) succeeded in 34ms","time":"2018-11-29T20:57:25.251Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 51 (getMessagesByConversation) succeeded in 36ms","time":"2018-11-29T20:57:25.251Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"ConversationController: done with initial fetch","time":"2018-11-29T20:57:25.251Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"listening for registration events","time":"2018-11-29T20:57:25.251Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"opening provisioning socket https://textsecure-service.whispersystems.org","time":"2018-11-29T20:57:25.486Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 56 (getNextExpiringMessage) succeeded in 275ms","time":"2018-11-29T20:57:25.531Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"provisioning socket open","time":"2018-11-29T20:57:26.371Z","v":0}
{"name":"log","hostname":"paul-ThinkPad-T450s","pid":2,"level":30,"msg":"SQL channel job 57 (createOrUpdateItem) succeeded in 259ms","time":"2018-11-29T20:57:26.471Z","v":0}

Does this mean the data is lost?

PS: During the reboot my system run some filesystem scan (wasn't paying attention to it). After that, my thunderbird profile was corrupt and my 10 GB of free diskspace became more than 80 GB. So maybe this is a problem with ext4 more than anything else?

scottnonnenberg-signal commented 5 years ago

@santa-klaus Yep, likely the data is lost. But you could try something crazy - shut down Signal Desktop, then copy config.json and the sql directory from the old install into the new install directory, and see what happens when you try to start up again.

santa-klaus commented 5 years ago

I didn't do a new install... and wasn't smart enough to backup the original profile folder before trying it out. The config.json wasn't changed, but the db.sqlite was. I think I am okay with the result, however if you got any insight into what might have caused it and how I can prevent it I would be really happy if you could share it.

Also, I noted that I can access the pictures sent to me (or all attachments?) in the attachments.noindex folder. I thought they would be encrypted as well? Are the messages stored in plaintext or encrypted on my harddisk? And how is it on the phone?

scottnonnenberg-signal commented 5 years ago

@santa-klaus I don't really know what could have caused it. Do you have file corruption, generally? Do you have applications changing files out from under Signal Desktop? Does your computer ever crash or get turned off without shutting down normally? All of those things could cause it, I suppose.

For questions, I'd recommend you head to the forums: https://whispersystems.discoursehosting.net/

santa-klaus commented 5 years ago

I think I would answer all these questions with 'no', although I can't rule out file corruption in the last days.

Thank you for your fast and committed help!