Closed phirestalker closed 3 months ago
I added other details, but I don't see them on the above post. Are they hidden. I also see them when I edit the post.
Oh, forgot to mention. I have not changed the password or the setting on either obsidian-livesync or the couchdb server. Also, I am able to log-in to the couchdb server's interface. I can see the database and my entry in the _users database that I created a while ago.
ok, it seems like the update to the couchdb docker image cleared all the settings. Is there a way to just add the correct settings with a script and not recreate (or delte) the existing database
EDIT: nvm, I figured it out, just used check and fix in the plugin settings. Great plugin! It is now conflicting a LOT of files. I hope it can sort it all out. I did not edit many files while the sync was down. i mostly added new files, so I am not sure why all the conflicts. If i run into trouble with the conflicts, should I open a new issue for help?
Abstract
None of my devices are syncing. They all give the error in the title.
Expected behaviour
Replication completed
Actually happened
TypeError ...
(captured in the attached log, around LL.10-LL.12)Reproducing procedure
TypeError ...
.Report materials
?
Report from the LiveSync
For more information, please refer to Making the report.
Report from hatch
``` ---- Obsidian info ---- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.6.5 Chrome/124.0.6367.243 Electron/30.1.2 Safari/537.36 ---- remote config ---- Requesting information from the remote CouchDB has failed. If you are using IBM Cloudant, this is normal behaviour. ---- Plug-in config --- version:0.23.20 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: false 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: false syncInternalFilesBeforeReplication: false syncInternalFilesIgnorePatterns: \/node_modules\/, \/\.git\/, \/obsidian-livesync\/ syncInternalFilesInterval: 60 additionalSuffixOfDatabaseName: 82daa56d2de6f105 ignoreVersionCheck: false lastReadUpdates: 23 deleteMetadataOfDeletedFiles: false syncIgnoreRegEx: "" syncOnlyRegEx: "" customChunkSize: 50 readChunksOnline: true watchInternalFileChanges: true automaticallyDeleteMetadataOfDeletedFiles: 0 disableMarkdownAutoMerge: false writeDocumentsIfConflicted: true 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: 0 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 configPassphrase: "" preset: "" syncMode: LIVESYNC dummy: 0 ```Obsidian debug info
Debug info
``` ```Plug-in log
Plug-in log
``` 8/5/2024, 4:54:42 AM->OneShot Sync begin... (sync) 8/5/2024, 4:54:42 AM->HTTP:GET to:/ -> failed 8/5/2024, 4:54:42 AM->TypeError:Failed to fetch 8/5/2024, 4:54:42 AM->TypeError:Failed to fetch 8/5/2024, 4:54:42 AM->Could not connect to https://couchdb.fakedomain.com/phire-obsidian: TypeError:Failed to fetch **Note** This error caused by many reasons. The only sure thing is you didn't touch the server. To check details, open inspector. 8/5/2024, 4:54:42 AM->Could not connect to server. 8/5/2024, 4:55:15 AM->Before LiveSync, start OneShot once... 8/5/2024, 4:55:15 AM->OneShot Sync begin... (pullOnly)```Network log
Other information, insights and intuition.
There were updates to couchdb, obsidian, and this livesync plugin recently. I am unsure which one changed things. I also have some relevant logs from the couchdb server.
These repeat over and over