Giter Club home page Giter Club logo

docker-3dgis's People

Contributors

vpicavet avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

docker-3dgis's Issues

Could not load postgis extension for postgresql

Hi @vpicavet. I could not load postgis extension for postgresql with this image

Step to reproduse:

  1. create user and db
$createuser --no-superuser --no-createrole --createdb osm
$createdb -E UTF8 -O osm osm
  1. create postgis extension for it:
$echo "CREATE EXTENSION postgis;" |psql -d osm

3 It has failed with message:

ERROR:  could not load library "/usr/lib/postgresql/9.5/lib/postgis-2.2.so": libboost_thread.so.1.54.0: cannot open shared object file: No such file or directory```
But file exists and has inough permmision  to read and execute. 

Cannot reach webserver

Hi,

I'm running the container with exact the same commandline as suggested. But no webpage shows up.

If I do a curl http://localhost:80/client.html I get this response: curl: (56) Failure when receiving data from the peer

Docker image can`t be runed.

Docker image can`t be runed. It leaves in cycle after runing and write next messages:

xxx@yyy:~/Projects/docker-3dgis$ docker run --rm -p 5423:5432 -p 80:80 --name 3dgis_test oslandia/3dgis /sbin/my_init*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/init_db_script.sh...
Waiting for PostgreSQL to run...
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 10
./run: 3: ./run: source: not found
Jan 20 07:56:04 9a0aaa70de32 syslog-ng[20]: syslog-ng starting up; version='3.5.3'
PostgreSQL running, initializing database.
./run: 3: ./run: source: not found
CREATE ROLE
Creating a new empty database...
CREATE DATABASE
./run: 3: ./run: source: not found
WARNING:  type input function pointcloud_abs_in should not be volatile
WARNING:  type output function pointcloud_abs_out should not be volatile
CREATE TYPE
Database initialized. Connect from host with :
psql -h localhost -p <PORT> -U pggis -W pggis
Get <PORT> value with 'docker ps'
./run: 3: ./run: source: not found
./run: 3: ./run: source: not found
./run: 3: ./run: source: not found
./run: 3: ./run: source: not found
./run: 3: ./run: source: not found
./run: 3: ./run: source: not found
./run: 3: ./run: source: not found
./run: 3: ./run: source: not found
./run: 3: ./run: source: not found
./run: 3: ./run: source: not found
./run: 3: ./run: source: not found
./run: 3: ./run: source: not found
./run: 3: ./run: source: not found
./run: 3: ./run: source: not found

Although, base image oslandia/pggis sarts correctly.

I`m not good with linux developing and python. But I think the issue in /sbin/my_init in next lines

info("Booting runit daemon...")
        pid = os.spawnl(os.P_NOWAIT, "/usr/bin/runsvdir", "/usr/bin/runsvdir",
                "-P", "/etc/service")

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.