Comments (10)
Does the user (1000) have access to the config folders since you created it with root? You should use paths that the user you map in PUID and PGID own.
You have not supplied any container logs.
from docker-code-server.
Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!
from docker-code-server.
@tobbenb how can I check/set that permissions, I just copied from the linuxserver template.
You have not supplied any container logs.
Last logs are what I got from docker logs [containerName]
, what other log you need?
Tested without PUID & GUID, result was the same
from docker-code-server.
You have to use the ID of the user running the container as and own the folders/have write access to them. And you can't run it as root. That only leads to issues.
You have only supplied a small part of the log, but we need the whole log.
You might want to read up on docker and you can start here https://docs.linuxserver.io/general/containers-101
from docker-code-server.
You have to use the ID of the user running the container as and own the folders/have write access to them. And you can't run it as root. That only leads to issues.
You have only supplied a small part of the log, but we need the whole log.
You might want to read up on docker and you can start here https://docs.linuxserver.io/general/containers-101
@tobbenb Tested both with root ownership and ownershipt by user/group 1000. code-server is running but same 403 error with extensions.
steps:
created group 1000
created user 1000
assigned user to group 1000
changed ownership of the config folder and the folder that contains compose file to user 1000 and group 1000
testing with fresh compose-up (deleting all previous config folders) resulted in same errors.
And here a full log of docker container. Not getting why "vscode is not running error". code-server doesn't go down, only extensions tab throws error 403 on extensions product pages and installation
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1000
User gid: 1000
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
setting up sudo access
adding abc to sudoers
setting sudo password using SUDO_PASSWORD env var
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2021-02-28T12:13:27.393Z] info Wrote default config file to ~/.config/code-server/config.yaml
[2021-02-28T12:13:28.881Z] info code-server 3.9.0 fc6d123da59a4e5a675ac8e080f66e032ba01a1b
[2021-02-28T12:13:28.882Z] info Using user-data-dir ~/data
[2021-02-28T12:13:28.965Z] info Using config file ~/.config/code-server/config.yaml
[2021-02-28T12:13:28.965Z] info HTTP server listening on http://0.0.0.0:8443
[2021-02-28T12:13:28.965Z] info - Authentication is enabled
[2021-02-28T12:13:28.965Z] info - Using password from $PASSWORD
[2021-02-28T12:13:28.965Z] info - Not serving HTTPS
[2021-02-28T12:13:30.726Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:13:33.696Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:13:51.689Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:13:54.750Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:14:15.311Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:14:15.719Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:14:36.779Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:14:37.106Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:14:57.688Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:14:58.020Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:15:40.060Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:15:40.384Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:16:21.692Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:16:22.736Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:17:03.680Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:17:04.716Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:17:45.716Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2021-02-28T12:17:46.695Z] error vscode is not running Error: vscode is not running
at VscodeProvider.send (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:206:19)
at VscodeProvider.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:198:30)
at step (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:63:23)
at Object.next (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:44:53)
at fulfilled (/usr/local/share/.config/yarn/global/node_modules/code-server/out/node/vscode.js:35:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
from docker-code-server.
Hey,
I am experiencing exactly the same issue that @behnam-io has. I deleted all and started from the begin and I sttill get that annoying error error vscode is not running Error: vscode is not running
. I have a post on the forum.
Thanks,
MiguelNdeCarvalho
from docker-code-server.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from docker-code-server.
Hey, I am having this issue as well. What data can I provide to resolve this issue.
Currently, it only happens on my ipad. Windows desktop no issue
from docker-code-server.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from docker-code-server.
I believe this was an upstream issue that is fixed already. Feel free to reopen or report upstream if it still exists.
from docker-code-server.
Related Issues (20)
- [BUG] Turn on Cloud Changes Error HOT 5
- Cannot find conda HOT 4
- [BUG] Can't use cuda driver inside container for tensorflow HOT 3
- use another marketplace HOT 5
- Does the "bind-addr" only can be set at container create? HOT 2
- [BUG] Selecting Python Interpreter HOT 2
- [BUG] Github Copilot HOT 8
- Extensions stop working when passed thru a reverse-proxy HOT 10
- [BUG] Random refreshing folder from code-server HOT 7
- [BUG] Sudo password not being set using env vars HOT 3
- [FEAT] Expose bind-addr, auth, password and cert as environment variables HOT 4
- [BUG] No syntax highlighting in ungoogled-chromium browser HOT 5
- [kompose] <kompose doesn't work on the docker-compose file?> HOT 2
- [FEAT] Tracking of User Logins HOT 2
- [BUG] The default docker compose exposes the instance to internet HOT 4
- [FEAT] Preinstall packages from docker-compose HOT 2
- [FEAT] <Docker works but can't install extension with `EMFILE: EMFILE: too many open files, rename ` when deployed to Google Cloud Run with gcsfuse as persistent volume> HOT 1
- [BUG] Using command: in compose.yaml makes the container crashes HOT 2
- [BUG] No network environment usage error reported HOT 2
- [FEAT] Bind to IPv6 Address as well HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-code-server.