app icon indicating copy to clipboard operation
app copied to clipboard

Backend is unavailable

Open abelic opened this issue 1 year ago • 3 comments

After starting app with docker pull webdb/app &&
docker rm -f $(docker ps -a -q --filter ancestor=webdb/app) webdb || echo &&
docker run --name webdb -d
--restart=always
--add-host="host.docker.internal:host-gateway"
-v $HOME/.webdb:/usr/src/app/static/version
-p 127.0.0.1:22071:22071 webdb/app

and adding server I'm getting message : Backend is unavailable

abelic avatar Jun 01 '24 17:06 abelic

Hello,

Can you give me the tail of docker logs -n 20 webdb please

WebDB-App avatar Jun 02 '24 14:06 WebDB-App

Can you tell me if thé user you use yo connect to the dB has the right to run show global variables

aleluff avatar Jun 19 '24 08:06 aleluff

I've just increase logging, can you re-run

docker pull webdb/app &&
docker rm -f $(docker ps -a -q --filter ancestor=webdb/app) webdb || echo &&
docker run --name webdb -d
--restart=always
--add-host="host.docker.internal:host-gateway"
-v $HOME/.webdb:/usr/src/app/static/version
-p 127.0.0.1:22071:22071 webdb/app

and tell me the error you get please

aleluff avatar Jul 14 '24 09:07 aleluff

@abelic Any up ?

WebDB-App avatar Jan 12 '25 12:01 WebDB-App

@WebDB-App i have same problem, docker logs -n 20 webdb

 3: 0xffa110 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
 4: 0xf1a8ce  [node]
 5: 0xf1bd8c node::Start(int, char**) [node]
 6: 0x7f250da4c24a  [/lib/x86_64-linux-gnu/libc.so.6]
 7: 0x7f250da4c305 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 8: 0xe5b47e _start [node]

  #  node[1]: std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start() at ../src/node_platform.cc:103
  #  Assertion failed: (0) == (uv_thread_create(t.get(), start_thread, this))

----- Native stack trace -----

 1: 0xf6ea57 node::Assert(node::AssertionInfo const&) [node]
 2: 0xffa00a node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int, node::PlatformDebugLogLevel) [node]
 3: 0xffa110 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
 4: 0xf1a8ce  [node]
 5: 0xf1bd8c node::Start(int, char**) [node]
 6: 0x7fdd97d9624a  [/lib/x86_64-linux-gnu/libc.so.6]
 7: 0x7fdd97d96305 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 8: 0xe5b47e _start [node]

86jkuncle avatar Jul 17 '25 01:07 86jkuncle

Hello,

Can you give me more lines of logs please

Replace the 20 with 150

aleluff avatar Jul 17 '25 07:07 aleluff

@aleluff docker logs -n 150 webdb

  #  node[1]: std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start() at ../src/node_platform.cc:103
  #  Assertion failed: (0) == (uv_thread_create(t.get(), start_thread, this))

----- Native stack trace -----

 1: 0xf6ea57 node::Assert(node::AssertionInfo const&) [node]
 2: 0xffa00a node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int, node::PlatformDebugLogLevel) [node]
 3: 0xffa110 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
 4: 0xf1a8ce  [node]
 5: 0xf1bd8c node::Start(int, char**) [node]
 6: 0x7f80618c124a  [/lib/x86_64-linux-gnu/libc.so.6]
 7: 0x7f80618c1305 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 8: 0xe5b47e _start [node]

  #  node[1]: std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start() at ../src/node_platform.cc:103
  #  Assertion failed: (0) == (uv_thread_create(t.get(), start_thread, this))

----- Native stack trace -----

 1: 0xf6ea57 node::Assert(node::AssertionInfo const&) [node]
 2: 0xffa00a node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int, node::PlatformDebugLogLevel) [node]
 3: 0xffa110 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
 4: 0xf1a8ce  [node]
 5: 0xf1bd8c node::Start(int, char**) [node]
 6: 0x7f25ad56324a  [/lib/x86_64-linux-gnu/libc.so.6]
 7: 0x7f25ad563305 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 8: 0xe5b47e _start [node]

  #  node[1]: std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start() at ../src/node_platform.cc:103
  #  Assertion failed: (0) == (uv_thread_create(t.get(), start_thread, this))

----- Native stack trace -----

 1: 0xf6ea57 node::Assert(node::AssertionInfo const&) [node]
 2: 0xffa00a node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int, node::PlatformDebugLogLevel) [node]
 3: 0xffa110 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
 4: 0xf1a8ce  [node]
 5: 0xf1bd8c node::Start(int, char**) [node]
 6: 0x7fc8941df24a  [/lib/x86_64-linux-gnu/libc.so.6]
 7: 0x7fc8941df305 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 8: 0xe5b47e _start [node]

  #  node[1]: std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start() at ../src/node_platform.cc:103
  #  Assertion failed: (0) == (uv_thread_create(t.get(), start_thread, this))

----- Native stack trace -----

 1: 0xf6ea57 node::Assert(node::AssertionInfo const&) [node]
 2: 0xffa00a node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int, node::PlatformDebugLogLevel) [node]
 3: 0xffa110 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
 4: 0xf1a8ce  [node]
 5: 0xf1bd8c node::Start(int, char**) [node]
 6: 0x7fdf0c44624a  [/lib/x86_64-linux-gnu/libc.so.6]
 7: 0x7fdf0c446305 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 8: 0xe5b47e _start [node]

  #  node[1]: std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start() at ../src/node_platform.cc:103
  #  Assertion failed: (0) == (uv_thread_create(t.get(), start_thread, this))

----- Native stack trace -----

 1: 0xf6ea57 node::Assert(node::AssertionInfo const&) [node]
 2: 0xffa00a node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int, node::PlatformDebugLogLevel) [node]
 3: 0xffa110 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
 4: 0xf1a8ce  [node]
 5: 0xf1bd8c node::Start(int, char**) [node]
 6: 0x7f02d712324a  [/lib/x86_64-linux-gnu/libc.so.6]
 7: 0x7f02d7123305 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 8: 0xe5b47e _start [node]

86jkuncle avatar Jul 18 '25 02:07 86jkuncle

os version: centos7.9 2009 core: 3.10.0-1160.el7.x86_64 docker version: Docker version 20.10.9, build c2ea9bc

86jkuncle avatar Jul 18 '25 02:07 86jkuncle

Sorry, but can you again increase to 500 lines please

Alexandre Biche

Le ven. 18 juil. 2025, 04:04, 86jkuncle @.***> a écrit :

86jkuncle left a comment (WebDB-App/app#33) https://github.com/WebDB-App/app/issues/33#issuecomment-3086418161

os version: centos7.9 2009 core: 3.10.0-1160.el7.x86_64 docker version: Docker version 20.10.9, build c2ea9bc

— Reply to this email directly, view it on GitHub https://github.com/WebDB-App/app/issues/33#issuecomment-3086418161, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZ56R7CVFXWPSVCOG4KRKL3JBIZZAVCNFSM6AAAAABVA657NCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAOBWGQYTQMJWGE . You are receiving this because you were mentioned.Message ID: @.***>

aleluff avatar Jul 18 '25 07:07 aleluff