Git Product home page Git Product logo

agensgraph-docker's People

Contributors

emotionbug avatar geunlee avatar halkrine avatar mihaj avatar shinhanbyeol avatar simkimsia avatar yjy44 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

agensgraph-docker's Issues

v2.5.0

Hello,
is the v2.5.0 Docker image I found on the Docker Hub ready to be used? I don't see any 2.5.0 among this repository releases.

However, I ran it with the following command:

docker run -d \
    --name agensgraph-bitnine-2.5.0 \
    --volume agens-2.5.0-data:/var/lib/postgresql/data \
    --restart unless-stopped \
    --publish 15432:5432 \
    -e POSTGRES_PASSWORD=mypassword \
    -e PGDATA=/var/lib/postgresql/data/pgdata \
    bitnine/agensgraph:v2.5.0

It seems to start fine, but the logs are full of:

2021-12-07 17:23:04.500 UTC [54] ERROR:  invalid value for parameter "graph_path": "agens"
2021-12-07 17:23:04.500 UTC [54] DETAIL:  graph "agens" does not exist.
2021-12-07 17:23:04.500 UTC [54] STATEMENT:   SET GRAPH_PATH=agens

Here's the full log since starting the container, it looks fine to me (but I mo PostgreSQL expert):

The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /var/lib/postgresql/data/pgdata ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default timezone ... UTC
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
running bootstrap script ... ok
sh: locale: not found
2021-12-07 17:23:01.313 UTC [30] WARNING:  no usable system locales were found
performing post-bootstrap initialization ... ok
syncing data to disk ... ok

Success. You can now start the database server using:

    pg_ctl -D /var/lib/postgresql/data/pgdata -l logfile start


WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
waiting for server to start....2021-12-07 17:23:02.174 UTC [35] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-12-07 17:23:02.222 UTC [36] LOG:  database system was shut down at 2021-12-07 17:23:01 UTC
2021-12-07 17:23:02.233 UTC [35] LOG:  database system is ready to accept connections
 done
server started

/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*

waiting for server to shut down...2021-12-07 17:23:02.271 UTC [35] LOG:  received fast shutdown request
.2021-12-07 17:23:02.275 UTC [35] LOG:  aborting any active transactions
2021-12-07 17:23:02.277 UTC [35] LOG:  background worker "logical replication launcher" (PID 42) exited with exit code 1
2021-12-07 17:23:02.277 UTC [37] LOG:  shutting down
2021-12-07 17:23:02.341 UTC [35] LOG:  database system is shut down
 done
server stopped

PostgreSQL init process complete; ready for start up.

2021-12-07 17:23:02.400 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2021-12-07 17:23:02.400 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2021-12-07 17:23:02.430 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-12-07 17:23:02.488 UTC [47] LOG:  database system was shut down at 2021-12-07 17:23:02 UTC
2021-12-07 17:23:02.512 UTC [1] LOG:  database system is ready to accept connections
2021-12-07 17:23:04.500 UTC [54] ERROR:  invalid value for parameter "graph_path": "agens"
2021-12-07 17:23:04.500 UTC [54] DETAIL:  graph "agens" does not exist.
2021-12-07 17:23:04.500 UTC [54] STATEMENT:   SET GRAPH_PATH=agens
2021-12-07 17:23:14.513 UTC [55] ERROR:  invalid value for parameter "graph_path": "agens"
2021-12-07 17:23:14.513 UTC [55] DETAIL:  graph "agens" does not exist.
2021-12-07 17:23:14.513 UTC [55] STATEMENT:   SET GRAPH_PATH=agens
[...]

Create a docker image based on official PostgreSQL image

Hello. First of all, thanks for this great sofware. <3

I've had some problems running the official Agensgraph Docker image (some non-default configurations needed to be made and other things, like non-standard PostgreSQL installation path etc.), so I decided to create a new image, based on the official PostgreSQL Docker image.

It's based on Debian (I'm currently not supporting alpine by now) and has some good features, as:

  • Lower footprint (114MB vs 620MB)
  • Using a more up-to-date Agensgraph version (2.1.3 vs 2.1.1)
  • Accepts all standard Docker postgres image environment variables
# docker image ls | grep agens
turicas/agensgraph     2.1.3               54c3b6865166        13 minutes ago      114MB
bitnine/agensgraph     v2.1.1              7e1892c80cb4        16 months ago       620MB

The code is available at https://github.com/turicas/agensgraph-docker and I'm willing to help make this an official Agensgraph image (we could also build for other versions and base images, like Alpine).

\dG doesn't work

Version tag: v2.1.3

As per the README.md "you can see the list of graphs created with the \dG command":

$ docker run --name agensgraph -e POSTGRES_PASSWORD=agensgraph -d bitnine/agensgraph:v2.1.3
$ docker exec -it agensgraph psql -U postgres
postgres=# \dG
Invalid command \dG. Try ? for help

There is no mention of \dG in ? help.

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.