linuxserver / docker-code-server

GNU General Public License v3.0
1.54k stars 314 forks source link

[BUG] No network environment usage error reported #177

Closed GhostCaiX closed 2 months ago

GhostCaiX commented 2 months ago

Is there an existing issue for this?

Current Behavior

docker load image,but run with error

Expected Behavior

No response

Steps To Reproduce

docker run \ --name=code-server lscr.io/linuxserver/code-server \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Etc/UTC \ -p 8443:8443 \ -v /path/to/appdata/config:/config

Environment

- OS:
- How docker service was installed:

CPU architecture

x86-64

Docker creation

docker pull linuxserver/code-server
docker load -i code.tar linuxserver/code-server

Container logs

[root@dfc01 code-server-docker]#   docker run  \
>   --name=code-server2 lscr.io/linuxserver/code-server \
>   -p 17089:8443 \
>   -e PUID=1000 \
>   -e PGID=1000 \
>   -e TZ=Etc/UTC \
>   -e PASSWORD=password none \
>   -v /path/to/appdata/config:/config 
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    911
User GID:    911
───────────────────────────────────────

[custom-init] No custom files found, skipping...
starting with no password
/app/code-server/lib/node[156]: ../src/node_platform.cc:68:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
 1: 0xb83f50 node::Abort() [/app/code-server/lib/node]
 2: 0xb83fce  [/app/code-server/lib/node]
 3: 0xbf14ee  [/app/code-server/lib/node]
 4: 0xbf15d1 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [/app/code-server/lib/node]
 5: 0xb41ed3 node::InitializeOncePerProcess(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, node::ProcessFlags::Flags) [/app/code-server/lib/node]
 6: 0xb4256b node::Start(int, char**) [/app/code-server/lib/node]
 7: 0x7f3011956d90  [/lib/x86_64-linux-gnu/libc.so.6]
 8: 0x7f3011956e40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 9: 0xac1fee _start [/app/code-server/lib/node]
starting with no password
/app/code-server/lib/node[176]: ../src/node_platform.cc:68:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
 1: 0xb83f50 node::Abort() [/app/code-server/lib/node]
 2: 0xb83fce  [/app/code-server/lib/node]
 3: 0xbf14ee  [/app/code-server/lib/node]
 4: 0xbf15d1 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [/app/code-server/lib/node]
 5: 0xb41ed3 node::InitializeOncePerProcess(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, node::ProcessFlags::Flags) [/app/code-server/lib/node]
 6: 0xb4256b node::Start(int, char**) [/app/code-server/lib/node]
 7: 0x7fde79680d90  [/lib/x86_64-linux-gnu/libc.so.6]
 8: 0x7fde79680e40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 9: 0xac1fee _start [/app/code-server/lib/node]
starting with no password
/app/code-server/lib/node[190]: ../src/node_platform.cc:68:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
 1: 0xb83f50 node::Abort() [/app/code-server/lib/node]
 2: 0xb83fce  [/app/code-server/lib/node]
 3: 0xbf14ee  [/app/code-server/lib/node]
 4: 0xbf15d1 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [/app/code-server/lib/node]
 5: 0xb41ed3 node::InitializeOncePerProcess(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, node::ProcessFlags::Flags) [/app/code-server/lib/node]
 6: 0xb4256b node::Start(int, char**) [/app/code-server/lib/node]
 7: 0x7f80330e7d90  [/lib/x86_64-linux-gnu/libc.so.6]
 8: 0x7f80330e7e40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 9: 0xac1fee _start [/app/code-server/lib/node]
starting with no password
/app/code-server/lib/node[204]: ../src/node_platform.cc:68:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
 1: 0xb83f50 node::Abort() [/app/code-server/lib/node]
 2: 0xb83fce  [/app/code-server/lib/node]
 3: 0xbf14ee  [/app/code-server/lib/node]
 4: 0xbf15d1 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [/app/code-server/lib/node]
 5: 0xb41ed3 node::InitializeOncePerProcess(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, node::ProcessFlags::Flags) [/app/code-server/lib/node]
 6: 0xb4256b node::Start(int, char**) [/app/code-server/lib/node]
 7: 0x7fbfe1137d90  [/lib/x86_64-linux-gnu/libc.so.6]
 8: 0x7fbfe1137e40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 9: 0xac1fee _start [/app/code-server/lib/node]
starting with no password
/app/code-server/lib/node[218]: ../src/node_platform.cc:68:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
 1: 0xb83f50 node::Abort() [/app/code-server/lib/node]
 2: 0xb83fce  [/app/code-server/lib/node]
 3: 0xbf14ee  [/app/code-server/lib/node]
 4: 0xbf15d1 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [/app/code-server/lib/node]
github-actions[bot] commented 2 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

GhostCaiX commented 2 months ago

Possible os version issue