vrtmrz / obsidian-livesync

MIT License
4.67k stars 150 forks source link

Sync error in iphone and need fix configuration all the time #261

Open lisasuosuo opened 1 year ago

lisasuosuo commented 1 year ago

Abstract

When I use iphone to sync as second device, It always error ,need me to fix the error in "check database configuration", and then recyle the process. Even the ipyhon vault is void.

Maybe it is because the vault in win is too big ? And I sync almost 50 pluggin configuration use custom sycn with 5 device version. I don't know how to delete existed device custom hidden file version

Report materials

----remote config---- cors: credentials: "true" origins: app://obsidian.md,capacitor://localhost,http://localhost chttpd: bind_address: any 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" view_index_dir: ./data uuid: "𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷"

---- Plug-in config --- couchDB_URI: self-hosted 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: false periodicReplication: false periodicReplicationInterval: 60 syncOnFileOpen: false encrypt: false passphrase: "𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷" usePathObfuscation: false doNotDeleteFolder: true resolveConflictsByNewerFile: true batchSave: false deviceAndVaultName: "" usePluginSettings: false showOwnPlugins: false showStatusOnEditor: true usePluginSync: false autoSweepPlugins: false autoSweepPluginsPeriodic: false notifyPluginOrSettingUpdated: false checkIntegrityOnSave: false batch_size: 50 batches_limit: 40 useHistory: true disableRequestURI: true skipOlderFilesOnSync: true checkConflictOnlyOnOpen: false syncInternalFiles: false syncInternalFilesBeforeReplication: true syncInternalFilesIgnorePatterns: \/node_modules\/, \/.git\/, \/obsidian-livesync\/,\/workspace$ ,\/workspace.json$ syncInternalFilesInterval: 60 additionalSuffixOfDatabaseName: "" ignoreVersionCheck: false lastReadUpdates: 19 deleteMetadataOfDeletedFiles: false syncIgnoreRegEx: "" syncOnlyRegEx: "" customChunkSize: 300 readChunksOnline: true watchInternalFileChanges: true automaticallyDeleteMetadataOfDeletedFiles: 0 disableMarkdownAutoMerge: true writeDocumentsIfConflicted: true useDynamicIterationCount: false syncAfterMerge: false configPassphraseStore: "" encryptedPassphrase: "𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷" encryptedCouchDBConnection: "𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷" permitEmptyPassphrase: false useIndexedDBAdapter: true useTimeouts: false writeLogToTheFile: false doNotPaceReplication: false hashCacheMaxCount: 300 hashCacheMaxAmount: 50 concurrencyOfReadChunksOnline: 100 minimumIntervalOfReadChunksOnline: 333 hashAlg: xxhash64 suspendParseReplicationResult: false doNotSuspendOnFetching: false useIgnoreFiles: false ignoreFiles: .gitignore

Obsidian debug info

625993e9dbfe31d3ddce8480909b74d

vrtmrz commented 1 year ago

Sorry for the delay! If you are using fly.io, have you enabled the swap? Maybe it is the same as #225. Would you mind if I ask you to check #225, and the colab note that has been referred from the issue once, please?