Closed whysthatso closed 2 years ago
on a second machine i can successfully pull the settings, logs show this:
1 │ [info] repository: {"type":"webdav","url":"https://dav.redacted.net/settings-sync/","username":"redacted","password":"..."}
2 │ [info] profile: main
3 │ [info] hostname: wt
4 │ [info] The connection to WebDAV is successful.
5 │ [info] The working directory is empty. Continue.
6 │ [info] pull from webdav
7 │ [info] pull done
8 │ [info] restore profile "main" from /home/user/.config/VSCodium/User/globalStorage/zokugun.sync-settings/repository
9 │ [info] restore extensions
10 │ [info] uninstall: alexcvzz.vscode-sqlite
11 │ [info] uninstall: aliariff.vscode-erb-beautify
12 │ [info] uninstall: rebornix.ruby
13 │ [info] uninstall: wingrunr21.vscode-ruby
14 │ [info] restore keybindings
15 │ [info] restore settings
16 │ [info] restore snippets
17 │ [info] restore UI state
18 │ [info] restore done
hm, odd.
looks like the extensions, settings and ui-state are not being actually pulled down or applied.
i just pulled down to my initial machine ws
and all my extensions got deinstalled, settings got reset to defaults, etc.
when i check the files on the dav server, they are still fine, list of extensions in the file, settings in the file, etc.
log says:
1 │ [info] repository: {"type":"webdav","url":"https://dav.redacted.net/settings-sync/","username":"redacted","password":"..."}
2 │ [info] profile: main
3 │ [info] hostname: ws
4 │ [info] The connection to WebDAV is successful.
5 │ [info] The working directory is empty. Continue.
6 │ [info] pull from webdav
7 │ [info] pull done
8 │ [info] restore profile "main" from /home/user/.config/VSCodium/User/globalStorage/zokugun.sync-settings/repository
9 │ [info] restore extensions
10 │ [info] uninstall: bmalehorn.vscode-fish
11 │ [info] uninstall: bung87.rails
12 │ [info] uninstall: bung87.vscode-gemfile
13 │ [info] uninstall: dbaeumer.vscode-eslint
14 │ [info] uninstall: formulahendry.code-runner
15 │ [info] uninstall: GitHub.remotehub
16 │ [info] uninstall: GitHub.vscode-pull-request-github
17 │ [info] uninstall: Hridoy.rails-snippets
18 │ [info] uninstall: humao.rest-client
19 │ [info] uninstall: mikestead.dotenv
20 │ [info] uninstall: ms-python.python
21 │ [error] Internal: Cannot uninstall 'Python' extension. 'Ansible' extension depends on this.
22 │ [info] uninstall: ms-python.vscode-pylance
23 │ [info] uninstall: ms-toolsai.jupyter
24 │ [info] uninstall: ms-toolsai.jupyter-keymap
25 │ [error] Error: Extension 'ms-toolsai.jupyter-keymap' is not installed. Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp.
26 │ [info] uninstall: ms-toolsai.jupyter-renderers
27 │ [error] Error: Extension 'ms-toolsai.jupyter-renderers' is not installed. Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp.
28 │ [info] uninstall: ms-toolsai.vscode-jupyter-cell-tags
29 │ [error] Error: Extension 'ms-toolsai.vscode-jupyter-cell-tags' is not installed. Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp.
30 │ [info] uninstall: ms-toolsai.vscode-jupyter-slideshow
31 │ [error] Error: Extension 'ms-toolsai.vscode-jupyter-slideshow' is not installed. Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp.
32 │ [info] uninstall: ms-vscode.remote-repositories
33 │ [info] uninstall: oderwat.indent-rainbow
34 │ [info] uninstall: rebornix.ruby
35 │ [info] uninstall: redhat.ansible
36 │ [info] uninstall: redhat.vscode-xml
37 │ [info] uninstall: redhat.vscode-yaml
38 │ [info] uninstall: sianglim.slim
39 │ [info] uninstall: vscode-icons-team.vscode-icons
40 │ [info] uninstall: wingrunr21.vscode-ruby
41 │ [info] uninstall: ZainChen.json
42 │ [info] restore keybindings
43 │ [info] restore settings
44 │ [info] restore snippets
45 │ [info] restore UI state
46 │ [info] restore done
47 │ [error] Canceled: Canceled
───────┴──────────────────────────────
I see no install: <extension>
. Can you print out extensions.yml
? And if the files aren't empty...
disabled: []
enabled:
- id: bmalehorn.vscode-fish
uuid: efa79b03-91c5-4c6a-9846-0a7b6f7af05e
- id: bung87.rails
uuid: 61048194-bd70-4abb-b039-d796bf6be01c
- id: bung87.vscode-gemfile
uuid: 63cce059-9b09-4959-bba8-01be8a606850
- id: dbaeumer.vscode-eslint
uuid: 583b2b34-2c1e-4634-8c0b-0b82e283ea3a
- id: formulahendry.code-runner
uuid: a6a0c5b2-d078-4bf5-a9ee-4e37054414b3
- id: GitHub.remotehub
uuid: fc7d7e85-2e58-4c1c-97a3-2172ed9a77cd
- id: GitHub.vscode-pull-request-github
uuid: 69ddd764-339a-4ecc-97c1-9c4ece58e36d
- id: Hridoy.rails-snippets
uuid: d879ccb5-cbdb-45a1-bd74-5641ad0062df
- id: humao.rest-client
uuid: dda49fd5-1f3b-4d25-bf61-4fc41905ede5
- id: mikestead.dotenv
uuid: 532533c9-a894-4a58-9eee-bbfbe7c06f71
- id: ms-python.python
uuid: f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5
- id: ms-python.vscode-pylance
uuid: 364d2426-116a-433a-a5d8-a5098dc3afbd
- id: ms-toolsai.jupyter
uuid: 6c2f1801-1e7f-45b2-9b5c-7782f1e076e8
- id: ms-toolsai.jupyter-keymap
uuid: 9f6dc8db-620c-4844-b8c5-e74914f1be27
- id: ms-toolsai.jupyter-renderers
uuid: b15c72f8-d5fe-421a-a4f7-27ed9f6addbf
- id: ms-toolsai.vscode-jupyter-cell-tags
uuid: ab4fb32a-befb-4102-adf9-1652d0cd6a5e
- id: ms-toolsai.vscode-jupyter-slideshow
uuid: e153ca70-b543-4865-b4c5-b31d34185948
- id: ms-vscode.remote-repositories
uuid: cf5142f0-3701-4992-980c-9895a750addf
- id: oderwat.indent-rainbow
uuid: eaa2127d-cb69-4ab9-8505-a60c9ee5f28b
- id: rebornix.ruby
uuid: ae062c8a-c68e-4b92-9ecf-8f1d4288b05d
- id: redhat.ansible
uuid: f8cb4642-bc5c-46a1-be34-0977e817406c
- id: redhat.vscode-xml
uuid: 6703768d-d42f-474e-9f6e-5f288d53f6e8
- id: redhat.vscode-yaml
uuid: 2061917f-f76a-458a-8da9-f162de22b97e
- id: sianglim.slim
uuid: 66a5558f-9e27-4895-9c3e-dde3d657bc13
- id: vscode-icons-team.vscode-icons
uuid: 9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a
- id: wingrunr21.vscode-ruby
uuid: 708cfcd8-e0c6-49ca-9af6-b27a342d247b
- id: ZainChen.json
uuid: 311c4d7f-e81f-47f8-9956-6a9919ddef43
i moved to the git repository option, so i won't need a solution to this. i will close it for now.
initially running the upload function does create all the files as expected:
presumably this is happening somewhere around here: https://github.com/zokugun/vscode-sync-settings/blob/b02920eb12f072df46b5ab3be5350aeac02541f1/src/repositories/webdav.ts#L243
i would not be surprised if this is a problem with nginx implementation of webdav, as i've been previously told that dav implementations are wildly different in their rigidity and adherence to protocol, but who knows...