Open
9812ga98sd
opened this issue 1 year ago
•
7 comments
Trilium Version
0.56
What operating system are you using?
Windows
What is your setup?
Local + server sync
Operating System Version
Window 10 64 pro
Description
trilium-windows-x64-0.56.2 installed.
downloaded trilium-windows-x64-0.62.6
copied over files in existing directory with new files.
Trilium does not start.
Deleted 0.62.6
copied back 0.56.2
Trilium does not start.
Renamed trilium-data and Trilium Notes in %appdata%roaming
copied back 0.62.6 = Starts
However how do I get all my notes back as everything is now as a new installation.
I backed up the trilium-data and Trilium Notes data.
thank you.
Error logs
9:50:29.706 Optimizing database
09:50:29.707 Optimization finished in 0ms.
09:50:30.406 sync failed: Request to GET http://server:37840/api/setup/status failed, error: Error: net::ERR_NETWORK_IO_SUSPENDED
stack: Error: Request to GET http://server:37840/api/setup/status failed, error: Error: net::ERR_NETWORK_IO_SUSPENDED
at generateError (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\request.js:191:12)
at ClientRequest. (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\request.js:58:47)
at ClientRequest.emit (node:events:394:28)
at ClientRequest._die (node:electron/js2c/browser_init:101:8391)
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:101:7128)
at SimpleURLLoaderWrapper.emit (node:events:394:28)
at SimpleURLLoaderWrapper.callbackTrampoline (node:internal/async_hooks:130:17)
09:50:32.249 Created backup at C:\Users\John\AppData\Roaming\trilium-data\backup/backup-daily.db
09:50:32.249 Table counts: notes: 478, note_revisions: 2537, branches: 577, attributes: 433, etapi_tokens: 0
09:50:32.277 All consistency checks passed with no errors detected (took 28ms)
09:50:35.908 304 GET /api/clipper/handshake with 45 bytes took 0ms
09:50:36.053 304 GET /api/clipper/handshake with 45 bytes took 1ms
09:51:27.817 304 GET /api/clipper/handshake with 45 bytes took 0ms
09:51:31.984 sync failed: Request to GET http://server:37840/api/setup/status failed, error: Error: net::ERR_NAME_NOT_RESOLVED
stack: Error: Request to GET http://server:37840/api/setup/status failed, error: Error: net::ERR_NAME_NOT_RESOLVED
at generateError (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\request.js:191:12)
at ClientRequest. (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\request.js:58:47)
at ClientRequest.emit (node:events:394:28)
at ClientRequest._die (node:electron/js2c/browser_init:101:8391)
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:101:7128)
at SimpleURLLoaderWrapper.emit (node:events:394:28)
at SimpleURLLoaderWrapper.callbackTrampoline (node:internal/async_hooks:130:17)
09:52:27.916 304 GET /api/clipper/handshake with 45 bytes took 0ms
09:52:50.778 sync failed: Request to GET http://server:37840/api/setup/status failed, error: Error: net::ERR_CONNECTION_TIMED_OUT
stack: Error: Request to GET http://server:37840/api/setup/status failed, error: Error: net::ERR_CONNECTION_TIMED_OUT
at generateError (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\request.js:191:12)
at ClientRequest. (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\request.js:58:47)
at ClientRequest.emit (node:events:394:28)
at ClientRequest._die (node:electron/js2c/browser_init:101:8391)
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:101:7128)
at SimpleURLLoaderWrapper.emit (node:events:394:28)
at SimpleURLLoaderWrapper.callbackTrampoline (node:internal/async_hooks:130:17)
09:53:28.070 304 GET /api/clipper/handshake with 45 bytes took 1ms
09:53:50.759 sync failed: Request to GET http://server:37840/api/setup/status failed, error: Error: net::ERR_CONNECTION_TIMED_OUT
stack: Error: Request to GET http://server:37840/api/setup/status failed, error: Error: net::ERR_CONNECTION_TIMED_OUT
at generateError (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\request.js:191:12)
at ClientRequest. (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\request.js:58:47)
at ClientRequest.emit (node:events:394:28)
at ClientRequest._die (node:electron/js2c/browser_init:101:8391)
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:101:7128)
at SimpleURLLoaderWrapper.emit (node:events:394:28)
at SimpleURLLoaderWrapper.callbackTrampoline (node:internal/async_hooks:130:17)
09:54:28.218 304 GET /api/clipper/handshake with 45 bytes took 0ms
09:55:11.808 sync failed: Request to GET http://server:37840/api/setup/status failed, error: Error: net::ERR_CONNECTION_TIMED_OUT
stack: Error: Request to GET http://server:37840/api/setup/status failed, error: Error: net::ERR_CONNECTION_TIMED_OUT
at generateError (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\request.js:191:12)
at ClientRequest. (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\request.js:58:47)
at ClientRequest.emit (node:events:394:28)
at ClientRequest._die (node:electron/js2c/browser_init:101:8391)
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:101:7128)
at SimpleURLLoaderWrapper.emit (node:events:394:28)
at SimpleURLLoaderWrapper.callbackTrampoline (node:internal/async_hooks:130:17)
09:55:28.326 304 GET /api/clipper/handshake with 45 bytes took 0ms
09:55:50.865 Nothing to push
09:55:50.882 Sending message to all clients: {"type":"sync-pull-in-progress","lastSyncedPush":101228}
09:55:50.888 Sync aS9CT5gYW8: Pulled 9 changes in 40 KB, starting at entityChangeId=84449 in 16ms and applied them in 7ms, 0 outstanding pulls
09:55:50.900 200 GET /api/notes/rIYy8ToiXpI3 with 5079 bytes took 1ms
09:55:50.943 Finished pull
09:55:50.944 Nothing to push
09:55:51.019 Content hash computation took 24ms
09:55:51.020 Content hash checks PASSED
09:55:51.020 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101238}
09:56:28.422 304 GET /api/clipper/handshake with 45 bytes took 1ms
09:56:29.808 Nothing to push
09:56:29.854 Finished pull
09:56:29.854 Nothing to push
09:56:29.949 Content hash computation took 24ms
09:56:29.949 Content hash checks PASSED
09:56:29.949 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101238}
09:57:28.504 304 GET /api/clipper/handshake with 45 bytes took 0ms
09:57:29.796 Nothing to push
09:57:29.842 Finished pull
09:57:29.842 Nothing to push
09:57:29.981 Content hash computation took 24ms
09:57:29.981 Content hash checks PASSED
09:57:29.981 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101238}
09:58:28.647 304 GET /api/clipper/handshake with 45 bytes took 0ms
09:58:29.799 Nothing to push
09:58:29.860 Finished pull
09:58:29.860 Nothing to push
09:58:29.937 Content hash computation took 24ms
09:58:29.937 Content hash checks PASSED
09:58:29.937 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101238}
09:59:28.787 304 GET /api/clipper/handshake with 45 bytes took 1ms
09:59:29.825 Nothing to push
09:59:29.871 Finished pull
09:59:29.871 Nothing to push
09:59:29.956 Content hash computation took 23ms
09:59:29.956 Content hash checks PASSED
09:59:29.956 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101238}
09:59:32.882 204 PUT /api/notes/rIYy8ToiXpI3/data with 0 bytes took 2ms
09:59:32.886 200 GET /api/notes/rIYy8ToiXpI3 with 5094 bytes took 0ms
09:59:33.897 204 PUT /api/notes/rIYy8ToiXpI3/data with 0 bytes took 1ms
09:59:33.908 200 GET /api/notes/rIYy8ToiXpI3 with 5098 bytes took 1ms
09:59:34.913 204 PUT /api/notes/rIYy8ToiXpI3/data with 0 bytes took 1ms
09:59:34.915 200 GET /api/notes/rIYy8ToiXpI3 with 5092 bytes took 0ms
09:59:35.926 204 PUT /api/notes/rIYy8ToiXpI3/data with 0 bytes took 1ms
09:59:35.929 200 GET /api/notes/rIYy8ToiXpI3 with 5099 bytes took 1ms
09:59:36.938 204 PUT /api/notes/rIYy8ToiXpI3/data with 0 bytes took 1ms
09:59:36.948 200 GET /api/notes/rIYy8ToiXpI3 with 5101 bytes took 1ms
09:59:37.952 204 PUT /api/notes/rIYy8ToiXpI3/data with 0 bytes took 1ms
09:59:37.954 200 GET /api/notes/rIYy8ToiXpI3 with 5102 bytes took 0ms
10:00:28.786 304 GET /api/clipper/handshake with 45 bytes took 0ms
10:00:29.850 Sending message to all clients: {"type":"sync-push-in-progress","lastSyncedPush":101238}
10:00:29.850 Sync hHwZwc0s0p: Pushing 3 sync changes in 21ms
10:00:29.850 Nothing to push
10:00:29.908 Finished pull
10:00:29.908 Nothing to push
10:00:30.041 Content hash computation took 23ms
10:00:30.041 Content hash checks PASSED
10:00:30.041 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101246}
10:01:29.026 304 GET /api/clipper/handshake with 45 bytes took 1ms
10:01:29.838 Nothing to push
10:01:29.890 Finished pull
10:01:29.890 Nothing to push
10:01:29.965 Content hash computation took 22ms
10:01:29.965 Content hash checks PASSED
10:01:29.965 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101246}
10:02:29.133 304 GET /api/clipper/handshake with 45 bytes took 1ms
10:02:29.844 Nothing to push
10:02:29.890 Finished pull
10:02:29.890 Nothing to push
10:02:29.999 Content hash computation took 23ms
10:02:29.999 Content hash checks PASSED
10:02:29.999 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101246}
10:51:38.581 sync failed: Request to GET http://server:37840/api/setup/status failed, error: Error: net::ERR_INTERNET_DISCONNECTED
stack: Error: Request to GET http://server:37840/api/setup/status failed, error: Error: net::ERR_INTERNET_DISCONNECTED
at generateError (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\request.js:191:12)
at ClientRequest. (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\request.js:58:47)
at ClientRequest.emit (node:events:394:28)
at ClientRequest._die (node:electron/js2c/browser_init:101:8391)
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:101:7128)
at SimpleURLLoaderWrapper.emit (node:events:394:28)
at SimpleURLLoaderWrapper.callbackTrampoline (node:internal/async_hooks:130:17)
10:51:38.582 Table counts: notes: 478, note_revisions: 2539, branches: 577, attributes: 433, etapi_tokens: 0
10:51:38.606 All consistency checks passed with no errors detected (took 24ms)
10:51:43.394 304 GET /api/clipper/handshake with 45 bytes took 1ms
10:52:35.007 304 GET /api/clipper/handshake with 45 bytes took 0ms
10:52:37.620 Nothing to push
10:52:37.667 Finished pull
10:52:37.667 Nothing to push
10:52:37.752 Content hash computation took 25ms
10:52:37.752 Content hash checks PASSED
10:52:37.752 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101246}
10:53:35.080 304 GET /api/clipper/handshake with 45 bytes took 1ms
10:53:37.623 Nothing to push
10:53:37.690 Finished pull
10:53:37.690 Nothing to push
10:53:37.765 Slow query took 20ms: SELECT entityName, entityId, hash FROM entity_changes WHERE isSynced = 1 AND entityName != 'note_reordering'
10:53:37.771 Content hash computation took 26ms
10:53:37.771 Content hash checks PASSED
10:53:37.771 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101246}
10:54:31.168 204 PUT /api/notes/rIYy8ToiXpI3/data with 0 bytes took 2ms
10:54:31.172 200 GET /api/notes/rIYy8ToiXpI3 with 5108 bytes took 0ms
10:54:32.336 204 PUT /api/notes/rIYy8ToiXpI3/data with 0 bytes took 0ms
10:54:32.339 200 GET /api/notes/rIYy8ToiXpI3 with 5114 bytes took 0ms
10:54:33.352 204 PUT /api/notes/rIYy8ToiXpI3/data with 0 bytes took 1ms
10:54:33.354 200 GET /api/notes/rIYy8ToiXpI3 with 5114 bytes took 1ms
10:54:34.371 204 PUT /api/notes/rIYy8ToiXpI3/data with 0 bytes took 1ms
10:54:34.373 200 GET /api/notes/rIYy8ToiXpI3 with 5118 bytes took 0ms
10:54:35.149 304 GET /api/clipper/handshake with 45 bytes took 0ms
10:54:37.646 Sending message to all clients: {"type":"sync-push-in-progress","lastSyncedPush":101246}
10:54:37.646 Sync AtJ4X5aryv: Pushing 3 sync changes in 21ms
10:54:37.647 Nothing to push
10:54:37.703 Finished pull
10:54:37.703 Nothing to push
10:54:37.832 Slow query took 20ms: SELECT entityName, entityId, hash FROM entity_changes WHERE isSynced = 1 AND entityName != 'note_reordering'
10:54:37.838 Content hash computation took 26ms
10:54:37.838 Content hash checks PASSED
10:54:37.838 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101252}
10:55:35.156 304 GET /api/clipper/handshake with 45 bytes took 0ms
10:55:37.632 Nothing to push
10:55:37.680 Finished pull
10:55:37.680 Nothing to push
10:55:37.756 Content hash computation took 23ms
10:55:37.756 Content hash checks PASSED
10:55:37.756 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101252}
10:56:35.316 304 GET /api/clipper/handshake with 45 bytes took 0ms
10:56:37.637 Nothing to push
10:56:37.684 Finished pull
10:56:37.684 Nothing to push
10:56:37.789 Content hash computation took 23ms
10:56:37.789 Content hash checks PASSED
10:56:37.789 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101252}
10:57:35.466 304 GET /api/clipper/handshake with 45 bytes took 1ms
10:57:37.640 Nothing to push
10:57:37.686 Finished pull
10:57:37.686 Nothing to push
10:57:37.773 Content hash computation took 23ms
10:57:37.773 Content hash checks PASSED
10:57:37.773 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101252}
10:58:35.554 304 GET /api/clipper/handshake with 45 bytes took 1ms
10:58:37.654 Nothing to push
10:58:37.716 Finished pull
10:58:37.716 Nothing to push
10:58:37.797 Content hash computation took 23ms
10:58:37.797 Content hash checks PASSED
10:58:37.797 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":101252}
10:58:53.560 200 GET /api/note-map/_options/backlink-count with 11 bytes took 0ms
10:58:53.995 204 PUT /api/options with 0 bytes took 0ms
10:58:55.297 200 GET /api/note-map/_optionsAppearance/backlink-count with 11 bytes took 0ms
10:58:55.299 200 GET /api/options with 7373 bytes took 1ms
10:58:55.335 204 PUT /api/options with 0 bytes took 1ms
10:58:55.336 200 GET /api/options with 7392 bytes took 1ms
10:58:55.340 200 GET /api/options with 7392 bytes took 0ms
10:58:55.344 200 GET /api/options/user-themes with 67 bytes took 3ms
10:58:55.345 200 GET /api/options with 7392 bytes took 0ms
10:58:55.351 200 GET /api/options with 7392 bytes took 1ms
restored old version = did not work
back to 0.46.6
copy backup-daily.db to \AppData\Roaming\trilium-data
delete document.db
delete document.db-shm
delete document.db-wal
rename backup-daily.db to document.db
still does not start,
1:53:23.512 Listening on port 37840
11:53:23.602 200 GET /setup took 7ms
11:53:53.120 Creating initial database ...
11:53:53.148 Slow 200 POST /api/setup/new-document took 28ms
11:53:53.683 ERROR: Listener threw error: TypeError: Cannot set property 'notePosition' of undefined
at Function. (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\tree.js:142:60)
at Function.sqliteTransaction (I:\Program Files\trilium-windows-x64\resources\app.asar\node_modules\better-sqlite3\lib\transaction.js:58:24)
at Object.transactional (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\sql.js:234:52)
at Object.sortNotesByTitle (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\tree.js:110:9)
at I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\handlers.js:87:25
at Object.emit (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\events.js:34:17)
at Function. (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\repository.js:137:30)
at Function.sqliteTransaction (I:\Program Files\trilium-windows-x64\resources\app.asar\node_modules\better-sqlite3\lib\transaction.js:58:24)
at Object.transactional (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\sql.js:234:52)
at Object.updateEntity (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\repository.js:111:9)
11:53:53.683 ERROR: Listener threw error: TypeError: Cannot set property 'notePosition' of undefined
at Function. (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\tree.js:142:60)
at Function.sqliteTransaction (I:\Program Files\trilium-windows-x64\resources\app.asar\node_modules\better-sqlite3\lib\transaction.js:58:24)
at Object.transactional (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\sql.js:234:52)
at Object.sortNotesByTitle (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\tree.js:110:9)
at I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\handlers.js:87:25
at Object.emit (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\events.js:34:17)
at Function. (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\repository.js:137:30)
at Function.sqliteTransaction (I:\Program Files\trilium-windows-x64\resources\app.asar\node_modules\better-sqlite3\lib\transaction.js:58:24)
at Object.transactional (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\sql.js:234:52)
at Object.updateEntity (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\repository.js:111:9)
11:53:53.684 ERROR: Listener threw error: TypeError: Cannot set property 'notePosition' of undefined
at Function. (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\tree.js:142:60)
at Function.sqliteTransaction (I:\Program Files\trilium-windows-x64\resources\app.asar\node_modules\better-sqlite3\lib\transaction.js:58:24)
at Object.transactional (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\sql.js:234:52)
at Object.sortNotesByTitle (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\tree.js:110:9)
at I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\handlers.js:87:25
at Object.emit (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\events.js:34:17)
at Function. (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\repository.js:137:30)
at Function.sqliteTransaction (I:\Program Files\trilium-windows-x64\resources\app.asar\node_modules\better-sqlite3\lib\transaction.js:58:24)
at Object.transactional (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\sql.js:234:52)
at Object.updateEntity (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\repository.js:111:9)
11:53:53.686 ERROR: Listener threw error: TypeError: Cannot set property 'notePosition' of undefined
at Function. (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\tree.js:142:60)
at Function.sqliteTransaction (I:\Program Files\trilium-windows-x64\resources\app.asar\node_modules\better-sqlite3\lib\transaction.js:58:24)
at Object.transactional (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\sql.js:234:52)
at Object.sortNotesByTitle (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\tree.js:110:9)
at I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\handlers.js:87:25
at Object.emit (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\events.js:34:17)
at Function. (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\repository.js:137:30)
at Function.sqliteTransaction (I:\Program Files\trilium-windows-x64\resources\app.asar\node_modules\better-sqlite3\lib\transaction.js:58:24)
at Object.transactional (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\sql.js:234:52)
at Object.updateEntity (I:\Program Files\trilium-windows-x64\resources\app.asar\src\services\repository.js:111:9)
11:53:53.910 Schema and initial content generated.
11:53:53.911 Created missing option "noteRevisionSnapshotTimeInterval" with default value "600"
11:53:53.911 Created missing option "protectedSessionTimeout" with default value "600"
11:53:53.911 Created missing option "zoomFactor" with default value "1.0"
11:53:53.911 Created missing option "mainFontSize" with default value "100"
11:53:53.911 Created missing option "treeFontSize" with default value "100"
11:53:53.911 Created missing option "detailFontSize" with default value "110"
11:53:53.912 Created missing option "calendarWidget" with default value "{"enabled":true,"expanded":true,"position":20}"
11:53:53.912 Created missing option "editedNotesWidget" with default value "{"enabled":true,"expanded":true,"position":50}"
11:53:53.912 Created missing option "noteInfoWidget" with default value "{"enabled":true,"expanded":true,"position":100}"
11:53:53.912 Created missing option "attributesWidget" with default value "{"enabled":true,"expanded":true,"position":200}"
11:53:53.912 Created missing option "linkMapWidget" with default value "{"enabled":true,"expanded":true,"position":300}"
11:53:53.913 Created missing option "noteRevisionsWidget" with default value "{"enabled":true,"expanded":true,"position":400}"
11:53:53.913 Created missing option "whatLinksHereWidget" with default value "{"enabled":false,"expanded":true,"position":500}"
11:53:53.913 Created missing option "similarNotesWidget" with default value "{"enabled":true,"expanded":true,"position":600}"
11:53:53.913 Created missing option "spellCheckEnabled" with default value "true"
11:53:53.913 Created missing option "spellCheckLanguageCode" with default value "en-US"
11:53:53.913 Created missing option "imageMaxWidthHeight" with default value "1200"
11:53:53.913 Created missing option "imageJpegQuality" with default value "75"
11:53:53.914 Created missing option "autoFixConsistencyIssues" with default value "true"
11:53:53.914 Created missing option "codeNotesMimeTypes" with default value "["text/x-csrc","text/x-c++src","text/x-csharp","text/css","text/x-go","text/x-groovy","text/x-haskell","text/html","message/http","text/x-java","application/javascript;env=frontend","application/javascript;env=backend","application/json","text/x-kotlin","text/x-markdown","text/x-perl","text/x-php","text/x-python","text/x-ruby",null,"text/x-sql","text/x-sqlite;schema=trilium","text/x-swift","text/xml","text/x-yaml"]"
11:53:53.914 Created missing option "leftPaneWidth" with default value "25"
11:53:53.914 Created missing option "leftPaneVisible" with default value "true"
11:53:53.915 Created missing option "rightPaneWidth" with default value "25"
11:53:53.915 Created missing option "rightPaneVisible" with default value "true"
11:53:53.915 Created missing option "nativeTitleBarVisible" with default value "false"
11:53:53.915 Created missing option "eraseEntitiesAfterTimeInSeconds" with default value "604800"
11:53:53.915 Created missing option "hideArchivedNotes_main" with default value "false"
11:53:53.915 Created missing option "hideIncludedImages_main" with default value "true"
11:53:53.916 Created missing option "attributeListExpanded" with default value "false"
11:53:53.916 Created missing option "promotedAttributesExpanded" with default value "true"
11:53:53.916 Created missing option "similarNotesExpanded" with default value "true"
11:53:53.916 Created missing option "debugModeEnabled" with default value "false"
11:53:53.916 Created missing option "headingStyle" with default value "markdown"
11:53:53.917 Created missing option "autoCollapseNoteTree" with default value "true"
11:53:53.917 Created missing option "keyboardShortcutsBackInNoteHistory" with default value "["Alt+Left"]"
11:53:53.917 Created missing option "keyboardShortcutsForwardInNoteHistory" with default value "["Alt+Right"]"
11:53:53.917 Created missing option "keyboardShortcutsJumpToNote" with default value "["Ctrl+J"]"
11:53:53.917 Created missing option "keyboardShortcutsScrollToActiveNote" with default value "["Ctrl+."]"
11:53:53.917 Created missing option "keyboardShortcutsQuickSearch" with default value "["Ctrl+S"]"
11:53:53.918 Created missing option "keyboardShortcutsSearchInSubtree" with default value "["Ctrl+Shift+S"]"
11:53:53.918 Created missing option "keyboardShortcutsExpandSubtree" with default value "[]"
11:53:53.918 Created missing option "keyboardShortcutsCollapseTree" with default value "["Alt+C"]"
11:53:53.918 Created missing option "keyboardShortcutsCollapseSubtree" with default value "["Alt+-"]"
11:53:53.918 Created missing option "keyboardShortcutsSortChildNotes" with default value "["Alt+S"]"
11:53:53.919 Created missing option "keyboardShortcutsCreateNoteAfter" with default value "["Ctrl+O"]"
11:53:53.919 Created missing option "keyboardShortcutsCreateNoteInto" with default value "["Ctrl+P"]"
11:53:53.919 Created missing option "keyboardShortcutsCreateNoteIntoInbox" with default value "["global:Ctrl+Alt+P"]"
11:53:53.919 Created missing option "keyboardShortcutsDeleteNotes" with default value "["Delete"]"
11:53:53.919 Created missing option "keyboardShortcutsMoveNoteUp" with default value "["Ctrl+Up"]"
11:53:53.920 Created missing option "keyboardShortcutsMoveNoteDown" with default value "["Ctrl+Down"]"
11:53:53.920 Created missing option "keyboardShortcutsMoveNoteUpInHierarchy" with default value "["Ctrl+Left"]"
11:53:53.920 Created missing option "keyboardShortcutsMoveNoteDownInHierarchy" with default value "["Ctrl+Right"]"
11:53:53.920 Created missing option "keyboardShortcutsEditNoteTitle" with default value "["Enter"]"
11:53:53.921 Created missing option "keyboardShortcutsEditBranchPrefix" with default value "["F2"]"
11:53:53.921 Created missing option "keyboardShortcutsCloneNotesTo" with default value "["Ctrl+Shift+C"]"
11:53:53.921 Created missing option "keyboardShortcutsMoveNotesTo" with default value "["Ctrl+Shift+X"]"
11:53:53.921 Created missing option "keyboardShortcutsCopyNotesToClipboard" with default value "["Ctrl+C"]"
11:53:53.922 Created missing option "keyboardShortcutsPasteNotesFromClipboard" with default value "["Ctrl+V"]"
11:53:53.922 Created missing option "keyboardShortcutsCutNotesToClipboard" with default value "["Ctrl+X"]"
11:53:53.922 Created missing option "keyboardShortcutsSelectAllNotesInParent" with default value "["Ctrl+A"]"
11:53:53.922 Created missing option "keyboardShortcutsAddNoteAboveToSelection" with default value "["Shift+Up"]"
11:53:53.922 Created missing option "keyboardShortcutsAddNoteBelowToSelection" with default value "["Shift+Down"]"
11:53:53.922 Created missing option "keyboardShortcutsDuplicateSubtree" with default value "[]"
11:53:53.923 Created missing option "keyboardShortcutsOpenNewTab" with default value "["Ctrl+T"]"
11:53:53.923 Created missing option "keyboardShortcutsCloseActiveTab" with default value "["Ctrl+W"]"
11:53:53.923 Created missing option "keyboardShortcutsActivateNextTab" with default value "["Ctrl+Tab"]"
11:53:53.923 Created missing option "keyboardShortcutsActivatePreviousTab" with default value "["Ctrl+Shift+Tab"]"
11:53:53.923 Created missing option "keyboardShortcutsOpenNewWindow" with default value "[]"
11:53:53.923 Created missing option "keyboardShortcutsShowNoteInfo" with default value "[]"
11:53:53.924 Created missing option "keyboardShortcutsShowNoteSource" with default value "[]"
11:53:53.924 Created missing option "keyboardShortcutsShowLinkMap" with default value "[]"
11:53:53.924 Created missing option "keyboardShortcutsShowOptions" with default value "[]"
11:53:53.924 Created missing option "keyboardShortcutsShowNoteRevisions" with default value "[]"
11:53:53.924 Created missing option "keyboardShortcutsShowRecentChanges" with default value "[]"
11:53:53.925 Created missing option "keyboardShortcutsShowSQLConsole" with default value "["Alt+O"]"
11:53:53.925 Created missing option "keyboardShortcutsShowBackendLog" with default value "[]"
11:53:53.925 Created missing option "keyboardShortcutsShowHelp" with default value "["F1"]"
11:53:53.925 Created missing option "keyboardShortcutsAddLinkToText" with default value "["Ctrl+L"]"
11:53:53.925 Created missing option "keyboardShortcutsInsertDateTimeToText" with default value "["Alt+T"]"
11:53:53.925 Created missing option "keyboardShortcutsPasteMarkdownIntoText" with default value "[]"
11:53:53.926 Created missing option "keyboardShortcutsCutIntoNote" with default value "[]"
11:53:53.926 Created missing option "keyboardShortcutsAddIncludeNoteToText" with default value "[]"
11:53:53.926 Created missing option "keyboardShortcutsFocusOnAttributes" with default value "["Alt+A"]"
11:53:53.926 Created missing option "keyboardShortcutsAddNewLabel" with default value "["Alt+L"]"
11:53:53.926 Created missing option "keyboardShortcutsAddNewRelation" with default value "["Alt+R"]"
11:53:53.926 Created missing option "keyboardShortcutsPrintActiveNote" with default value "[]"
11:53:53.927 Created missing option "keyboardShortcutsRunActiveNote" with default value "["Ctrl+Enter"]"
11:53:53.927 Created missing option "keyboardShortcutsToggleNoteHoisting" with default value "["Alt+H"]"
11:53:53.927 Created missing option "keyboardShortcutsUnhoist" with default value "["Alt+U"]"
11:53:53.927 Created missing option "keyboardShortcutsReloadFrontendApp" with default value "["F5","Ctrl+R"]"
11:53:53.927 Created missing option "keyboardShortcutsOpenDevTools" with default value "["Ctrl+Shift+I"]"
11:53:53.927 Created missing option "keyboardShortcutsFindInText" with default value "["Ctrl+F"]"
11:53:53.928 Created missing option "keyboardShortcutsToggleFullscreen" with default value "["F11"]"
11:53:53.928 Created missing option "keyboardShortcutsToggleZenMode" with default value "["Alt+M"]"
11:53:53.928 Created missing option "keyboardShortcutsZoomOut" with default value "["Ctrl+-"]"
11:53:53.928 Created missing option "keyboardShortcutsZoomIn" with default value "["Ctrl+="]"
11:53:53.928 Created missing option "keyboardShortcutsCopyWithoutFormatting" with default value "["Ctrl+Alt+C"]"
11:53:53.934 Note cache load took 5ms
11:53:53.935 Registered global shortcut Ctrl+Alt+P for action createNoteIntoInbox
11:53:54.016 Triggering sync.
11:53:54.022 Slow 200 GET /setup took 73ms
11:53:54.249 Generated CSRF token YhybmcRj-vCfEVgyaWottQEZX6SFfq-La8dE with secret _csrf=iAJ4B51bQ1yxI3gzQcyds855; Path=/
11:53:54.258 Slow 200 GET / took 10ms
11:53:54.410 200 GET /api/notes/download/bftgRZDpmOwt took 1ms
11:53:54.417 200 GET /api/notes/download/FzbmnVtpgvHA took 1ms
11:53:54.452 200 GET /api/options took 1ms
11:53:54.455 200 GET /api/tree took 1ms
11:53:54.458 200 GET /api/keyboard-actions took 1ms
11:53:54.460 200 GET /api/keyboard-shortcuts-for-notes took 0ms
11:53:54.466 200 GET /api/script/widgets took 1ms
11:53:54.535 200 GET /api/tree?subTreeNoteId=6Z4M1QPDU3Lf took 1ms
11:53:54.886 200 GET /api/notes/b9NykRTvXCq9 took 1ms
11:53:55.452 200 GET /api/images/AG5aaRAbKha9/trilium-small.png took 1ms
11:53:55.973 Slow 200 GET /api/similar-notes/b9NykRTvXCq9 took 78ms
11:53:55.977 200 GET /api/notes/b9NykRTvXCq9/revisions took 0ms
11:53:55.978 200 POST /api/tree/load took 0ms
11:53:56.059 200 POST /api/notes/b9NykRTvXCq9/link-map took 2ms
11:53:56.060 200 POST /api/tree/load took 0ms
11:53:56.505 200 GET /api/script/startup took 0ms
11:53:56.508 200 POST /api/tree/load took 1ms
11:53:56.513 200 POST /api/tree/load took 1ms
11:53:59.878 204 POST /api/recent-notes took 1ms
11:54:13.940 Table counts: notes: 151, note_revisions: 0, branches: 173, attributes: 223, api_tokens: 0
11:54:13.946 All consistency checks passed (took 7ms)
11:54:20.503 304 GET /api/clipper/handshake took 1ms
11:55:20.514 304 GET /api/clipper/handshake took 1ms
11:56:20.682 304 GET /api/clipper/handshake took 0ms
11:57:05.117 200 GET /api/notes/zSXmpVaJFKqL took 1ms
11:57:05.185 200 GET /api/notes/Zp3R6XMN4KTF took 0ms
11:57:20.982 304 GET /api/clipper/handshake took 0ms
11:57:55.856 DB size: 1445 KB
11:57:56.792 Note cache load took 6ms
11:57:56.946 App HTTP server starting up at port 37840
11:57:56.946 {
"appVersion": "0.46.6",
"dbVersion": 183,
"syncVersion": 20,
"buildDate": "2021-03-23T23:57:48+01:00",
"buildRevision": "1862acd1ff9261536ebc7118d35bbbd8449ba94d",
"dataDirectory": "C:\Users\John\AppData\Roaming\trilium-data",
"clipperProtocolVersion": "1.0"
}
11:57:56.947 CPU model: AMD Ryzen Threadripper 2950X 16-Core Processor , logical cores: 32 freq: 3500 Mhz
11:57:56.959 Registered global shortcut Ctrl+Alt+P for action createNoteIntoInbox
11:57:56.962 Listening on port 37840
11:57:57.032 Generated CSRF token ogh9X1vr-mW1aGqIrKuXpmfe5Jz_O8_SF7Fk with secret _csrf=Jxwvcea6ODk0RZv4v4Z5YbEI; Path=/
11:57:57.045 Slow 200 GET / took 15ms
11:57:57.327 304 GET /api/notes/download/bftgRZDpmOwt took 2ms
11:57:57.330 304 GET /api/notes/download/FzbmnVtpgvHA took 1ms
11:57:57.363 200 GET /api/options took 1ms
11:57:57.364 200 GET /api/tree took 1ms
11:57:57.367 200 GET /api/keyboard-actions took 0ms
11:57:57.370 200 GET /api/keyboard-shortcuts-for-notes took 0ms
11:57:57.371 200 GET /api/script/widgets took 0ms
11:57:57.442 200 GET /api/tree?subTreeNoteId=6Z4M1QPDU3Lf took 2ms
11:57:57.774 200 GET /api/notes/b9NykRTvXCq9 took 0ms
11:57:58.340 304 GET /api/images/AG5aaRAbKha9/trilium-small.png took 1ms
11:57:58.854 Slow 200 GET /api/similar-notes/b9NykRTvXCq9 took 74ms
11:57:58.857 200 GET /api/notes/b9NykRTvXCq9/revisions took 0ms
11:57:58.859 200 POST /api/tree/load took 1ms
11:57:58.944 200 POST /api/notes/b9NykRTvXCq9/link-map took 2ms
11:57:58.945 200 POST /api/tree/load took 0ms
11:57:59.412 200 GET /api/script/startup took 1ms
11:57:59.414 200 POST /api/tree/load took 1ms
11:57:59.415 200 POST /api/tree/load took 0ms
11:58:02.765 204 POST /api/recent-notes took 6ms
11:58:05.891 200 GET /api/options took 1ms
11:58:05.959 200 GET /api/keyboard-actions took 1ms
11:58:05.960 200 GET /api/options/user-themes took 0ms
11:58:16.799 Table counts: notes: 151, note_revisions: 0, branches: 173, attributes: 223, api_tokens: 0
11:58:16.807 All consistency checks passed (took 8ms)
11:58:21.022 304 GET /api/clipper/handshake took 1ms
12:02:07.119 DB not initialized, please visit setup page
12:02:07.119 DB size: 4 KB
12:02:08.269 App HTTP server starting up at port 37840
12:02:08.269 {
"appVersion": "0.46.6",
"dbVersion": 183,
"syncVersion": 20,
I made a mistake and it was 0.56.2 not 0.46, I read the wrong version.
I have got 2 computers.
One acting as a server instance.
one acting as a desktop instance.
I simply copied the 0.62.6 to both folders. Did not start.
I have downgraded both to 0.56.2.
I have used the backup migration db from a year ago.
"You need to watch the console output for the errors, it may tell you to upgrade through specific versions first.
IIRC you need to download 0.47.X first, run upgrade, then the same with 0.60, and only then to the latest version."
Where does it say this in any of the upgrade instructions?
"for all others you need to download new version of the release artifact of your choice from the release page and replace existing version of the application - i.e. rename/delete the old directory and extract the archive of the new version"
i have a backup from yesterday and today. As they are synched I have one from 6am.
When I rename the backup-daily.db to document.db, trilium does not start.
OK. This is the sequence of events
0.56.2 installed.
I download 0.62.6 and paste over the existing contents of the folder.
I start app and nothing happens.
I have backup-daily.db from 16 feb 2024 09:50
Should I install 0.60.3. Copy the backup-daily.db to document.db and then start it? or should upgrade the app to 0.60.3, then to 0.62.6, then try and restore the database?
I upgraded to 0.60.3 and when i copied the database and renamed it, it appears to work.
Thank you for your help.
You need to update the documentation to reflect the install process.