Code Monkey home page Code Monkey logo

Comments (10)

tobbenb avatar tobbenb commented on July 21, 2024 1

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.

github-actions avatar github-actions commented on July 21, 2024

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

from docker-code-server.

behnam-io avatar behnam-io commented on July 21, 2024

@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.

tobbenb avatar tobbenb commented on July 21, 2024

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.

behnam-io avatar behnam-io commented on July 21, 2024

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.

MiguelNdeCarvalho avatar MiguelNdeCarvalho commented on July 21, 2024

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.

github-actions avatar github-actions commented on July 21, 2024

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.

KyleJFischer avatar KyleJFischer commented on July 21, 2024

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.

github-actions avatar github-actions commented on July 21, 2024

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.

aptalca avatar aptalca commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.