question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extension is not enabled after restart

See original GitHub issue
  • code-server version: v1.31.1-100
  • OS Version: Ubuntu 18.10

Steps to Reproduce

  1. Install one extension
  2. restart code-server, then you can see all extensions is disabled, and can’t be enabled again.

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
nhooyrcommented, Mar 8, 2019

@kylecarbs should we modify the one-liner to also mount a data directory?

1reaction
guyuxiangcommented, Mar 13, 2019

Same here using docker build from Dockerfile.

I notice that when refreshing the browser, the file user-data-dir/CachedExtensions/user will be regenerated. However it cannot be generated correctly.

It is always like following: { "input": { "ourVersion": "1.32.0", "locale": "en", "devMode": false, "absoluteFolderPath": "/root/.local/share/.code-server/extensions", "isBuiltin": false, "isUnderDevelopment": false, "tanslations": {} }, "result": [] }

"result": [] is always empty, including no information of installed extensions. Normally it should contain all extensions information.

Again another file user-data-dir/globalStorage/stage.json is not properly generated in the same way.

For example, if the extension “Markdown All in One” is manually disabled, this file supposes to include the information whether a extension is disabled or not, like "extensionsIdentifiers/disabled":"[{\"id\":\"yzhang.markdown-all-in-one\",\"uuid\":null}]" However it is not in the file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extension disabled after restarting Chrome Dev - Google Groups
We've having an issue with the latest Dev channel update, where our extension get disabled right after installing and on every browser restart....
Read more >
How to Fix Chrome Extensions Not Loading or Crashing
1. Restart Chrome · Make sure you close Google Chrome completely, including its tray-bar icon. · On a Windows device, right-click Start and...
Read more >
All Extensions become disabled after restarting · Issue #130219
All extensions are disabled; Can't enable them. But can uninstall, then install an extension. But it become disabled again after VSCode restart.
Read more >
Chrome extension getting disabled after restart - Super User
The extension will remain enabled as long as I don't shut down Chrome, but when I do it reverts back to being disabled....
Read more >
Gnome shell extensions are disabled after reboot - Ask Ubuntu
Run in terminal: rm -rd ~/.cache; Reboot system; Re-enable your extensions (it should persist across reboots now). Share.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found