vrtmrz / obsidian-livesync

MIT License
5.13k stars 167 forks source link

LiveSync not working #488

Open CrazyTim71 opened 2 months ago

CrazyTim71 commented 2 months ago

My PC sucessfully synchronizes all notes to my selfhosted CouchDB (behind Traefik and Cloudflare). But after setting up a second device by using the setup uri, the synchronisation doesn't work at all. The initial replication works, but then Obsidian just shows connection errors after restarting. Seems like some CORS rules are the reason for that. But I don't understand where the error comes from, because I added all the needed CORS Headers to Traefik. And it works until a second device is added.

Plugin version: 0.23.21

LiveSync Error

Report from the LiveSync

Report from hatch ``` ---- Obsidian info ---- Navigator: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.6.7 Chrome/124.0.6367.243 Electron/30.1.2 Safari/537.36 FileSystem: insensitive ---- remote config ---- cluster: n: "1" cors: credentials: "true" headers: accept, authorization, content-type, origin, referer max_age: "3600" methods: GET, PUT, POST, HEAD, DELETE origins: app://obsidian.md,capacitor://localhost,http://localhost chttpd: bind_address: 0.0.0.0 enable_cors: "true" max_http_request_size: "4294967296" port: "5984" require_valid_user: "true" admins: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷 vendor: name: The Apache Software Foundation feature_flags: partitioned||*: "true" chttpd_auth: hash_algorithms: sha256, sha require_valid_user: "true" indexers: couch_mrview: "true" prometheus: additional_port: "false" bind_address: 127.0.0.1 port: "17986" httpd: WWW-Authenticate: Basic realm="couchdb" bind_address: 127.0.0.1 enable_cors: "true" port: "5986" smoosh: state_dir: ./data couch_httpd_auth: authentication_db: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷 secret: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷 authentication_redirect: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷 couchdb_engines: couch: couch_bt_engine couchdb: database_dir: ./data max_document_size: "50000000" single_node: "true" uuid: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷 view_index_dir: ./data ---- Plug-in config --- version:0.23.21 remoteType: "" useCustomRequestHandler: false couchDB_URI: self-hosted(HTTPS) couchDB_USER: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷 couchDB_PASSWORD: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷 couchDB_DBNAME: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷 liveSync: true syncOnSave: false syncOnStart: false savingDelay: 200 lessInformationInLog: false gcDelay: 0 versionUpFlash: "" minimumChunkSize: 20 longLineThreshold: 250 showVerboseLog: true suspendFileWatching: false trashInsteadDelete: true periodicReplication: false periodicReplicationInterval: 60 syncOnFileOpen: false encrypt: true passphrase: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷 usePathObfuscation: true doNotDeleteFolder: false resolveConflictsByNewerFile: false batchSave: false batchSaveMinimumDelay: 5 batchSaveMaximumDelay: 60 deviceAndVaultName: "" usePluginSettings: false showOwnPlugins: false showStatusOnEditor: true showStatusOnStatusbar: true showOnlyIconsOnEditor: false usePluginSync: false autoSweepPlugins: false autoSweepPluginsPeriodic: false notifyPluginOrSettingUpdated: false checkIntegrityOnSave: false batch_size: 25 batches_limit: 25 useHistory: true disableRequestURI: true skipOlderFilesOnSync: true checkConflictOnlyOnOpen: false showMergeDialogOnlyOnActive: false syncInternalFiles: true syncInternalFilesBeforeReplication: false syncInternalFilesIgnorePatterns: \/node_modules\/, \/\.git\/, \/obsidian-livesync\/ syncInternalFilesInterval: 60 additionalSuffixOfDatabaseName: f5e4f0dd0a1766c2 ignoreVersionCheck: false lastReadUpdates: 23 deleteMetadataOfDeletedFiles: false syncIgnoreRegEx: "" syncOnlyRegEx: "" customChunkSize: 50 readChunksOnline: false watchInternalFileChanges: true automaticallyDeleteMetadataOfDeletedFiles: 0 disableMarkdownAutoMerge: false writeDocumentsIfConflicted: false useDynamicIterationCount: false syncAfterMerge: false configPassphraseStore: "" encryptedPassphrase: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷 encryptedCouchDBConnection: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷 permitEmptyPassphrase: false useIndexedDBAdapter: true useTimeouts: false writeLogToTheFile: false doNotPaceReplication: false hashCacheMaxCount: 300 hashCacheMaxAmount: 50 concurrencyOfReadChunksOnline: 30 minimumIntervalOfReadChunksOnline: 25 hashAlg: xxhash64 suspendParseReplicationResult: false doNotSuspendOnFetching: false useIgnoreFiles: false ignoreFiles: .gitignore syncOnEditorSave: false pluginSyncExtendedSetting: {} syncMaxSizeInMB: 50 settingSyncFile: "" writeCredentialsForSettingSync: false notifyAllSettingSyncFile: false isConfigured: true settingVersion: 10 enableCompression: false accessKey: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷 bucket: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷(0 letters) endpoint: Not configured or AWS region: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷(4 letters) secretKey: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷 useEden: false maxChunksInEden: 10 maxTotalLengthInEden: 1024 maxAgeInEden: 10 disableCheckingConfigMismatch: false displayLanguage: "" enableChunkSplitterV2: false disableWorkerForGeneratingChunks: false processSmallFilesInUIThread: false notifyThresholdOfRemoteStorageSize: 2000 usePluginSyncV2: false usePluginEtc: false handleFilenameCaseSensitive: false doNotUseFixedRevisionForChunks: false showLongerLogInsideEditor: false sendChunksBulk: true sendChunksBulkMaxSize: 25 configPassphrase: "" preset: "" syncMode: LIVESYNC dummy: 0 ```

Plug-in log

Plug-in log ``` 7.9.2024, 14:53:26->Information has been copied to clipboard 7.9.2024, 14:53:26->Just checkpoint or some server information has been missing. The 404 error shown above is not an error. 7.9.2024, 14:53:26->Replication activated 7.9.2024, 14:54:25->Scanning hidden files. 7.9.2024, 14:54:28->Hidden files scanned: 0 files had been modified 7.9.2024, 14:55:06->HTTP:POST (1971) to:_bulk_docs -> failed 7.9.2024, 14:55:06->TypeError:Failed to fetch 7.9.2024, 14:55:06->Replication paused 7.9.2024, 14:55:25->Scanning hidden files. 7.9.2024, 14:55:28->Hidden files scanned: 0 files had been modified 7.9.2024, 14:55:59->Log window opened 7.9.2024, 14:56:00->Chunks saved (with fixed): doc: .obsidian/workspace.json ,chunks: 1 (new:1, recycled:0, cached:0) 7.9.2024, 14:56:00->STORAGE --> DB:.obsidian/workspace.json: (hidden) Done ```

Network log

Network Log 0 Network Log 1

Traefik config

``` labels: traefik.enable: "true" traefik.http.routers.obsidian-livesync.rule: "Host(`domain.com`)" traefik.http.routers.obsidian-livesync.entrypoints: "web,websecure" traefik.http.routers.obsidian-livesync.service: "obsidian-livesync" traefik.http.services.obsidian-livesync.loadbalancer.server.port: "5984" traefik.http.routers.obsidian-livesync.tls: "true" traefik.http.routers.obsidian-livesync.tls.certresolver: "letsencrypt" traefik.http.routers.obsidian-livesync.middlewares: "obsidiancors" traefik.http.middlewares.obsidiancors.headers.accesscontrolallowmethods: "GET,PUT,POST,HEAD,DELETE" traefik.http.middlewares.obsidiancors.headers.accesscontrolallowheaders: "accept,authorization,content-type,origin,referer" traefik.http.middlewares.obsidiancors.headers.accesscontrolalloworiginlist: "app://obsidian.md,capacitor://localhost,http://localhost" traefik.http.middlewares.obsidiancors.headers.accesscontrolmaxage: "3600" traefik.http.middlewares.obsidiancors.headers.addvaryheader: "true" traefik.http.middlewares.obsidiancors.headers.accessControlAllowCredentials: "true" ```
vrtmrz commented 2 months ago

Thank you for opening the issue and sharing the detailed information!

The last screenshot indicates that the status code was 524. It possibly means A Timeout Occurred which of the Cloudflare. Would you mind if I ask you to check the log of Cloudflare, please?

I forgot the reason but, I disabled the proxy of my Cloudflare DNS setting for my server. Possibly this could be a related one.

CrazyTim71 commented 2 months ago

Thanks for your answer. I just disabled Cloudflare and tried it again. I see less timeouts now, but the Sync is still not working. The symbol indicates that the sync is stopped:

grafik

I tried to overwrite the remote db with my local files. After that, the sync was still stopped and was changed to "on events". Therefore I applied the LiveSync preset again and reinstalled Obsidian on my phone. The replication was successfull there without any problems. The symbol shows "Synchronization in progress"

However, the changes made on my phone are not synced to my PC. My PC is always stuck on "Stopped". I think it even showed that there are new changes to pull, but failed to do so. The strange thing is that I don't see any errors in the console or the network tab. One thing I noticed is that my devices always lock the database and one is always stuck on "stopped"

grafik

Report from hatch ``` 10.9.2024, 11:12:23->Cache initialized 300 / 250000000000 10.9.2024, 11:12:23->loading plugin 10.9.2024, 11:12:23->Self-hosted LiveSync v0.23.21 0.23.21 10.9.2024, 11:12:23->xxhash for plugin initialised 10.9.2024, 11:12:23->Waiting for ready... 10.9.2024, 11:12:23->Cache initialized 10 / 1000000000 10.9.2024, 11:12:23->Cache initialized 300 / 50000000 10.9.2024, 11:12:23->Newer xxhash has been initialised 10.9.2024, 11:12:23->Opening Database... 10.9.2024, 11:12:23->Database info 10.9.2024, 11:12:23->Log window opened 10.9.2024, 11:12:23->{ "doc_count": 933, "update_seq": 966, "db_name": "Tim's Notes-f5e4f0dd0a1766c2-livesync-v2-indexeddb", "auto_compaction": false, "adapter": "indexeddb" } 10.9.2024, 11:12:23->Database is now ready. 10.9.2024, 11:12:23->Opening the key-value database 10.9.2024, 11:12:23->Initialize and checking database files 10.9.2024, 11:12:23->Checking deleted files 10.9.2024, 11:12:23->Collecting local files on the storage 10.9.2024, 11:12:23->Collecting local files on the DB 10.9.2024, 11:12:23->Collecting local files on the DB: 25 10.9.2024, 11:12:23->Collecting local files on the DB: 50 10.9.2024, 11:12:23->Collecting local files on the DB: 75 10.9.2024, 11:12:23->Total files in the database: 84 10.9.2024, 11:12:23->Total files in the storage: 82 10.9.2024, 11:12:23->Total files: 84 10.9.2024, 11:12:23->Files exist only in storage: 0 10.9.2024, 11:12:23->Files exist only in database: 2 10.9.2024, 11:12:23->Files exist both in storage and database: 82 10.9.2024, 11:12:23->Synchronising... 10.9.2024, 11:12:23->UPDATE DATABASE: Nothing to do 10.9.2024, 11:12:23->UPDATE STORAGE 10.9.2024, 11:12:23->SYNC DATABASE AND STORAGE 10.9.2024, 11:12:23->Deletion history skipped: allgemein/untitled.md 10.9.2024, 11:12:23->Deletion history skipped: reverse engineering/_tools/test.md 10.9.2024, 11:12:23->UPDATE STORAGE All done: DONE:2, FAILED:0 10.9.2024, 11:12:23->Initialized, NOW TRACKING! 10.9.2024, 11:12:23->Synchronizing hidden files... 10.9.2024, 11:12:23->UPDATE STORAGE All done: DONE:2, FAILED:0 SYNC DATABASE AND STORAGE All done: DONE:82, FAILED:0 10.9.2024, 11:12:23->Scanning hidden files. 10.9.2024, 11:12:24->Chunks saved (with fixed): doc: .obsidian/workspace.json ,chunks: 1 (new:1, recycled:0, cached:0) 10.9.2024, 11:12:24->STORAGE --> DB:.obsidian/workspace.json: (hidden) Done 10.9.2024, 11:12:26->Hidden files scanned: 6 files had been modified 10.9.2024, 11:12:26->Synchronizing hidden files done 10.9.2024, 11:12:26->Cache initialized 300 / 50000000 10.9.2024, 11:12:26->Scanning hidden files. 10.9.2024, 11:12:29->Hidden files scanned: 2 files had been modified 10.9.2024, 11:12:29->Modifying callback of the save command 10.9.2024, 11:12:29->Additional safety scan.. 10.9.2024, 11:12:29->Checking storage sizes 10.9.2024, 11:12:29->Before LiveSync, start OneShot once... 10.9.2024, 11:12:29->OneShot Sync begin... (pullOnly) 10.9.2024, 11:12:30->Remote storage size: 4.84MB 10.9.2024, 11:12:30->There are no conflicted files 10.9.2024, 11:12:30->Additional safety scan done 10.9.2024, 11:12:30->Bulk sending chunks to remote database... 10.9.2024, 11:12:30->Looking for the point last synchronized point. 10.9.2024, 11:12:30->All changeset has been scanned (Last seq = 968). 10.9.2024, 11:12:30->Found 2 chunks to check (Since 964). 10.9.2024, 11:12:30->Queued 1 chunks. (Since 964). 10.9.2024, 11:12:30->Sending 1 (8402 => 8.21KB in plain) chunks to remote database... 10.9.2024, 11:12:30->↑ Uploading chunks 1/1 (0) 10.9.2024, 11:12:30->↑ Uploading chunks 1/1 (1) 10.9.2024, 11:12:30->1 chunks Uploaded 10.9.2024, 11:12:30->Replication activated 10.9.2024, 11:12:30->Replication paused 10.9.2024, 11:12:30->Replication completed 10.9.2024, 11:12:30->LiveSync begin... 10.9.2024, 11:12:30->Replication activated 10.9.2024, 11:13:29->Scanning hidden files. 10.9.2024, 11:13:33->Hidden files scanned: 0 files had been modified 10.9.2024, 11:14:29->Scanning hidden files. 10.9.2024, 11:14:32->Hidden files scanned: 0 files had been modified 10.9.2024, 11:15:29->Scanning hidden files. 10.9.2024, 11:15:33->Hidden files scanned: 0 files had been modified 10.9.2024, 11:16:29->Scanning hidden files. 10.9.2024, 11:16:33->Hidden files scanned: 0 files had been modified 10.9.2024, 11:16:50->CRYPT LOGIC OK 10.9.2024, 11:16:50->CRYPT LOGIC OK (Binary) 10.9.2024, 11:16:50->CRYPT LOGIC (V3) OK 10.9.2024, 11:16:50->Hidden files and plugin synchronization have been temporarily disabled. Please enable them after the fetching, if you need them. 10.9.2024, 11:16:50->All synchronizations have been temporarily disabled. Please enable them after the fetching, if you need them. 10.9.2024, 11:16:52->Hidden files and plugin synchronization have been temporarily disabled. Please enable them after the fetching, if you need them. 10.9.2024, 11:16:52->Replication closed 10.9.2024, 11:16:52->Cache initialized 300 / 50000000 10.9.2024, 11:16:53->Unlock remote database to prevent data corruption 10.9.2024, 11:16:53->Unlock remote database to prevent data corruption 10.9.2024, 11:16:53->Lock remote database to prevent data corruption 10.9.2024, 11:16:53->Remote Database Destroyed 10.9.2024, 11:16:53->Just checkpoint or some server information has been missing. The 404 error shown above is not an error. 10.9.2024, 11:16:53->Remote Database Created or Connected 10.9.2024, 11:16:53->Just checkpoint or some server information has been missing. The 404 error shown above is not an error. 10.9.2024, 11:16:53->Just checkpoint or some server information has been missing. The 404 error shown above is not an error. 10.9.2024, 11:16:53->Just checkpoint or some server information has been missing. The 404 error shown above is not an error. 10.9.2024, 11:16:53->Lock remote database to prevent data corruption 10.9.2024, 11:16:54->Hidden files and plugin synchronization have been temporarily disabled. Please enable them after the fetching, if you need them. 10.9.2024, 11:16:59->Hidden files and plugin synchronization have been temporarily disabled. Please enable them after the fetching, if you need them. 10.9.2024, 11:16:59->Gathering files for enabling Hidden File Sync 10.9.2024, 11:16:59->Scanning hidden files. 10.9.2024, 11:17:02->Hidden files scanned: 27 files had been modified 10.9.2024, 11:17:02->Cache initialized 300 / 50000000 10.9.2024, 11:17:02->Done! Restarting the app is strongly recommended! 10.9.2024, 11:17:02->Scanning hidden files. 10.9.2024, 11:17:03->OneShot Sync begin... (pushOnly) 10.9.2024, 11:17:03->Bulk sending chunks to remote database... 10.9.2024, 11:17:03->Looking for the point last synchronized point. 10.9.2024, 11:17:03->Found 500 chunks to check (Since 0). 10.9.2024, 11:17:04->Queued 500 chunks. (Since 0). 10.9.2024, 11:17:04->All changeset has been scanned (Last seq = 968). 10.9.2024, 11:17:04->Found 322 chunks to check (Since 535). 10.9.2024, 11:17:04->Queued 822 chunks. (Since 535). 10.9.2024, 11:17:04->Sending 200 (159443 => 155.71KB in plain) chunks to remote database... 10.9.2024, 11:17:04->Sending 200 (36621 => 35.76KB in plain) chunks to remote database... 10.9.2024, 11:17:04->Sending 200 (35488 => 34.66KB in plain) chunks to remote database... 10.9.2024, 11:17:04->Sending 200 (2839182 => 2.71MB in plain) chunks to remote database... 10.9.2024, 11:17:04->Sending 22 (143877 => 140.50KB in plain) chunks to remote database... 10.9.2024, 11:17:04->↑ Uploading chunks 200/822 (0) 10.9.2024, 11:17:04->↑ Uploading chunks 400/822 (0) 10.9.2024, 11:17:04->↑ Uploading chunks 600/822 (0) 10.9.2024, 11:17:04->↑ Uploading chunks 800/822 (0) 10.9.2024, 11:17:05->Hidden files scanned: 0 files had been modified 10.9.2024, 11:17:20->↑ Uploading chunks 800/822 (200) 10.9.2024, 11:17:20->↑ Uploading chunks 822/822 (200) 10.9.2024, 11:17:20->↑ Uploading chunks 822/822 (400) 10.9.2024, 11:17:20->↑ Uploading chunks 822/822 (600) 10.9.2024, 11:17:20->↑ Uploading chunks 822/822 (800) 10.9.2024, 11:17:20->↑ Uploading chunks 822/822 (822) 10.9.2024, 11:17:20->822 chunks Uploaded 10.9.2024, 11:17:20->Looking for the point last synchronized point. 10.9.2024, 11:17:20->Just checkpoint or some server information has been missing. The 404 error shown above is not an error. 10.9.2024, 11:17:20->Replication activated 10.9.2024, 11:17:21->↑25 (511) ↓0 10.9.2024, 11:17:21->Just checkpoint or some server information has been missing. The 404 error shown above is not an error. 10.9.2024, 11:17:22->↑50 (333) ↓0 10.9.2024, 11:17:24->↑75 (150) ↓0 10.9.2024, 11:17:24->↑100 (87) ↓0 10.9.2024, 11:17:24->↑111 (LIVE) ↓0 10.9.2024, 11:17:24->Replication paused 10.9.2024, 11:17:24->Replication completed 10.9.2024, 11:17:25->OneShot Sync begin... (pushOnly) 10.9.2024, 11:17:25->Bulk sending chunks to remote database... 10.9.2024, 11:17:25->Looking for the point last synchronized point. 10.9.2024, 11:17:25->Found 500 chunks to check (Since 0). 10.9.2024, 11:17:26->No chunks to send. (Since 0). 10.9.2024, 11:17:26->All changeset has been scanned (Last seq = 968). 10.9.2024, 11:17:26->Found 322 chunks to check (Since 535). 10.9.2024, 11:17:26->No chunks to send. (Since 535). 10.9.2024, 11:17:26->0 chunks Uploaded 10.9.2024, 11:17:26->Looking for the point last synchronized point. 10.9.2024, 11:17:26->Replication paused 10.9.2024, 11:17:26->Replication completed 10.9.2024, 11:18:06->Scanning hidden files. 10.9.2024, 11:18:10->Hidden files scanned: 0 files had been modified 10.9.2024, 11:18:46->Scanning hidden files. 10.9.2024, 11:18:49->Hidden files scanned: 0 files had been modified 10.9.2024, 11:18:56->Scanning hidden files. 10.9.2024, 11:19:00->Hidden files scanned: 0 files had been modified 10.9.2024, 11:19:18->Scanning hidden files. 10.9.2024, 11:19:22->Hidden files scanned: 0 files had been modified 10.9.2024, 11:20:22->Scanning hidden files. 10.9.2024, 11:20:26->Hidden files scanned: 0 files had been modified 10.9.2024, 11:20:26->Scanning hidden files. 10.9.2024, 11:20:29->Hidden files scanned: 0 files had been modified 10.9.2024, 11:20:45->Chunks saved (with fixed): doc: .obsidian/workspace.json ,chunks: 1 (new:1, recycled:0, cached:0) 10.9.2024, 11:20:45->STORAGE --> DB:.obsidian/workspace.json: (hidden) Done 10.9.2024, 11:21:30->Scanning hidden files. 10.9.2024, 11:21:34->Hidden files scanned: 1 files had been modified 10.9.2024, 11:21:39->Scanning hidden files. 10.9.2024, 11:21:42->Hidden files scanned: 0 files had been modified 10.9.2024, 11:24:09->Cache initialized 300 / 250000000000 10.9.2024, 11:24:09->loading plugin 10.9.2024, 11:24:09->Self-hosted LiveSync v0.23.21 0.23.21 10.9.2024, 11:24:09->xxhash for plugin initialised 10.9.2024, 11:24:10->Waiting for ready... 10.9.2024, 11:24:10->Cache initialized 10 / 1000000000 10.9.2024, 11:24:10->Cache initialized 300 / 50000000 10.9.2024, 11:24:10->Newer xxhash has been initialised 10.9.2024, 11:24:10->Opening Database... 10.9.2024, 11:24:10->Database info 10.9.2024, 11:24:10->{ "doc_count": 935, "update_seq": 970, "db_name": "Tim's Notes-f5e4f0dd0a1766c2-livesync-v2-indexeddb", "auto_compaction": false, "adapter": "indexeddb" } 10.9.2024, 11:24:10->Database is now ready. 10.9.2024, 11:24:10->Log window opened 10.9.2024, 11:24:10->Opening the key-value database 10.9.2024, 11:24:10->Initialize and checking database files 10.9.2024, 11:24:10->Checking deleted files 10.9.2024, 11:24:10->Collecting local files on the storage 10.9.2024, 11:24:10->Collecting local files on the DB 10.9.2024, 11:24:10->Collecting local files on the DB: 25 10.9.2024, 11:24:10->Collecting local files on the DB: 50 10.9.2024, 11:24:10->Collecting local files on the DB: 75 10.9.2024, 11:24:10->Total files in the database: 84 10.9.2024, 11:24:10->Total files in the storage: 82 10.9.2024, 11:24:10->Total files: 84 10.9.2024, 11:24:10->Files exist only in storage: 0 10.9.2024, 11:24:10->Files exist only in database: 2 10.9.2024, 11:24:10->Files exist both in storage and database: 82 10.9.2024, 11:24:10->Synchronising... 10.9.2024, 11:24:10->UPDATE DATABASE: Nothing to do 10.9.2024, 11:24:10->UPDATE STORAGE 10.9.2024, 11:24:10->SYNC DATABASE AND STORAGE 10.9.2024, 11:24:10->Deletion history skipped: allgemein/untitled.md 10.9.2024, 11:24:10->Deletion history skipped: reverse engineering/_tools/test.md 10.9.2024, 11:24:10->UPDATE STORAGE All done: DONE:2, FAILED:0 10.9.2024, 11:24:10->Initialized, NOW TRACKING! 10.9.2024, 11:24:10->Synchronizing hidden files... 10.9.2024, 11:24:10->UPDATE STORAGE All done: DONE:2, FAILED:0 SYNC DATABASE AND STORAGE All done: DONE:82, FAILED:0 10.9.2024, 11:24:10->Scanning hidden files. 10.9.2024, 11:24:13->Hidden files scanned: 6 files had been modified 10.9.2024, 11:24:13->Synchronizing hidden files done 10.9.2024, 11:24:13->Cache initialized 300 / 50000000 10.9.2024, 11:24:13->Scanning hidden files. 10.9.2024, 11:24:16->Hidden files scanned: 2 files had been modified 10.9.2024, 11:24:16->Modifying callback of the save command 10.9.2024, 11:24:16->Additional safety scan.. 10.9.2024, 11:24:16->Checking storage sizes 10.9.2024, 11:24:16->Remote storage size: 4.36MB 10.9.2024, 11:24:17->There are no conflicted files 10.9.2024, 11:24:17->Additional safety scan done 10.9.2024, 11:25:17->Scanning hidden files. 10.9.2024, 11:25:21->Hidden files scanned: 0 files had been modified 10.9.2024, 11:25:33->Scanning hidden files. 10.9.2024, 11:25:36->Hidden files scanned: 0 files had been modified 10.9.2024, 11:25:50->Synchronization setting configured as LiveSync. 10.9.2024, 11:25:50->Cache initialized 300 / 50000000 10.9.2024, 11:25:50->Cache initialized 300 / 50000000 10.9.2024, 11:25:50->Scanning hidden files. 10.9.2024, 11:25:50->Scanning hidden files. 10.9.2024, 11:25:53->Hidden files scanned: 0 files had been modified 10.9.2024, 11:25:53->Before LiveSync, start OneShot once... 10.9.2024, 11:25:53->OneShot Sync begin... (pullOnly) 10.9.2024, 11:25:53->Hidden files scanned: 0 files had been modified 10.9.2024, 11:25:53->Bulk sending chunks to remote database... 10.9.2024, 11:25:53->Looking for the point last synchronized point. 10.9.2024, 11:25:53->All changeset has been scanned (Last seq = 970). 10.9.2024, 11:25:53->Found 1 chunks to check (Since 968). 10.9.2024, 11:25:53->Queued 1 chunks. (Since 968). 10.9.2024, 11:25:53->Sending 1 (8398 => 8.20KB in plain) chunks to remote database... 10.9.2024, 11:25:53->↑ Uploading chunks 1/1 (0) 10.9.2024, 11:25:54->↑ Uploading chunks 1/1 (1) 10.9.2024, 11:25:54->1 chunks Uploaded 10.9.2024, 11:25:54->Just checkpoint or some server information has been missing. The 404 error shown above is not an error. 10.9.2024, 11:25:54->Replication activated 10.9.2024, 11:25:56->Replication paused 10.9.2024, 11:25:56->Replication completed 10.9.2024, 11:25:56->LiveSync begin... 10.9.2024, 11:25:56->Just checkpoint or some server information has been missing. The 404 error shown above is not an error. 10.9.2024, 11:25:56->Replication activated 10.9.2024, 11:25:56->Just checkpoint or some server information has been missing. The 404 error shown above is not an error. 10.9.2024, 11:26:15->Replication closed 10.9.2024, 11:26:54->Scanning hidden files. 10.9.2024, 11:26:58->Hidden files scanned: 0 files had been modified 10.9.2024, 11:27:31->Scanning hidden files. 10.9.2024, 11:27:34->Hidden files scanned: 0 files had been modified 10.9.2024, 11:27:34->Before LiveSync, start OneShot once... 10.9.2024, 11:27:34->OneShot Sync begin... (pullOnly) 10.9.2024, 11:27:34->Bulk sending chunks to remote database... 10.9.2024, 11:27:34->Looking for the point last synchronized point. 10.9.2024, 11:27:34->All changeset has been scanned (Last seq = 971). 10.9.2024, 11:27:34->Found 1 chunks to check (Since 968). 10.9.2024, 11:27:35->No chunks to send. (Since 968). 10.9.2024, 11:27:35->0 chunks Uploaded 10.9.2024, 11:27:35->Replication paused 10.9.2024, 11:27:35->Replication completed 10.9.2024, 11:27:35->LiveSync begin... 10.9.2024, 11:27:35->Replication activated 10.9.2024, 11:28:34->Scanning hidden files. 10.9.2024, 11:28:37->Hidden files scanned: 0 files had been modified 10.9.2024, 11:29:35->Replication closed 10.9.2024, 11:29:35->Scanning hidden files. 10.9.2024, 11:29:39->Hidden files scanned: 0 files had been modified 10.9.2024, 11:30:35->Scanning hidden files. 10.9.2024, 11:30:39->Hidden files scanned: 0 files had been modified 10.9.2024, 11:31:29->Scanning hidden files. 10.9.2024, 11:31:32->Hidden files scanned: 0 files had been modified 10.9.2024, 11:31:32->Before LiveSync, start OneShot once... 10.9.2024, 11:31:32->OneShot Sync begin... (pullOnly) 10.9.2024, 11:31:51->Chunks saved (with fixed): doc: .obsidian/workspace.json ,chunks: 1 (new:1, recycled:0, cached:0) 10.9.2024, 11:31:51->STORAGE --> DB:.obsidian/workspace.json: (hidden) Done 10.9.2024, 11:32:19->Scanning hidden files. 10.9.2024, 11:32:22->Hidden files scanned: 1 files had been modified 10.9.2024, 11:32:33->Log window opened 10.9.2024, 11:32:34->Chunks saved (with fixed): doc: .obsidian/workspace.json ,chunks: 1 (new:1, recycled:0, cached:0) 10.9.2024, 11:32:34->STORAGE --> DB:.obsidian/workspace.json: (hidden) Done 10.9.2024, 11:33:23->Scanning hidden files. 10.9.2024, 11:33:27->Hidden files scanned: 1 files had been modified 10.9.2024, 11:34:23->Scanning hidden files. 10.9.2024, 11:34:27->Hidden files scanned: 0 files had been modified 10.9.2024, 11:35:23->Scanning hidden files. 10.9.2024, 11:35:27->Hidden files scanned: 0 files had been modified 10.9.2024, 11:35:41->Scanning hidden files. 10.9.2024, 11:35:44->Hidden files scanned: 0 files had been modified 10.9.2024, 11:36:00->Scanning hidden files. 10.9.2024, 11:36:03->Hidden files scanned: 0 files had been modified 10.9.2024, 11:36:58->Scanning hidden files. 10.9.2024, 11:24:09->Cache initialized 300 / 250000000000 10.9.2024, 11:24:09->loading plugin 10.9.2024, 11:24:09->Self-hosted LiveSync v0.23.21 0.23.21 10.9.2024, 11:24:09->xxhash for plugin initialised 10.9.2024, 11:24:10->Waiting for ready... 10.9.2024, 11:24:10->Cache initialized 10 / 1000000000 10.9.2024, 11:24:10->Cache initialized 300 / 50000000 10.9.2024, 11:24:10->Newer xxhash has been initialised 10.9.2024, 11:24:10->Opening Database... 10.9.2024, 11:24:10->Database info 10.9.2024, 11:24:10->{ "doc_count": 935, "update_seq": 970, "db_name": "Tim's Notes-f5e4f0dd0a1766c2-livesync-v2-indexeddb", "auto_compaction": false, "adapter": "indexeddb" } 10.9.2024, 11:24:10->Database is now ready. 10.9.2024, 11:24:10->Log window opened 10.9.2024, 11:24:10->Opening the key-value database 10.9.2024, 11:24:10->Initialize and checking database files 10.9.2024, 11:24:10->Checking deleted files 10.9.2024, 11:24:10->Collecting local files on the storage 10.9.2024, 11:24:10->Collecting local files on the DB 10.9.2024, 11:24:10->Collecting local files on the DB: 25 10.9.2024, 11:24:10->Collecting local files on the DB: 50 10.9.2024, 11:24:10->Collecting local files on the DB: 75 10.9.2024, 11:24:10->Total files in the database: 84 10.9.2024, 11:24:10->Total files in the storage: 82 10.9.2024, 11:24:10->Total files: 84 10.9.2024, 11:24:10->Files exist only in storage: 0 10.9.2024, 11:24:10->Files exist only in database: 2 10.9.2024, 11:24:10->Files exist both in storage and database: 82 10.9.2024, 11:24:10->Synchronising... 10.9.2024, 11:24:10->UPDATE DATABASE: Nothing to do 10.9.2024, 11:24:10->UPDATE STORAGE 10.9.2024, 11:24:10->SYNC DATABASE AND STORAGE 10.9.2024, 11:24:10->Deletion history skipped: allgemein/untitled.md 10.9.2024, 11:24:10->Deletion history skipped: reverse engineering/_tools/test.md 10.9.2024, 11:24:10->UPDATE STORAGE All done: DONE:2, FAILED:0 10.9.2024, 11:24:10->Initialized, NOW TRACKING! 10.9.2024, 11:24:10->Synchronizing hidden files... 10.9.2024, 11:24:10->UPDATE STORAGE All done: DONE:2, FAILED:0 SYNC DATABASE AND STORAGE All done: DONE:82, FAILED:0 10.9.2024, 11:24:10->Scanning hidden files. 10.9.2024, 11:24:13->Hidden files scanned: 6 files had been modified 10.9.2024, 11:24:13->Synchronizing hidden files done 10.9.2024, 11:24:13->Cache initialized 300 / 50000000 10.9.2024, 11:24:13->Scanning hidden files. 10.9.2024, 11:24:16->Hidden files scanned: 2 files had been modified 10.9.2024, 11:24:16->Modifying callback of the save command 10.9.2024, 11:24:16->Additional safety scan.. 10.9.2024, 11:24:16->Checking storage sizes 10.9.2024, 11:24:16->Remote storage size: 4.36MB 10.9.2024, 11:24:17->There are no conflicted files 10.9.2024, 11:24:17->Additional safety scan done 10.9.2024, 11:25:17->Scanning hidden files. 10.9.2024, 11:25:21->Hidden files scanned: 0 files had been modified 10.9.2024, 11:25:33->Scanning hidden files. 10.9.2024, 11:25:36->Hidden files scanned: 0 files had been modified 10.9.2024, 11:25:50->Synchronization setting configured as LiveSync. 10.9.2024, 11:25:50->Cache initialized 300 / 50000000 10.9.2024, 11:25:50->Cache initialized 300 / 50000000 10.9.2024, 11:25:50->Scanning hidden files. 10.9.2024, 11:25:50->Scanning hidden files. 10.9.2024, 11:25:53->Hidden files scanned: 0 files had been modified 10.9.2024, 11:25:53->Before LiveSync, start OneShot once... 10.9.2024, 11:25:53->OneShot Sync begin... (pullOnly) 10.9.2024, 11:25:53->Hidden files scanned: 0 files had been modified 10.9.2024, 11:25:53->Bulk sending chunks to remote database... 10.9.2024, 11:25:53->Looking for the point last synchronized point. 10.9.2024, 11:25:53->All changeset has been scanned (Last seq = 970). 10.9.2024, 11:25:53->Found 1 chunks to check (Since 968). 10.9.2024, 11:25:53->Queued 1 chunks. (Since 968). 10.9.2024, 11:25:53->Sending 1 (8398 => 8.20KB in plain) chunks to remote database... 10.9.2024, 11:25:53->↑ Uploading chunks 1/1 (0) 10.9.2024, 11:25:54->↑ Uploading chunks 1/1 (1) 10.9.2024, 11:25:54->1 chunks Uploaded 10.9.2024, 11:25:54->Just checkpoint or some server information has been missing. The 404 error shown above is not an error. 10.9.2024, 11:25:54->Replication activated 10.9.2024, 11:25:56->Replication paused 10.9.2024, 11:25:56->Replication completed 10.9.2024, 11:25:56->LiveSync begin... 10.9.2024, 11:25:56->Just checkpoint or some server information has been missing. The 404 error shown above is not an error. 10.9.2024, 11:25:56->Replication activated 10.9.2024, 11:25:56->Just checkpoint or some server information has been missing. The 404 error shown above is not an error. 10.9.2024, 11:26:15->Replication closed 10.9.2024, 11:26:54->Scanning hidden files. 10.9.2024, 11:26:58->Hidden files scanned: 0 files had been modified 10.9.2024, 11:27:31->Scanning hidden files. 10.9.2024, 11:27:34->Hidden files scanned: 0 files had been modified 10.9.2024, 11:27:34->Before LiveSync, start OneShot once... 10.9.2024, 11:27:34->OneShot Sync begin... (pullOnly) 10.9.2024, 11:27:34->Bulk sending chunks to remote database... 10.9.2024, 11:27:34->Looking for the point last synchronized point. 10.9.2024, 11:27:34->All changeset has been scanned (Last seq = 971). 10.9.2024, 11:27:34->Found 1 chunks to check (Since 968). 10.9.2024, 11:27:35->No chunks to send. (Since 968). 10.9.2024, 11:27:35->0 chunks Uploaded 10.9.2024, 11:27:35->Replication paused 10.9.2024, 11:27:35->Replication completed 10.9.2024, 11:27:35->LiveSync begin... 10.9.2024, 11:27:35->Replication activated 10.9.2024, 11:28:34->Scanning hidden files. 10.9.2024, 11:28:37->Hidden files scanned: 0 files had been modified 10.9.2024, 11:29:35->Replication closed 10.9.2024, 11:29:35->Scanning hidden files. 10.9.2024, 11:29:39->Hidden files scanned: 0 files had been modified 10.9.2024, 11:30:35->Scanning hidden files. 10.9.2024, 11:30:39->Hidden files scanned: 0 files had been modified 10.9.2024, 11:31:29->Scanning hidden files. 10.9.2024, 11:31:32->Hidden files scanned: 0 files had been modified 10.9.2024, 11:31:32->Before LiveSync, start OneShot once... 10.9.2024, 11:31:32->OneShot Sync begin... (pullOnly) 10.9.2024, 11:31:51->Chunks saved (with fixed): doc: .obsidian/workspace.json ,chunks: 1 (new:1, recycled:0, cached:0) 10.9.2024, 11:31:51->STORAGE --> DB:.obsidian/workspace.json: (hidden) Done 10.9.2024, 11:32:19->Scanning hidden files. 10.9.2024, 11:32:22->Hidden files scanned: 1 files had been modified 10.9.2024, 11:32:33->Log window opened 10.9.2024, 11:32:34->Chunks saved (with fixed): doc: .obsidian/workspace.json ,chunks: 1 (new:1, recycled:0, cached:0) 10.9.2024, 11:32:34->STORAGE --> DB:.obsidian/workspace.json: (hidden) Done 10.9.2024, 11:33:23->Scanning hidden files. 10.9.2024, 11:33:27->Hidden files scanned: 1 files had been modified 10.9.2024, 11:34:23->Scanning hidden files. 10.9.2024, 11:34:27->Hidden files scanned: 0 files had been modified 10.9.2024, 11:35:23->Scanning hidden files. 10.9.2024, 11:35:27->Hidden files scanned: 0 files had been modified 10.9.2024, 11:35:41->Scanning hidden files. 10.9.2024, 11:35:44->Hidden files scanned: 0 files had been modified 10.9.2024, 11:36:00->Scanning hidden files. 10.9.2024, 11:36:03->Hidden files scanned: 0 files had been modified 10.9.2024, 11:36:58->Scanning hidden files. 10.9.2024, 11:37:02->Hidden files scanned: 0 files had been modified 10.9.2024, 11:38:02->Scanning hidden files. 10.9.2024, 11:38:06->Hidden files scanned: 0 files had been modified 10.9.2024, 11:38:22->Bulk sending chunks to remote database... 10.9.2024, 11:38:22->Unlock remote database to prevent data corruption 10.9.2024, 11:38:22->Looking for the point last synchronized point. 10.9.2024, 11:38:22->All changeset has been scanned (Last seq = 975). 10.9.2024, 11:38:22->Found 2 chunks to check (Since 971). 10.9.2024, 11:38:22->Queued 2 chunks. (Since 971). 10.9.2024, 11:38:22->Sending 2 (17184 => 16.78KB in plain) chunks to remote database... 10.9.2024, 11:38:22->↑ Uploading chunks 2/2 (0) 10.9.2024, 11:38:22->↑ Uploading chunks 2/2 (2) 10.9.2024, 11:38:22->2 chunks Uploaded 10.9.2024, 11:38:22->Replication activated 10.9.2024, 11:38:22->Replication paused 10.9.2024, 11:38:22->Replication completed 10.9.2024, 11:38:22->LiveSync begin... 10.9.2024, 11:38:22->Replication activated 10.9.2024, 11:38:34->Scanning hidden files. 10.9.2024, 11:38:37->Hidden files scanned: 0 files had been modified 10.9.2024, 11:38:44->Chunks saved (with fixed): doc: .obsidian/workspace.json ,chunks: 1 (new:1, recycled:0, cached:0) 10.9.2024, 11:38:44->STORAGE --> DB:.obsidian/workspace.json: (hidden) Done 10.9.2024, 11:38:53->Chunks saved (with fixed): doc: Allgemein/BΓΌcher.md ,chunks: 9 (new:2, recycled:7, cached:0) 10.9.2024, 11:38:53->STORAGE -> DB (plain) Allgemein/BΓΌcher.md 10.9.2024, 11:39:20->Replication closed 10.9.2024, 11:39:27->Scanning hidden files. 10.9.2024, 11:39:30->Hidden files scanned: 1 files had been modified 10.9.2024, 11:39:30->Before LiveSync, start OneShot once... 10.9.2024, 11:39:30->OneShot Sync begin... (pullOnly) 10.9.2024, 11:40:13->Scanning hidden files. 10.9.2024, 11:40:15->Log window opened 10.9.2024, 11:40:16->Hidden files scanned: 0 files had been modified 10.9.2024, 11:40:16->Chunks saved (with fixed): doc: .obsidian/workspace.json ,chunks: 1 (new:1, recycled:0, cached:0) 10.9.2024, 11:40:16->STORAGE --> DB:.obsidian/workspace.json: (hidden) Done ```
chriscross12324 commented 1 week ago

Also experiencing this issue. Although I can't confirm (as I haven't looked at the logs), both my devices show the "Stopped" emoji, and my Android Device shows the warning with the "unlock the database" button (clicking it does nothing).