Saving logs to desktop.

pull/2001/head
Warrick Corfe-Tan 3 years ago
parent 151d4884f8
commit 8180200b3a

@ -140,6 +140,7 @@
"copySessionID": "Copy Session ID",
"copyOpenGroupURL": "Copy Group's URL",
"save": "Save",
"saveLogToDesktop": "Save log to desktop",
"saved": "Saved",
"permissions": "Permissions",
"general": "General",

@ -1,8 +1,10 @@
/* global window */
const { ipcRenderer } = require('electron');
const { ipcRenderer, remote } = require('electron');
const url = require('url');
const i18n = require('./js/modules/i18n');
const fs = require('fs');
const path = require('path');
const config = url.parse(window.location.toString(), true).query;
const { locale } = config;
@ -28,3 +30,5 @@ window.getOSRelease = () => `${os.type()} ${os.release} ${os.platform()}`;
window.getCommitHash = () => config.commitHash;
window.closeDebugLog = () => ipcRenderer.send('close-debug-log');
window.saveLog = logText => ipcRenderer.send('save-debug-log', logText);

@ -44,7 +44,7 @@
render_attributes: {
title: i18n('submitDebugLog'),
cancel: i18n('cancel'),
submit: i18n('submit'),
submit: i18n('saveLogToDesktop'),
close: i18n('gotIt'),
debugLogExplanation: i18n('debugLogExplanation'),
},
@ -58,25 +58,26 @@
return;
}
this.$('.buttons, textarea').remove();
this.$('.result').addClass('loading');
// this.$('.buttons, textarea').remove();
// this.$('.result').addClass('loading');
try {
const publishedLogURL = await window.log.publish(text);
const view = new Whisper.DebugLogLinkView({
url: publishedLogURL,
el: this.$('.result'),
});
this.$('.loading').removeClass('loading');
view.render();
this.$('.link')
.focus()
.select();
} catch (error) {
window.log.error('DebugLogView error:', error && error.stack ? error.stack : error);
this.$('.loading').removeClass('loading');
this.$('.result').text(i18n('debugLogError'));
}
// try {
// const publishedLogURL = await window.log.publish(text);
// const view = new Whisper.DebugLogLinkView({
// url: publishedLogURL,
// el: this.$('.result'),
// });
// this.$('.loading').removeClass('loading');
// view.render();
// this.$('.link')
// .focus()
// .select();
// } catch (error) {
// window.log.error('DebugLogView error:', error && error.stack ? error.stack : error);
// this.$('.loading').removeClass('loading');
// this.$('.result').text(i18n('debugLogError'));
// }
window.saveLog(text);
},
});
})();

@ -946,6 +946,17 @@ ipc.on('close-debug-log', () => {
debugLogWindow.close();
}
});
ipc.on('save-debug-log', (event, logText) => {
console.log(logText);
const outputPath = path.join(app.getPath('desktop'), `session_debug_${new Date()}.log`);
fs.writeFile(outputPath, logText, err => {
if (err) {
console.error('Error saving debug log');
}
console.warn('Successfully saved log');
});
});
// This should be called with an ipc sendSync
ipc.on('get-media-permissions', event => {

@ -0,0 +1,353 @@
Operating System: Linux 5.11.0-38-generic linuxMozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Session/1.7.4 Chrome/91.0.4472.164 Electron/13.1.9 Safari/537.36 node/14.16.0 env/production
INFO 2021-10-29T00:22:33.660Z app ready
INFO 2021-10-29T00:22:33.661Z starting version 1.7.4
INFO 2021-10-29T00:22:33.672Z updateSchema:
INFO 2021-10-29T00:22:33.674Z Current user_version: 11
INFO 2021-10-29T00:22:33.675Z Most recent db schema: 11
INFO 2021-10-29T00:22:33.675Z SQLite version: 3.34.1
INFO 2021-10-29T00:22:33.675Z SQLCipher version: 4.4.3 community
INFO 2021-10-29T00:22:33.675Z (deprecated) schema_version: 140
INFO 2021-10-29T00:22:33.676Z updateLokiSchema: Current loki schema version: 17; Most recent schema version: 16;
WARN 2021-10-29T00:22:33.682Z Vacuuming DB. This might take a while.
WARN 2021-10-29T00:22:33.723Z Vacuuming DB Finished
INFO 2021-10-29T00:22:33.723Z %s: %s vaccumming db 41.218ms
WARN 2021-10-29T00:22:33.726Z total message count: 62
INFO 2021-10-29T00:22:33.728Z Ensure attachments directory exists
INFO 2021-10-29T00:22:33.732Z Initializing BrowserWindow config: {"show":true,"width":2032,"height":1606,"minWidth":880,"minHeight":600,"autoHideMenuBar":true,"backgroundColor":"#fff","webPreferences":{"nodeIntegration":false,"enableRemoteModule":true,"nodeIntegrationInWorker":false,"contextIsolation":false,"preload":"[REDACTED]/session-desktop/preload.js","nativeWindowOpen":true,"spellcheck":true},"maximized":false,"x":729,"y":258}
INFO 2021-10-29T00:22:33.756Z spellcheck: user locale: en-AU
INFO 2021-10-29T00:22:33.756Z spellcheck: available spellchecker languages: ["af","bg","ca","cs","cy","da","de","de-DE","el","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"]
INFO 2021-10-29T00:22:33.756Z spellcheck: setting languages to: ["en-AU"]
INFO 2021-10-29T00:22:33.786Z updater/start: Updates disabled - not starting new version checks
INFO 2021-10-29T00:22:34.290Z Updating BrowserWindow config: {"maximized":false,"autoHideMenuBar":true,"width":2032,"height":1606,"x":729,"y":295}
INFO 2021-10-29T00:22:34.291Z config/set: Saving ephemeral config to disk
INFO 2021-10-29T00:22:35.545Z pre-main prep time: 3 ms
INFO 2021-10-29T00:22:35.560Z background page reloaded
INFO 2021-10-29T00:22:35.561Z environment: production
INFO 2021-10-29T00:22:35.562Z Storage fetch
INFO 2021-10-29T00:22:35.644Z ConversationController: starting initial fetch
INFO 2021-10-29T00:22:35.665Z ConversationController: done with initial fetch
INFO 2021-10-29T00:22:35.668Z Cleanup: starting...
INFO 2021-10-29T00:22:35.672Z Cleanup: Found 0 messages for cleanup
INFO 2021-10-29T00:22:35.676Z Cleanup: complete
INFO 2021-10-29T00:22:35.676Z listening for registration events
INFO 2021-10-29T00:22:35.679Z connect
INFO 2021-10-29T00:22:35.679Z getAllFromCache
INFO 2021-10-29T00:22:35.864Z getOnionPath: Must have at least 2 good onion paths, actual: 0, attempt #0
INFO 2021-10-29T00:22:35.866Z LokiSnodeAPI::buildNewOnionPaths - building new onion paths...
INFO 2021-10-29T00:22:35.923Z getAllFromCache loaded 0 saved envelopes
INFO 2021-10-29T00:22:35.939Z getOnionPath: Must have at least 2 good onion paths, actual: 0, attempt #0
INFO 2021-10-29T00:22:35.946Z LokiSnodeAPI::buildNewOnionPaths, snodePool length: 1776
INFO 2021-10-29T00:22:35.954Z Building 3 onion paths based on guard nodes length: 3, other nodes length 1773
INFO 2021-10-29T00:22:35.956Z Built 3 onion paths
INFO 2021-10-29T00:22:38.001Z updating default rooms [{"id":"session","name":"Session","completeUrl":"[REDACTED]"},{"id":"oxen","name":"Oxen","completeUrl":"[REDACTED]"},{"id":"lokinet","name":"Lokinet","completeUrl":"[REDACTED]"},{"id":"crypto","name":"Crypto","completeUrl":"[REDACTED]"}]
INFO 2021-10-29T00:22:45.909Z No more opengroupv1 messages to remove...
INFO 2021-10-29T00:27:35.778Z forceRefreshRandomSnodePool: enough snodes to fetch from them, so we try using them 1776
INFO 2021-10-29T00:27:43.737Z Got consensus: updating snode list with snode pool length: 1776
INFO 2021-10-29T00:49:14.316Z app ready
INFO 2021-10-29T00:49:14.316Z starting version 1.7.4
INFO 2021-10-29T00:49:14.331Z updateSchema:
INFO 2021-10-29T00:49:14.332Z Current user_version: 11
INFO 2021-10-29T00:49:14.332Z Most recent db schema: 11
INFO 2021-10-29T00:49:14.332Z SQLite version: 3.34.1
INFO 2021-10-29T00:49:14.332Z SQLCipher version: 4.4.3 community
INFO 2021-10-29T00:49:14.332Z (deprecated) schema_version: 141
INFO 2021-10-29T00:49:14.333Z updateLokiSchema: Current loki schema version: 17; Most recent schema version: 16;
WARN 2021-10-29T00:49:14.338Z Vacuuming DB. This might take a while.
WARN 2021-10-29T00:49:14.372Z Vacuuming DB Finished
INFO 2021-10-29T00:49:14.373Z %s: %s vaccumming db 34.432ms
WARN 2021-10-29T00:49:14.377Z total message count: 62
INFO 2021-10-29T00:49:14.378Z Ensure attachments directory exists
INFO 2021-10-29T00:49:14.380Z Initializing BrowserWindow config: {"show":true,"width":2032,"height":1606,"minWidth":880,"minHeight":600,"autoHideMenuBar":true,"backgroundColor":"#fff","webPreferences":{"nodeIntegration":false,"enableRemoteModule":true,"nodeIntegrationInWorker":false,"contextIsolation":false,"preload":"[REDACTED]/session-desktop/preload.js","nativeWindowOpen":true,"spellcheck":true},"maximized":false,"x":729,"y":295}
INFO 2021-10-29T00:49:14.401Z spellcheck: user locale: en-AU
INFO 2021-10-29T00:49:14.401Z spellcheck: available spellchecker languages: ["af","bg","ca","cs","cy","da","de","de-DE","el","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"]
INFO 2021-10-29T00:49:14.401Z spellcheck: setting languages to: ["en-AU"]
INFO 2021-10-29T00:49:14.435Z updater/start: Updates disabled - not starting new version checks
INFO 2021-10-29T00:49:14.942Z Updating BrowserWindow config: {"maximized":false,"autoHideMenuBar":true,"width":2032,"height":1606,"x":729,"y":332}
INFO 2021-10-29T00:49:14.943Z config/set: Saving ephemeral config to disk
INFO 2021-10-29T00:49:16.092Z pre-main prep time: 2 ms
INFO 2021-10-29T00:49:16.111Z background page reloaded
INFO 2021-10-29T00:49:16.113Z environment: production
INFO 2021-10-29T00:49:16.113Z Storage fetch
INFO 2021-10-29T00:49:16.172Z ConversationController: starting initial fetch
INFO 2021-10-29T00:49:16.208Z ConversationController: done with initial fetch
INFO 2021-10-29T00:49:16.213Z Cleanup: starting...
INFO 2021-10-29T00:49:16.217Z Cleanup: Found 0 messages for cleanup
INFO 2021-10-29T00:49:16.219Z Cleanup: complete
INFO 2021-10-29T00:49:16.219Z listening for registration events
INFO 2021-10-29T00:49:16.222Z connect
INFO 2021-10-29T00:49:16.225Z getAllFromCache
INFO 2021-10-29T00:49:16.373Z getOnionPath: Must have at least 2 good onion paths, actual: 0, attempt #0
INFO 2021-10-29T00:49:16.374Z LokiSnodeAPI::buildNewOnionPaths - building new onion paths...
INFO 2021-10-29T00:49:16.431Z getAllFromCache loaded 0 saved envelopes
INFO 2021-10-29T00:49:16.453Z getOnionPath: Must have at least 2 good onion paths, actual: 0, attempt #0
INFO 2021-10-29T00:49:16.454Z LokiSnodeAPI::buildNewOnionPaths, snodePool length: 1776
INFO 2021-10-29T00:49:16.461Z Building 3 onion paths based on guard nodes length: 3, other nodes length 1773
INFO 2021-10-29T00:49:16.462Z Built 3 onion paths
INFO 2021-10-29T00:49:18.206Z updating default rooms [{"id":"session","name":"Session","completeUrl":"[REDACTED]"},{"id":"oxen","name":"Oxen","completeUrl":"[REDACTED]"},{"id":"lokinet","name":"Lokinet","completeUrl":"[REDACTED]"},{"id":"crypto","name":"Crypto","completeUrl":"[REDACTED]"}]
INFO 2021-10-29T00:49:26.416Z No more opengroupv1 messages to remove...
INFO 2021-10-29T00:54:16.321Z forceRefreshRandomSnodePool: enough snodes to fetch from them, so we try using them 1776
INFO 2021-10-29T00:54:24.171Z Got consensus: updating snode list with snode pool length: 1776
INFO 2021-10-29T01:09:55.641Z Updating BrowserWindow config: {"maximized":false,"autoHideMenuBar":true,"width":1848,"height":1016,"x":72,"y":64}
INFO 2021-10-29T01:09:55.641Z config/set: Saving ephemeral config to disk
INFO 2021-10-29T01:10:03.329Z offline
INFO 2021-10-29T01:10:04.330Z disconnect
ERROR 2021-10-29T01:10:07.171Z pollForAllKeys: offline
ERROR 2021-10-29T02:09:37.033Z pollForAllKeys: offline
INFO 2021-10-29T02:09:37.625Z online
INFO 2021-10-29T02:09:37.627Z connect
INFO 2021-10-29T02:09:37.632Z getAllFromCache
INFO 2021-10-29T02:09:37.642Z getAllFromCache loaded 0 saved envelopes
INFO 2021-10-29T02:09:54.476Z Updating BrowserWindow config: {"maximized":false,"autoHideMenuBar":true,"width":2032,"height":1606,"x":728,"y":331}
INFO 2021-10-29T02:09:54.477Z config/set: Saving ephemeral config to disk
INFO 2021-10-29T02:22:43.979Z app ready
INFO 2021-10-29T02:22:43.979Z starting version 1.7.4
INFO 2021-10-29T02:22:43.999Z updateSchema:
INFO 2021-10-29T02:22:43.999Z Current user_version: 11
INFO 2021-10-29T02:22:43.999Z Most recent db schema: 11
INFO 2021-10-29T02:22:44.000Z SQLite version: 3.34.1
INFO 2021-10-29T02:22:44.000Z SQLCipher version: 4.4.3 community
INFO 2021-10-29T02:22:44.000Z (deprecated) schema_version: 142
INFO 2021-10-29T02:22:44.001Z updateLokiSchema: Current loki schema version: 17; Most recent schema version: 16;
WARN 2021-10-29T02:22:44.008Z Vacuuming DB. This might take a while.
WARN 2021-10-29T02:22:44.037Z Vacuuming DB Finished
INFO 2021-10-29T02:22:44.038Z %s: %s vaccumming db 29.952ms
WARN 2021-10-29T02:22:44.041Z total message count: 62
INFO 2021-10-29T02:22:44.042Z Ensure attachments directory exists
INFO 2021-10-29T02:22:44.047Z Initializing BrowserWindow config: {"show":true,"width":2032,"height":1606,"minWidth":880,"minHeight":600,"autoHideMenuBar":true,"backgroundColor":"#fff","webPreferences":{"nodeIntegration":false,"enableRemoteModule":true,"nodeIntegrationInWorker":false,"contextIsolation":false,"preload":"[REDACTED]/session-desktop/preload.js","nativeWindowOpen":true,"spellcheck":true},"maximized":false,"x":728,"y":331}
INFO 2021-10-29T02:22:44.074Z spellcheck: user locale: en-AU
INFO 2021-10-29T02:22:44.075Z spellcheck: available spellchecker languages: ["af","bg","ca","cs","cy","da","de","de-DE","el","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"]
INFO 2021-10-29T02:22:44.075Z spellcheck: setting languages to: ["en-AU"]
INFO 2021-10-29T02:22:44.101Z updater/start: Updates disabled - not starting new version checks
INFO 2021-10-29T02:22:44.605Z Updating BrowserWindow config: {"maximized":false,"autoHideMenuBar":true,"width":2032,"height":1606,"x":728,"y":368}
INFO 2021-10-29T02:22:44.605Z config/set: Saving ephemeral config to disk
INFO 2021-10-29T02:22:46.016Z pre-main prep time: 1 ms
INFO 2021-10-29T02:22:46.035Z background page reloaded
INFO 2021-10-29T02:22:46.038Z environment: production
INFO 2021-10-29T02:22:46.038Z Storage fetch
INFO 2021-10-29T02:22:46.130Z ConversationController: starting initial fetch
INFO 2021-10-29T02:22:46.171Z ConversationController: done with initial fetch
INFO 2021-10-29T02:22:46.178Z Cleanup: starting...
INFO 2021-10-29T02:22:46.184Z Cleanup: Found 0 messages for cleanup
INFO 2021-10-29T02:22:46.187Z Cleanup: complete
INFO 2021-10-29T02:22:46.188Z listening for registration events
INFO 2021-10-29T02:22:46.191Z connect
INFO 2021-10-29T02:22:46.191Z getAllFromCache
INFO 2021-10-29T02:22:46.329Z getOnionPath: Must have at least 2 good onion paths, actual: 0, attempt #0
INFO 2021-10-29T02:22:46.330Z LokiSnodeAPI::buildNewOnionPaths - building new onion paths...
INFO 2021-10-29T02:22:46.390Z getAllFromCache loaded 0 saved envelopes
INFO 2021-10-29T02:22:46.411Z getOnionPath: Must have at least 2 good onion paths, actual: 0, attempt #0
INFO 2021-10-29T02:22:46.413Z LokiSnodeAPI::buildNewOnionPaths, snodePool length: 1776
INFO 2021-10-29T02:22:46.423Z Building 3 onion paths based on guard nodes length: 3, other nodes length 1773
INFO 2021-10-29T02:22:46.426Z Built 3 onion paths
INFO 2021-10-29T02:22:49.809Z updating default rooms [{"id":"session","name":"Session","completeUrl":"[REDACTED]"},{"id":"oxen","name":"Oxen","completeUrl":"[REDACTED]"},{"id":"lokinet","name":"Lokinet","completeUrl":"[REDACTED]"},{"id":"crypto","name":"Crypto","completeUrl":"[REDACTED]"}]
INFO 2021-10-29T02:22:56.375Z No more opengroupv1 messages to remove...
INFO 2021-10-29T02:23:33.150Z Updating BrowserWindow config: {"maximized":false,"autoHideMenuBar":true,"width":2032,"height":1606,"x":980,"y":167}
INFO 2021-10-29T02:23:33.150Z config/set: Saving ephemeral config to disk
ERROR 2021-10-29T02:24:28.904Z Top-level unhandled promise rejection: ReferenceError: fs is not defined
at child.submit (file://[REDACTED]/session-desktop/js/views/debug_log_view.js:81:7)
at executeBound (file://[REDACTED]/session-desktop/js/components.js:11850:67)
at HTMLButtonElement.<anonymous> (file://[REDACTED]/session-desktop/js/components.js:11863:14)
at HTMLButtonElement.<anonymous> (file://[REDACTED]/session-desktop/js/components.js:11214:29)
at HTMLDivElement.dispatch (file://[REDACTED]/session-desktop/js/components.js:5183:27)
at HTMLDivElement.elemData.handle (file://[REDACTED]/session-desktop/js/components.js:4991:28)
INFO 2021-10-29T02:24:35.426Z Updating BrowserWindow config: {"maximized":false,"autoHideMenuBar":true,"width":2032,"height":1606,"x":870,"y":217}
INFO 2021-10-29T02:24:35.427Z config/set: Saving ephemeral config to disk
ERROR 2021-10-29T02:24:36.645Z Top-level unhandled promise rejection: ReferenceError: fs is not defined
at child.submit (file://[REDACTED]/session-desktop/js/views/debug_log_view.js:81:7)
at executeBound (file://[REDACTED]/session-desktop/js/components.js:11850:67)
at HTMLButtonElement.<anonymous> (file://[REDACTED]/session-desktop/js/components.js:11863:14)
at HTMLButtonElement.<anonymous> (file://[REDACTED]/session-desktop/js/components.js:11214:29)
at HTMLDivElement.dispatch (file://[REDACTED]/session-desktop/js/components.js:5183:27)
at HTMLDivElement.elemData.handle (file://[REDACTED]/session-desktop/js/components.js:4991:28)
INFO 2021-10-29T02:26:01.136Z app ready
INFO 2021-10-29T02:26:01.137Z starting version 1.7.4
INFO 2021-10-29T02:26:01.150Z updateSchema:
INFO 2021-10-29T02:26:01.150Z Current user_version: 11
INFO 2021-10-29T02:26:01.150Z Most recent db schema: 11
INFO 2021-10-29T02:26:01.150Z SQLite version: 3.34.1
INFO 2021-10-29T02:26:01.150Z SQLCipher version: 4.4.3 community
INFO 2021-10-29T02:26:01.150Z (deprecated) schema_version: 143
INFO 2021-10-29T02:26:01.152Z updateLokiSchema: Current loki schema version: 17; Most recent schema version: 16;
WARN 2021-10-29T02:26:01.157Z Vacuuming DB. This might take a while.
WARN 2021-10-29T02:26:01.190Z Vacuuming DB Finished
INFO 2021-10-29T02:26:01.191Z %s: %s vaccumming db 34.048ms
WARN 2021-10-29T02:26:01.195Z total message count: 62
INFO 2021-10-29T02:26:01.196Z Ensure attachments directory exists
INFO 2021-10-29T02:26:01.199Z Initializing BrowserWindow config: {"show":true,"width":2032,"height":1606,"minWidth":880,"minHeight":600,"autoHideMenuBar":true,"backgroundColor":"#fff","webPreferences":{"nodeIntegration":false,"enableRemoteModule":true,"nodeIntegrationInWorker":false,"contextIsolation":false,"preload":"[REDACTED]/session-desktop/preload.js","nativeWindowOpen":true,"spellcheck":true},"maximized":false,"x":870,"y":217}
INFO 2021-10-29T02:26:01.218Z spellcheck: user locale: en-AU
INFO 2021-10-29T02:26:01.218Z spellcheck: available spellchecker languages: ["af","bg","ca","cs","cy","da","de","de-DE","el","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"]
INFO 2021-10-29T02:26:01.218Z spellcheck: setting languages to: ["en-AU"]
INFO 2021-10-29T02:26:01.250Z updater/start: Updates disabled - not starting new version checks
INFO 2021-10-29T02:26:01.813Z Updating BrowserWindow config: {"maximized":false,"autoHideMenuBar":true,"width":2032,"height":1606,"x":870,"y":254}
INFO 2021-10-29T02:26:01.814Z config/set: Saving ephemeral config to disk
INFO 2021-10-29T02:26:03.104Z pre-main prep time: 2 ms
INFO 2021-10-29T02:26:03.118Z background page reloaded
INFO 2021-10-29T02:26:03.120Z environment: production
INFO 2021-10-29T02:26:03.120Z Storage fetch
INFO 2021-10-29T02:26:03.207Z ConversationController: starting initial fetch
INFO 2021-10-29T02:26:03.241Z ConversationController: done with initial fetch
INFO 2021-10-29T02:26:03.242Z Cleanup: starting...
INFO 2021-10-29T02:26:03.244Z Cleanup: Found 0 messages for cleanup
INFO 2021-10-29T02:26:03.246Z Cleanup: complete
INFO 2021-10-29T02:26:03.246Z listening for registration events
INFO 2021-10-29T02:26:03.248Z connect
INFO 2021-10-29T02:26:03.249Z getAllFromCache
INFO 2021-10-29T02:26:03.411Z getOnionPath: Must have at least 2 good onion paths, actual: 0, attempt #0
INFO 2021-10-29T02:26:03.411Z LokiSnodeAPI::buildNewOnionPaths - building new onion paths...
INFO 2021-10-29T02:26:03.473Z getAllFromCache loaded 0 saved envelopes
INFO 2021-10-29T02:26:03.496Z getOnionPath: Must have at least 2 good onion paths, actual: 0, attempt #0
INFO 2021-10-29T02:26:03.498Z LokiSnodeAPI::buildNewOnionPaths, snodePool length: 1776
INFO 2021-10-29T02:26:03.505Z Building 3 onion paths based on guard nodes length: 3, other nodes length 1773
INFO 2021-10-29T02:26:03.506Z Built 3 onion paths
INFO 2021-10-29T02:26:06.405Z updating default rooms [{"id":"session","name":"Session","completeUrl":"[REDACTED]"},{"id":"oxen","name":"Oxen","completeUrl":"[REDACTED]"},{"id":"lokinet","name":"Lokinet","completeUrl":"[REDACTED]"},{"id":"crypto","name":"Crypto","completeUrl":"[REDACTED]"}]
ERROR 2021-10-29T02:26:10.005Z Top-level unhandled promise rejection: ReferenceError: fs is not defined
at child.submit (file://[REDACTED]/session-desktop/js/views/debug_log_view.js:81:7)
at executeBound (file://[REDACTED]/session-desktop/js/components.js:11850:67)
at HTMLButtonElement.<anonymous> (file://[REDACTED]/session-desktop/js/components.js:11863:14)
at HTMLButtonElement.<anonymous> (file://[REDACTED]/session-desktop/js/components.js:11214:29)
at HTMLDivElement.dispatch (file://[REDACTED]/session-desktop/js/components.js:5183:27)
at HTMLDivElement.elemData.handle (file://[REDACTED]/session-desktop/js/components.js:4991:28)
INFO 2021-10-29T02:26:13.456Z No more opengroupv1 messages to remove...
INFO 2021-10-29T02:26:34.132Z app ready
INFO 2021-10-29T02:26:34.132Z starting version 1.7.4
INFO 2021-10-29T02:26:34.141Z updateSchema:
INFO 2021-10-29T02:26:34.142Z Current user_version: 11
INFO 2021-10-29T02:26:34.142Z Most recent db schema: 11
INFO 2021-10-29T02:26:34.142Z SQLite version: 3.34.1
INFO 2021-10-29T02:26:34.142Z SQLCipher version: 4.4.3 community
INFO 2021-10-29T02:26:34.142Z (deprecated) schema_version: 144
INFO 2021-10-29T02:26:34.143Z updateLokiSchema: Current loki schema version: 17; Most recent schema version: 16;
WARN 2021-10-29T02:26:34.148Z Vacuuming DB. This might take a while.
WARN 2021-10-29T02:26:34.180Z Vacuuming DB Finished
INFO 2021-10-29T02:26:34.180Z %s: %s vaccumming db 31.934ms
WARN 2021-10-29T02:26:34.184Z total message count: 62
INFO 2021-10-29T02:26:34.185Z Ensure attachments directory exists
INFO 2021-10-29T02:26:34.189Z Initializing BrowserWindow config: {"show":true,"width":2032,"height":1606,"minWidth":880,"minHeight":600,"autoHideMenuBar":true,"backgroundColor":"#fff","webPreferences":{"nodeIntegration":false,"enableRemoteModule":true,"nodeIntegrationInWorker":false,"contextIsolation":false,"preload":"[REDACTED]/session-desktop/preload.js","nativeWindowOpen":true,"spellcheck":true},"maximized":false,"x":870,"y":254}
INFO 2021-10-29T02:26:34.210Z spellcheck: user locale: en-AU
INFO 2021-10-29T02:26:34.210Z spellcheck: available spellchecker languages: ["af","bg","ca","cs","cy","da","de","de-DE","el","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"]
INFO 2021-10-29T02:26:34.210Z spellcheck: setting languages to: ["en-AU"]
INFO 2021-10-29T02:26:34.236Z updater/start: Updates disabled - not starting new version checks
INFO 2021-10-29T02:26:34.801Z Updating BrowserWindow config: {"maximized":false,"autoHideMenuBar":true,"width":2032,"height":1606,"x":870,"y":291}
INFO 2021-10-29T02:26:34.802Z config/set: Saving ephemeral config to disk
INFO 2021-10-29T02:26:36.040Z pre-main prep time: 2 ms
INFO 2021-10-29T02:26:36.058Z background page reloaded
INFO 2021-10-29T02:26:36.060Z environment: production
INFO 2021-10-29T02:26:36.061Z Storage fetch
INFO 2021-10-29T02:26:36.157Z ConversationController: starting initial fetch
INFO 2021-10-29T02:26:36.190Z ConversationController: done with initial fetch
INFO 2021-10-29T02:26:36.192Z Cleanup: starting...
INFO 2021-10-29T02:26:36.194Z Cleanup: Found 0 messages for cleanup
INFO 2021-10-29T02:26:36.194Z Cleanup: complete
INFO 2021-10-29T02:26:36.194Z listening for registration events
INFO 2021-10-29T02:26:36.198Z connect
INFO 2021-10-29T02:26:36.198Z getAllFromCache
INFO 2021-10-29T02:26:36.362Z getOnionPath: Must have at least 2 good onion paths, actual: 0, attempt #0
INFO 2021-10-29T02:26:36.363Z LokiSnodeAPI::buildNewOnionPaths - building new onion paths...
INFO 2021-10-29T02:26:36.431Z getAllFromCache loaded 0 saved envelopes
INFO 2021-10-29T02:26:36.443Z getOnionPath: Must have at least 2 good onion paths, actual: 0, attempt #0
INFO 2021-10-29T02:26:36.451Z LokiSnodeAPI::buildNewOnionPaths, snodePool length: 1776
INFO 2021-10-29T02:26:36.459Z Building 3 onion paths based on guard nodes length: 3, other nodes length 1773
INFO 2021-10-29T02:26:36.461Z Built 3 onion paths
INFO 2021-10-29T02:26:38.700Z updating default rooms [{"id":"session","name":"Session","completeUrl":"[REDACTED]"},{"id":"oxen","name":"Oxen","completeUrl":"[REDACTED]"},{"id":"lokinet","name":"Lokinet","completeUrl":"[REDACTED]"},{"id":"crypto","name":"Crypto","completeUrl":"[REDACTED]"}]
INFO 2021-10-29T02:26:46.418Z No more opengroupv1 messages to remove...
ERROR 2021-10-29T02:26:50.058Z Top-level unhandled promise rejection: TypeError: Cannot read property 'writeFile' of undefined
at child.submit (file://[REDACTED]/session-desktop/js/views/debug_log_view.js:81:17)
at executeBound (file://[REDACTED]/session-desktop/js/components.js:11850:67)
at HTMLButtonElement.<anonymous> (file://[REDACTED]/session-desktop/js/components.js:11863:14)
at HTMLButtonElement.<anonymous> (file://[REDACTED]/session-desktop/js/components.js:11214:29)
at HTMLDivElement.dispatch (file://[REDACTED]/session-desktop/js/components.js:5183:27)
at HTMLDivElement.elemData.handle (file://[REDACTED]/session-desktop/js/components.js:4991:28)
INFO 2021-10-29T02:28:50.802Z app ready
INFO 2021-10-29T02:28:50.803Z starting version 1.7.4
INFO 2021-10-29T02:28:50.818Z updateSchema:
INFO 2021-10-29T02:28:50.819Z Current user_version: 11
INFO 2021-10-29T02:28:50.820Z Most recent db schema: 11
INFO 2021-10-29T02:28:50.820Z SQLite version: 3.34.1
INFO 2021-10-29T02:28:50.820Z SQLCipher version: 4.4.3 community
INFO 2021-10-29T02:28:50.820Z (deprecated) schema_version: 145
INFO 2021-10-29T02:28:50.822Z updateLokiSchema: Current loki schema version: 17; Most recent schema version: 16;
WARN 2021-10-29T02:28:50.829Z Vacuuming DB. This might take a while.
WARN 2021-10-29T02:28:50.851Z Vacuuming DB Finished
INFO 2021-10-29T02:28:50.852Z %s: %s vaccumming db 22.815ms
WARN 2021-10-29T02:28:50.853Z total message count: 62
INFO 2021-10-29T02:28:50.854Z Ensure attachments directory exists
INFO 2021-10-29T02:28:50.858Z Initializing BrowserWindow config: {"show":true,"width":2032,"height":1606,"minWidth":880,"minHeight":600,"autoHideMenuBar":true,"backgroundColor":"#fff","webPreferences":{"nodeIntegration":false,"enableRemoteModule":true,"nodeIntegrationInWorker":false,"contextIsolation":false,"preload":"[REDACTED]/session-desktop/preload.js","nativeWindowOpen":true,"spellcheck":true},"maximized":false,"x":870,"y":291}
INFO 2021-10-29T02:28:50.881Z spellcheck: user locale: en-AU
INFO 2021-10-29T02:28:50.881Z spellcheck: available spellchecker languages: ["af","bg","ca","cs","cy","da","de","de-DE","el","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"]
INFO 2021-10-29T02:28:50.881Z spellcheck: setting languages to: ["en-AU"]
INFO 2021-10-29T02:28:50.920Z updater/start: Updates disabled - not starting new version checks
INFO 2021-10-29T02:28:51.423Z Updating BrowserWindow config: {"maximized":false,"autoHideMenuBar":true,"width":2032,"height":1606,"x":870,"y":328}
INFO 2021-10-29T02:28:51.423Z config/set: Saving ephemeral config to disk
INFO 2021-10-29T02:28:52.793Z pre-main prep time: 2 ms
INFO 2021-10-29T02:28:52.809Z background page reloaded
INFO 2021-10-29T02:28:52.812Z environment: production
INFO 2021-10-29T02:28:52.812Z Storage fetch
INFO 2021-10-29T02:28:52.898Z ConversationController: starting initial fetch
INFO 2021-10-29T02:28:52.921Z ConversationController: done with initial fetch
INFO 2021-10-29T02:28:52.924Z Cleanup: starting...
INFO 2021-10-29T02:28:52.928Z Cleanup: Found 0 messages for cleanup
INFO 2021-10-29T02:28:52.930Z Cleanup: complete
INFO 2021-10-29T02:28:52.931Z listening for registration events
INFO 2021-10-29T02:28:52.933Z connect
INFO 2021-10-29T02:28:52.933Z getAllFromCache
INFO 2021-10-29T02:28:53.110Z getOnionPath: Must have at least 2 good onion paths, actual: 0, attempt #0
INFO 2021-10-29T02:28:53.112Z LokiSnodeAPI::buildNewOnionPaths - building new onion paths...
INFO 2021-10-29T02:28:53.175Z getAllFromCache loaded 0 saved envelopes
INFO 2021-10-29T02:28:53.197Z getOnionPath: Must have at least 2 good onion paths, actual: 0, attempt #0
INFO 2021-10-29T02:28:53.200Z LokiSnodeAPI::buildNewOnionPaths, snodePool length: 1776
INFO 2021-10-29T02:28:53.209Z Building 3 onion paths based on guard nodes length: 3, other nodes length 1773
INFO 2021-10-29T02:28:53.210Z Built 3 onion paths
INFO 2021-10-29T02:28:56.533Z updating default rooms [{"id":"session","name":"Session","completeUrl":"[REDACTED]"},{"id":"oxen","name":"Oxen","completeUrl":"[REDACTED]"},{"id":"lokinet","name":"Lokinet","completeUrl":"[REDACTED]"},{"id":"crypto","name":"Crypto","completeUrl":"[REDACTED]"}]
INFO 2021-10-29T02:29:03.158Z No more opengroupv1 messages to remove...
ERROR 2021-10-29T02:29:16.673Z Top-level unhandled promise rejection: TypeError: window.saveLog is not a function
at child.submit (file://[REDACTED]/session-desktop/js/views/debug_log_view.js:80:14)
at executeBound (file://[REDACTED]/session-desktop/js/components.js:11850:67)
at HTMLButtonElement.<anonymous> (file://[REDACTED]/session-desktop/js/components.js:11863:14)
at HTMLButtonElement.<anonymous> (file://[REDACTED]/session-desktop/js/components.js:11214:29)
at HTMLDivElement.dispatch (file://[REDACTED]/session-desktop/js/components.js:5183:27)
at HTMLDivElement.elemData.handle (file://[REDACTED]/session-desktop/js/components.js:4991:28)
INFO 2021-10-29T02:33:53.040Z forceRefreshRandomSnodePool: enough snodes to fetch from them, so we try using them 1776
INFO 2021-10-29T02:34:01.310Z Got consensus: updating snode list with snode pool length: 1776
INFO 2021-10-29T02:34:14.110Z app ready
INFO 2021-10-29T02:34:14.110Z starting version 1.7.4
INFO 2021-10-29T02:34:14.124Z updateSchema:
INFO 2021-10-29T02:34:14.124Z Current user_version: 11
INFO 2021-10-29T02:34:14.125Z Most recent db schema: 11
INFO 2021-10-29T02:34:14.125Z SQLite version: 3.34.1
INFO 2021-10-29T02:34:14.125Z SQLCipher version: 4.4.3 community
INFO 2021-10-29T02:34:14.125Z (deprecated) schema_version: 146
INFO 2021-10-29T02:34:14.126Z updateLokiSchema: Current loki schema version: 17; Most recent schema version: 16;
WARN 2021-10-29T02:34:14.131Z Vacuuming DB. This might take a while.
WARN 2021-10-29T02:34:14.156Z Vacuuming DB Finished
INFO 2021-10-29T02:34:14.157Z %s: %s vaccumming db 25.7ms
WARN 2021-10-29T02:34:14.159Z total message count: 62
INFO 2021-10-29T02:34:14.160Z Ensure attachments directory exists
INFO 2021-10-29T02:34:14.169Z Initializing BrowserWindow config: {"show":true,"width":2032,"height":1606,"minWidth":880,"minHeight":600,"autoHideMenuBar":true,"backgroundColor":"#fff","webPreferences":{"nodeIntegration":false,"enableRemoteModule":true,"nodeIntegrationInWorker":false,"contextIsolation":false,"preload":"[REDACTED]/session-desktop/preload.js","nativeWindowOpen":true,"spellcheck":true},"maximized":false,"x":870,"y":328}
INFO 2021-10-29T02:34:14.186Z spellcheck: user locale: en-AU
INFO 2021-10-29T02:34:14.186Z spellcheck: available spellchecker languages: ["af","bg","ca","cs","cy","da","de","de-DE","el","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"]
INFO 2021-10-29T02:34:14.186Z spellcheck: setting languages to: ["en-AU"]
INFO 2021-10-29T02:34:14.214Z updater/start: Updates disabled - not starting new version checks
INFO 2021-10-29T02:34:14.717Z Updating BrowserWindow config: {"maximized":false,"autoHideMenuBar":true,"width":2032,"height":1606,"x":870,"y":365}
INFO 2021-10-29T02:34:14.718Z config/set: Saving ephemeral config to disk
INFO 2021-10-29T02:34:16.035Z pre-main prep time: 1 ms
INFO 2021-10-29T02:34:16.051Z background page reloaded
INFO 2021-10-29T02:34:16.052Z environment: production
INFO 2021-10-29T02:34:16.053Z Storage fetch
INFO 2021-10-29T02:34:16.152Z ConversationController: starting initial fetch
INFO 2021-10-29T02:34:16.184Z ConversationController: done with initial fetch
INFO 2021-10-29T02:34:16.189Z Cleanup: starting...
INFO 2021-10-29T02:34:16.196Z Cleanup: Found 0 messages for cleanup
INFO 2021-10-29T02:34:16.199Z Cleanup: complete
INFO 2021-10-29T02:34:16.200Z listening for registration events
INFO 2021-10-29T02:34:16.206Z connect
INFO 2021-10-29T02:34:16.207Z getAllFromCache
INFO 2021-10-29T02:34:16.376Z getOnionPath: Must have at least 2 good onion paths, actual: 0, attempt #0
INFO 2021-10-29T02:34:16.378Z LokiSnodeAPI::buildNewOnionPaths - building new onion paths...
INFO 2021-10-29T02:34:16.434Z getAllFromCache loaded 0 saved envelopes
INFO 2021-10-29T02:34:16.450Z getOnionPath: Must have at least 2 good onion paths, actual: 0, attempt #0
INFO 2021-10-29T02:34:16.452Z LokiSnodeAPI::buildNewOnionPaths, snodePool length: 1776
INFO 2021-10-29T02:34:16.461Z Building 3 onion paths based on guard nodes length: 3, other nodes length 1773
INFO 2021-10-29T02:34:16.462Z Built 3 onion paths
INFO 2021-10-29T02:34:20.155Z updating default rooms [{"id":"session","name":"Session","completeUrl":"[REDACTED]"},{"id":"oxen","name":"Oxen","completeUrl":"[REDACTED]"},{"id":"lokinet","name":"Lokinet","completeUrl":"[REDACTED]"},{"id":"crypto","name":"Crypto","completeUrl":"[REDACTED]"}]
INFO 2021-10-29T02:34:26.419Z No more opengroupv1 messages to remove...
INFO 2021-10-29T02:34:37.468Z Loaded this list of log files from logPath: log.log
Loading…
Cancel
Save