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.

Docker install not working

See original GitHub issue

Hello again. I was so thrilled when i saw the launch of the alpha 2. Keep the good work. ❤️ Docker install isn’t working for me. Here are the details:

  • EdgeDB Version: 1.0-alpha.2+g16f75ece5.d20200122
  • OS Version: Mac High Siera 10.13.6
  • Docker version 19.03.5, build 633a0ea

Steps to Reproduce:

  1. I followed the instructions to install via Docker
docker run -it --rm -p 5656:5656 -p 8888:8888 \
            --name=edgedb-server2 \
            -v datadir:/var/lib/edgedb/data \
            edgedb/edgedb

The error is the following:

INFO 1 2020-01-31 17:28:48,714 edb.server: EdgeDB server (1.0-alpha.2+g16f75ece5.d20200122) starting.
=========================================== Exception occurred: pg_ctl stop exited with status 1: pg_ctl: could not send stop signal (PID: 31): No such process
 ===========================================

2. edb.server.pgcluster.ClusterError: cluster is not running

------------------------------------------------------------------------------------------------ Traceback -------------------------------------------------------------------------------------------------

    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/site-packages/edb/server/main.py, line 287, in run_server
        > need_cluster_restart = _init_cluster(cluster, args)
    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/site-packages/edb/server/main.py, line 141, in _init_cluster
        > need_restart = asyncio.run(bootstrap.bootstrap(cluster, bootstrap_args))
    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/asyncio/runners.py, line 43, in run
        > return loop.run_until_complete(main)
    uvloop/loop.pyx, line 1456, in uvloop.loop.Loop.run_until_complete

    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/site-packages/edb/server/bootstrap.py, line 636, in bootstrap
        > pgconn = await cluster.connect()
    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/site-packages/edb/server/pgcluster.py, line 82, in connect
        > conn_info = self.get_connection_spec()
    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/site-packages/edb/server/pgcluster.py, line 119, in get_connection_spec
        > addr = self.get_connection_addr()
    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/site-packages/edb/server/pgcluster.py, line 104, in get_connection_addr
        > raise ClusterError('cluster is not running')

edb.server.pgcluster.ClusterError: cluster is not running

==================================================================== During handling of the above exception, another exception occurred ====================================================================

1. edb.server.pgcluster.ClusterError: pg_ctl stop exited with status 1: pg_ctl: could not send stop signal (PID: 31): No such process


------------------------------------------------------------------------------------------------ Traceback -------------------------------------------------------------------------------------------------

    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/bin/edgedb-server, line 10, in <module>
        > sys.exit(main())
    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/site-packages/click/core.py, line 722, in __call__
        > return self.main(*args, **kwargs)
    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/site-packages/click/core.py, line 697, in main
        > rv = self.invoke(ctx)
    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/site-packages/click/core.py, line 895, in invoke
        > return ctx.invoke(self.callback, **ctx.params)
    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/site-packages/click/core.py, line 535, in invoke
        > return callback(*args, **kwargs)
    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/site-packages/edb/server/main.py, line 567, in main
        > server_main(**kwargs)
    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/site-packages/edb/server/main.py, line 559, in server_main
        > run_server(ServerConfig(**kwargs))
    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/site-packages/edb/server/main.py, line 322, in run_server
        > cluster.stop()
    /usr/lib/x86_64-linux-gnu/edgedb-1-alpha2/lib/python3.8/site-packages/edb/server/pgcluster.py, line 347, in stop
        > raise ClusterError(

edb.server.pgcluster.ClusterError: pg_ctl stop exited with status 1: pg_ctl: could not send stop signal (PID: 31): No such process

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
haikyuucommented, May 28, 2020

It works fine now. Thank you @ambv @1st1

0reactions
haikyuucommented, May 31, 2020

Yes indeed. It works fine now.

Thank you

On Thu, May 28, 2020 at 12:12 AM Yury Selivanov notifications@github.com wrote:

Going to close this since apparently this works with the latest.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/edgedb/edgedb/issues/1172#issuecomment-635011618, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBJR5AXOPYYMUYXRJZPY53RTWUAPANCNFSM4KOKVCEA .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Docker Engine installation
Troubleshoot Docker Engine installation · Kernel compatibility · Unable to connect to the Docker daemon · IP forwarding problems...
Read more >
Docker Desktop Installer does not start - Stack Overflow
Open command prompt as Run as Administrator · navigate to the downloaded folder cd C:\Users\ username\Downloads · Run the executable by just ...
Read more >
How To Install Docker Desktop And Troubleshoot Issues In ...
Type and search Services in the windows search box or open run then type services.msc and click Ok. Then you will see a...
Read more >
What to Do if Docker Desktop for Windows Does Not Start
Remove Docker in “Add or remove programs” · Restart your computer · Install Docker as Administrator (and not by running the installer directly)....
Read more >
Docker Desktop Installer not starting · Issue #12510 - GitHub
Steps to reproduce the behavior · Run CMD as administrator · Run "Docker Desktop Installer.exe" from CMD.
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