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

BUG: We have to configure the device name

Open alx-xlx opened this issue 1 year ago β€’ 3 comments

Whenever I Apply Customization Sync changes on different devices then it randomly gives me this error and then I am unable to change the device name as the enable button is disabled.

I see there were many fixes released to fix it but none of them solved the issue.

I am using the latest version 0.23.15

When I use the main device to 'select all shiny' and 'apply all' then I get this error

---- Obsidian info ----
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)
---- remote config ----
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:
  authentication_redirect: /_utils/session.html
  hash_algorithms: sha256, sha
  require_valid_user: "true"
  secret: c2db417135f94ff2f210b5b45e81d8b6
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.15
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: false
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: true
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: dd1fbf6c7dd40aa6
ignoreVersionCheck: false
lastReadUpdates: 23
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: 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
configPassphrase: ""
preset: ""
syncMode: LIVESYNC
dummy: 0

alx-xlx avatar Jul 09 '24 11:07 alx-xlx

Thank you for opening the issue and sharing the configuration! Sorry for being late in responding and resolving this problem, even though you have been reported for a while now.

Finally, I have realised the problem, thanks to the setting report! I really appreciate you for your cooperation.

At v0.23.17, Enable customization sync will be automatically untoggled, when if the Device name had been lost for some reason while Enable customization sync has been toggled. (I did not realise why it got lost yet, however, the local storage seems sometimes lost).

Would you mind if I ask you to check the behaviour, again, please?

vrtmrz avatar Jul 12 '24 09:07 vrtmrz

@vrtmrz I check the v0.23.17 and it works the way you said. The Cutomization Sync gets untoggled now. I then have to toggle it back again and everything will be good right ?

alx-xlx avatar Jul 22 '24 09:07 alx-xlx

The customization sync is very useful, but it just gets too heavy everytime the obsidian is restarted. Is there a good way to perhaps include a lightweight Pause action so that even though the Customization sync is enabled it won't πŸ”Œ Working Customisation items on every obsidian restart. Maybe Resume it whenever we need to sync some settings or so.

Because Enabling "Customization Sync" on each devicce takes too much data and ruins the workflow.

I Stress tested the Customization Sync using 110 Plugins, and it takes a lot of time for progress indicators to finish it work. Is there any way to make it efficient ?

alx-xlx avatar Jul 22 '24 09:07 alx-xlx