obsidian-livesync icon indicating copy to clipboard operation
obsidian-livesync copied to clipboard

Deleted or Moved images re-appearing after sync.

Open MaximumPotato opened this issue 11 months ago β€’ 2 comments

Abstract

Moved or Deleted image files (.jpg, .png) are restored to their pre-existing location after syncing.

Expected behaviour

  • Deleted or moved images do not return after syncing. They should also be deleted or moved on other devices.

Actually happened

  • Images are pulled down from the database and restored to the location they were in prior to being moved or deleted. Files that were moved now exist in two locations.

Reproducing procedure

  1. A vault exists which contains one or more text files containing embedded images. The images are stored in Obsidians "Attachments" directory (The root of the vault, by default).
  2. Livesync is set up and configured to use a locally hosted CouchDB instance.
  3. Change the "Attachments" directory in Obsidian settings so that new attachments are stored in a subdirectory of the root, rather than the root of the vault. Unsure if this matters. The subdirectory is named "attachments" in my case.
  4. Move existing image files to the new attachments folder by dragging and dropping in the Obsidian UI. This moves the files and updates any references to their location in any text documents that reference them.
  5. Exit Obsidian.
  6. Open Obsidian.
  7. A prompt appears, stating "Fetch again has been scheduled. Are you sure?".
  8. Click "Yes".
  9. A Second prompt appears, stating "Trick to Transfer Efficiently. Do you want to create local chunks before fetching?"
  10. Click "Yes" or "No", both yield the same result.
  11. The vault syncs. Images are restored back to the root directory of the vault, in addition to continuing to exist in the "Attachments" folder.

Bonus Steps: 12. Delete the duplicate images from the root directory of the vault via the Obsidian UI. 13. Click "Delete" in the confirmation dialogue that comes up. 14. Exit and re-open obsidian. 15. A prompt appears, stating "Fetch again has been scheduled. Are you sure?". 16. Click "Yes". 17. A Second prompt appears, stating "Trick to Transfer Efficiently. Do you want to create local chunks before fetching?" 18. Click "Yes" or "No", both yield the same result. 19. The images reappear in their previous location after the vault syncs.

Report materials

Report from the LiveSync

Report from hatch
<!-- ---- Obsidian info ----
Navigator: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.7.7 Chrome/128.0.6613.186 Electron/32.2.5 Safari/537.36
FileSystem: insensitive
---- remote config ----
cluster:
  n: "1"
cors:
  credentials: "true"
  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
nouveau:
  url: http://127.0.0.1:5987
feature_flags:
  partitioned||*: "true"
chttpd_auth:
  hash_algorithms: sha256, sha
  require_valid_user: "true"
  secret: 8f90685a403ccd57ee20af7086666c47
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"
  uuid: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷
  view_index_dir: ./data

---- Plug-in config ---
version:0.24.7
remoteType: ""
useCustomRequestHandler: false
couchDB_URI: self-hosted(HTTP)
couchDB_USER: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷
couchDB_PASSWORD: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷
couchDB_DBNAME: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷
liveSync: false
syncOnSave: false
syncOnStart: false
savingDelay: 200
lessInformationInLog: false
gcDelay: 0
versionUpFlash: ""
minimumChunkSize: 20
longLineThreshold: 250
showVerboseLog: false
suspendFileWatching: true
trashInsteadDelete: true
periodicReplication: false
periodicReplicationInterval: 60
syncOnFileOpen: false
encrypt: true
passphrase: 𝑅𝐸𝐷𝐴𝐢𝑇𝐸𝐷
usePathObfuscation: false
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: 5b3fdc0297e093d9
ignoreVersionCheck: false
lastReadUpdates: 24
deleteMetadataOfDeletedFiles: false
syncIgnoreRegEx: ""
syncOnlyRegEx: ""
customChunkSize: 0
readChunksOnline: true
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: 40
minimumIntervalOfReadChunksOnline: 50
hashAlg: xxhash64
suspendParseReplicationResult: true
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: -1
usePluginSyncV2: false
usePluginEtc: false
handleFilenameCaseSensitive: false
doNotUseFixedRevisionForChunks: false
showLongerLogInsideEditor: false
sendChunksBulk: false
sendChunksBulkMaxSize: 1
useSegmenter: false
useAdvancedMode: false
usePowerUserMode: false
useEdgeCaseMode: false
enableDebugTools: false
suppressNotifyHiddenFilesChange: false
configPassphrase: ""
preset: ""
syncMode: ONEVENTS
dummy: 0
 -->

Obsidian debug info

Debug info
<!-- SYSTEM INFO:
	Obsidian version: v1.7.7
	Installer version: v1.7.7
	Operating system: Darwin Kernel Version 24.1.0: Thu Nov 14 18:15:21 PST 2024; root:xnu-11215.41.3~13/RELEASE_ARM64_T6041 24.1.0
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 2
	Plugins enabled: 2
		1: Self-hosted LiveSync v0.24.7
		2: Importer v1.6.19

RECOMMENDATIONS:
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
 -->

Plug-in log

Plug-in log
<!-- 1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) University/Persuasive Technology Seminar.md
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: University/HCI.md ,chunks: 12 (new:12, recycled:0, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) University/HCI.md
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Todos.md ,chunks: 4 (new:4, recycled:0, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Todos.md
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Shows.md ,chunks: 2 (new:2, recycled:0, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Shows.md
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Trauma Table.md ,chunks: 180 (new:176, recycled:0, cached:4)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Trauma Table.md
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Screenshot_20241203_174847_Telegram.jpg ,chunks: 8 (new:0, recycled:8, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) Screenshot_20241203_174847_Telegram.jpg
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Screenshot_20241203_182351_Telegram.jpg ,chunks: 8 (new:0, recycled:8, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) Screenshot_20241203_182351_Telegram.jpg
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Screenshot 2024-12-09 at 5.48.15 PM.png ,chunks: 9 (new:0, recycled:9, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) Screenshot 2024-12-09 at 5.48.15 PM.png
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Screenshot 2024-12-11 at 11.14.09 AM.png ,chunks: 11 (new:0, recycled:11, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) Screenshot 2024-12-11 at 11.14.09 AM.png
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Screenshot 2024-12-11 at 11.14.01 AM.png ,chunks: 4 (new:0, recycled:4, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) Screenshot 2024-12-11 at 11.14.01 AM.png
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Screenshot 2024-12-09 at 5.46.17 PM.png ,chunks: 6 (new:0, recycled:6, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) Screenshot 2024-12-09 at 5.46.17 PM.png
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Screenshot_20241202_200414_Telegram.jpg ,chunks: 8 (new:0, recycled:8, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) Screenshot_20241202_200414_Telegram.jpg
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Screenshot 2024-12-11 at 11.12.01 AM.png ,chunks: 10 (new:0, recycled:10, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) Screenshot 2024-12-11 at 11.12.01 AM.png
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Spending.md ,chunks: 8 (new:8, recycled:0, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Spending.md
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Screenshot 2024-12-09 at 5.44.10 PM.png ,chunks: 6 (new:0, recycled:6, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) Screenshot 2024-12-09 at 5.44.10 PM.png
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: MacBook Price Comparison.md ,chunks: 13 (new:12, recycled:0, cached:1)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) MacBook Price Comparison.md
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Mac App Recommendations.md ,chunks: 32 (new:31, recycled:1, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Mac App Recommendations.md
1/24/2025, 5:29:14 AM->Creating missing chunks: 75 of 81 files
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) 2024-12-10 20.35.00 1.jpg
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Games.md ,chunks: 1 (new:1, recycled:0, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Games.md
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Merch.md ,chunks: 31 (new:31, recycled:0, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Merch.md
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Auditory Processing.md ,chunks: 2 (new:2, recycled:0, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Auditory Processing.md
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Informational.md ,chunks: 24 (new:24, recycled:0, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Informational.md
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: Felix Money.md ,chunks: 16 (new:15, recycled:0, cached:1)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Felix Money.md
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: 2024-12-10 20.35.00.jpg ,chunks: 10 (new:0, recycled:10, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) 2024-12-10 20.35.00.jpg
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: 2024-12-10 20.08.57.jpg ,chunks: 7 (new:0, recycled:7, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) 2024-12-10 20.08.57.jpg
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: 2024-12-10 20.08.06.jpg ,chunks: 13 (new:0, recycled:13, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) 2024-12-10 20.08.06.jpg
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: 2024-12-10 20.08.01.jpg ,chunks: 13 (new:0, recycled:13, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) 2024-12-10 20.08.01.jpg
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: 2024-12-10 20.04.54.jpg ,chunks: 11 (new:0, recycled:11, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) 2024-12-10 20.04.54.jpg
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: 2024-12-09 17.30.47.jpg ,chunks: 12 (new:0, recycled:12, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) 2024-12-09 17.30.47.jpg
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: 2024-12-09 17.30.35.jpg ,chunks: 12 (new:0, recycled:12, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) 2024-12-09 17.30.35.jpg
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: 2024-12-09 16.53.40.jpg ,chunks: 8 (new:0, recycled:8, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) 2024-12-09 16.53.40.jpg
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: 2024-12-09 16.53.49.jpg ,chunks: 10 (new:0, recycled:10, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) 2024-12-09 16.53.49.jpg
1/24/2025, 5:29:14 AM->Chunks saved (with fixed): doc: 2024-12-09 17.30.30.jpg ,chunks: 11 (new:0, recycled:11, cached:0)
1/24/2025, 5:29:14 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) 2024-12-09 17.30.30.jpg
1/24/2025, 5:29:14 AM->Creating chunks Done: 81 of 81 files
1/24/2025, 5:29:16 AM->Mark this device as 'resolved'.
1/24/2025, 5:29:16 AM->OneShot Sync begin... (pullOnly)
1/24/2025, 5:29:17 AM->Looking for the point last synchronized point.
1/24/2025, 5:29:17 AM->Replication activated
1/24/2025, 5:29:17 AM->↑0 ↓25 (19)
1/24/2025, 5:29:17 AM->↑0 ↓27 (6)
1/24/2025, 5:29:17 AM->Replication completed
1/24/2025, 5:29:18 AM->OneShot Sync begin... (pullOnly)
1/24/2025, 5:29:19 AM->Looking for the point last synchronized point.
1/24/2025, 5:29:19 AM->Replication completed
1/24/2025, 5:29:19 AM->Database and storage reflection has been resumed!
1/24/2025, 5:29:19 AM->Initializing
1/24/2025, 5:29:19 AM->[ModuleInitializerFile]β€Š Initialize and checking database files
1/24/2025, 5:29:19 AM->[ModuleInitializerFile]β€Š Checking deleted files
1/24/2025, 5:29:19 AM->Collecting local files on the DB: 25
1/24/2025, 5:29:19 AM->[ModuleInitializerFile]β€Š Synchronising...
1/24/2025, 5:29:19 AM->[ModuleInitializerFile]β€Š UPDATE DATABASE
1/24/2025, 5:29:19 AM->[ModuleInitializerFile]β€Š UPDATE STORAGE: Nothing to do
1/24/2025, 5:29:19 AM->[ModuleInitializerFile]β€Š SYNC DATABASE AND STORAGE
1/24/2025, 5:29:19 AM->SYNC DATABASE AND STORAGE: DONE:1, FAILED:0, LAST:25
1/24/2025, 5:29:19 AM->[ModuleInitializerFile]β€Š STORAGE -> DB :Informational.md
1/24/2025, 5:29:19 AM->[ModuleInitializerFile]β€Š STORAGE -> DB :Trauma Table.md
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/Screenshot 2025-01-16 at 5.22.04 PM.png ,chunks: 3 (new:0, recycled:3, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/Screenshot_20241203_174847_Telegram 1.jpg ,chunks: 8 (new:0, recycled:5, cached:3)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot_20241202_200414_Telegram 1.jpg
1/24/2025, 5:29:19 AM->SYNC DATABASE AND STORAGE: DONE:1, FAILED:0, LAST:25
UPDATE DATABASE: DONE:2, FAILED:0, LAST:53
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot 2024-12-11 at 11.14.09 AM.png
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/Screenshot 2024-12-11 at 11.14.09 AM 1.png ,chunks: 11 (new:0, recycled:11, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/Screenshot_20241203_174847_Telegram.jpg ,chunks: 8 (new:0, recycled:3, cached:5)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/Screenshot_20241203_182351_Telegram 1.jpg ,chunks: 8 (new:0, recycled:4, cached:4)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/Screenshot_20241202_200414_Telegram.jpg ,chunks: 8 (new:0, recycled:8, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/Screenshot_20241203_182351_Telegram.jpg ,chunks: 8 (new:0, recycled:4, cached:4)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/Screenshot 2024-12-11 at 11.14.01 AM 1.png ,chunks: 4 (new:0, recycled:4, cached:0)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot 2025-01-16 at 5.22.04 PM.png
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot_20241203_174847_Telegram 1.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot 2024-12-11 at 11.14.09 AM 1.png
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot_20241203_174847_Telegram.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot_20241203_182351_Telegram 1.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot_20241202_200414_Telegram.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot_20241203_182351_Telegram.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot 2024-12-11 at 11.14.01 AM 1.png
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot 2024-12-11 at 11.14.01 AM.png
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot 2024-12-11 at 11.12.01 AM.png
1/24/2025, 5:29:19 AM->SYNC DATABASE AND STORAGE: DONE:1, FAILED:0, LAST:25
UPDATE DATABASE: DONE:13, FAILED:0, LAST:42
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/Screenshot 2024-12-09 at 5.48.15 PM.png ,chunks: 9 (new:0, recycled:9, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/Screenshot 2024-12-11 at 11.12.01 AM 1.png ,chunks: 10 (new:0, recycled:10, cached:0)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot 2024-12-09 at 5.48.15 PM 1.png
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot 2024-12-09 at 5.46.17 PM 1.png
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot 2024-12-09 at 5.48.15 PM.png
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot 2024-12-11 at 11.12.01 AM 1.png
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/2024-12-10 20.35.00.jpg ,chunks: 10 (new:0, recycled:10, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/Screenshot 2024-12-09 at 5.46.17 PM.png ,chunks: 6 (new:0, recycled:6, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/Screenshot 2024-12-09 at 5.44.10 PM 1.png ,chunks: 6 (new:0, recycled:5, cached:1)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/Screenshot 2024-12-09 at 5.44.10 PM.png ,chunks: 6 (new:0, recycled:1, cached:5)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-10 20.35.00 2.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-10 20.35.00.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot 2024-12-09 at 5.46.17 PM.png
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot 2024-12-09 at 5.44.10 PM 1.png
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/Screenshot 2024-12-09 at 5.44.10 PM.png
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-10 20.35.00 1.jpg
1/24/2025, 5:29:19 AM->SYNC DATABASE AND STORAGE: DONE:1, FAILED:0, LAST:25
UPDATE DATABASE: DONE:23, FAILED:0, LAST:32
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-10 20.35.00 1 1.jpg
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/2024-12-10 20.08.57 1.jpg ,chunks: 7 (new:0, recycled:5, cached:2)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/2024-12-10 20.08.57.jpg ,chunks: 7 (new:0, recycled:2, cached:5)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/2024-12-10 20.04.54 1.jpg ,chunks: 11 (new:0, recycled:6, cached:5)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-10 20.04.54.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-10 20.08.06 1.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-10 20.08.57 1.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-10 20.08.57.jpg
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/2024-12-10 20.08.06.jpg ,chunks: 13 (new:0, recycled:13, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/2024-12-10 20.08.01 1.jpg ,chunks: 13 (new:0, recycled:1, cached:12)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-10 20.04.54 1.jpg
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/2024-12-10 20.08.01.jpg ,chunks: 13 (new:0, recycled:12, cached:1)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-10 20.08.06.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-10 20.08.01 1.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-10 20.08.01.jpg
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/2024-12-09 17.30.47.jpg ,chunks: 12 (new:0, recycled:12, cached:0)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-09 17.30.47 1.jpg
1/24/2025, 5:29:19 AM->SYNC DATABASE AND STORAGE: DONE:1, FAILED:0, LAST:25
UPDATE DATABASE: DONE:33, FAILED:0, LAST:22
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-09 17.30.47.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-09 17.30.30 1.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-09 17.30.35 1.jpg
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/2024-12-09 16.53.49.jpg ,chunks: 10 (new:0, recycled:10, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/2024-12-09 17.30.30.jpg ,chunks: 11 (new:0, recycled:11, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/2024-12-09 17.30.35.jpg ,chunks: 12 (new:0, recycled:12, cached:0)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-09 16.53.49 1.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-09 16.53.49.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-09 17.30.30.jpg
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/2024-12-09 16.53.40.jpg ,chunks: 8 (new:0, recycled:4, cached:4)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-09 17.30.35.jpg
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: attachments/2024-12-09 16.53.40 1.jpg ,chunks: 8 (new:0, recycled:4, cached:4)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: University/UI.md ,chunks: 23 (new:0, recycled:23, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: University/Unknown Seminar.md ,chunks: 4 (new:0, recycled:4, cached:0)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-09 16.53.40.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (newnote) attachments/2024-12-09 16.53.40 1.jpg
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) University/UI.md
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) University/Unknown Seminar.md
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: University/Ubiq Computing Seminar.md ,chunks: 11 (new:0, recycled:11, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: University/Persuasive Technology Seminar.md ,chunks: 10 (new:0, recycled:10, cached:0)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) University/Ubiq Computing Seminar.md
1/24/2025, 5:29:19 AM->SYNC DATABASE AND STORAGE: DONE:1, FAILED:0, LAST:25
UPDATE DATABASE: DONE:45, FAILED:0, LAST:10
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) University/Persuasive Technology Seminar.md
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: University/Information Seminar.md ,chunks: 23 (new:0, recycled:23, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: University/HCI.md ,chunks: 12 (new:0, recycled:12, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: Todos.md ,chunks: 4 (new:0, recycled:4, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: Spending.md ,chunks: 8 (new:0, recycled:8, cached:0)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) University/Information Seminar.md
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) University/HCI.md
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Todos.md
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Spending.md
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: MacBook Price Comparison.md ,chunks: 13 (new:0, recycled:12, cached:1)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) MacBook Price Comparison.md
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: Mac App Recommendations.md ,chunks: 32 (new:0, recycled:31, cached:1)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: Games.md ,chunks: 1 (new:0, recycled:1, cached:0)
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: Felix Money.md ,chunks: 16 (new:0, recycled:15, cached:1)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Mac App Recommendations.md
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Games.md
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Felix Money.md
1/24/2025, 5:29:19 AM->Chunks saved (with fixed): doc: Auditory Processing.md ,chunks: 2 (new:0, recycled:2, cached:0)
1/24/2025, 5:29:19 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Auditory Processing.md
1/24/2025, 5:29:19 AM->SYNC DATABASE AND STORAGE: DONE:1, FAILED:0, LAST:25
UPDATE DATABASE All done: DONE:55, FAILED:0
1/24/2025, 5:29:20 AM->Chunks saved (with fixed): doc: Informational.md ,chunks: 24 (new:0, recycled:2, cached:22)
1/24/2025, 5:29:20 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Informational.md
1/24/2025, 5:29:20 AM->SYNC DATABASE AND STORAGE: DONE:25, FAILED:0, LAST:1
UPDATE DATABASE All done: DONE:55, FAILED:0
1/24/2025, 5:29:20 AM->Chunks saved (with fixed): doc: Trauma Table.md ,chunks: 180 (new:0, recycled:17, cached:163)
1/24/2025, 5:29:20 AM->[ModuleDatabaseFileAccess]β€Š STORAGE -> DB (plain) Trauma Table.md
1/24/2025, 5:29:20 AM->[ModuleInitializerFile]β€Š Initialized, NOW TRACKING!
1/24/2025, 5:29:20 AM->SYNC DATABASE AND STORAGE All done: DONE:26, FAILED:0
UPDATE DATABASE All done: DONE:55, FAILED:0
1/24/2025, 5:29:20 AM->Initialize done!
1/24/2025, 5:40:27 AM->{
  "cluster": {
    "n": "1"
  },
  "cors": {
    "credentials": "true",
    "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": {
    "admin": "-pbkdf2:sha256-66c74ff3ab411f221b8382196960c77561eb4cf8e8d12b156f260d3556fd0a1e,9adfa49b48b289b96486b03d381856ca,600000"
  },
  "vendor": {
    "name": "The Apache Software Foundation"
  },
  "nouveau": {
    "url": "http://127.0.0.1:5987"
  },
  "feature_flags": {
    "partitioned||*": "true"
  },
  "chttpd_auth": {
    "hash_algorithms": "sha256, sha",
    "require_valid_user": "true",
    "secret": "8f90685a403ccd57ee20af7086666c47"
  },
  "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": "_users"
  },
  "couchdb_engines": {
    "couch": "couch_bt_engine"
  },
  "couchdb": {
    "database_dir": "./data",
    "max_document_size": "50000000",
    "uuid": "1be457e7e6976d1fb302467c0fd1514b",
    "view_index_dir": "./data"
  }
}
1/24/2025, 5:40:27 AM->Information has been copied to clipboard
1/24/2025, 5:45:53 AM->[HiddenFileSync]β€Š Hidden file will skip 0 files
1/24/2025, 5:45:53 AM->Cache initialized 300 / 50000000
1/24/2025, 5:48:43 AM->Log window opened -->

Other information, insights and intuition.

I am very new to using this plugin, and as such it is possible I've misconfigured something that is leading to this behaviour. I am specifically unsure about the "Fetch again has been rescheduled" popup I get every time I boot up Obsidian. I am guessing that it is resyncing with the database, but A) I thought it did that every time a change was made, and B) The wording isn't very descriptive for me.

MaximumPotato avatar Jan 24 '25 09:01 MaximumPotato

So I just edited a random text file with the intention to observe the little sync dialogue in the top right hand corner to make sure it was showing sync activity. After doing this, confirming it was in fact syncing, and then deleting the images again and making sure those changes were syncing, I restarted obsidian. This time I did not get the "Fetch again has been rescheduled" popup that I had been getting every time I started the program since installing the plugin. The images also stayed deleted this time. I am unsure why those actions seem to have resolved my issue. Perhaps I was exiting Obsidian before it had a chance to finish syncing?

I will continue to use the plugin and see if the issue re-emerges.

MaximumPotato avatar Jan 24 '25 18:01 MaximumPotato

i have the same issue... if i delete files they will not be deleted from other devices and some even reappearing after deleting them from both devices I'm syncing. is there is a fix for this pleaseee tell me how to fix this as this is super annoying and im currently just deleting one of the devices entire vault and re-syncing all files.

Gwaboo avatar Jan 26 '25 21:01 Gwaboo

Sorry for being late!

Fetch again has been scheduled indicates that your vault is scheduled to be reconstructed with the remote database. Therefore, your local changes will be discarded and the remote situation will be applied. The process will not delete the existing (and, not deleted once) files. As a result, your vault has duplicated files.

This behaviour has been controlled by a flag-file existence. And the flag-file will be erased after the fetch process has been done. However, I found some doubtful behaviour around v0.24.10 or some older. v0.24.13 should solve this.

Alternatively, clicking No cancels the Fetch again schedule. If the setup has been completed in other ways, please cancel it.

@Gwaboo Just to be sure, is it the same problem? If this dialogue does not appear and the file is restored, could you open a separate Issue again, as it may be a different problem? I would be happy to share the detailed situation and logs with you there.

I close the issue once, as it appears to have reached a resolution. Please feel free to re-open it if you need anything else!

vrtmrz avatar Feb 18 '25 07:02 vrtmrz