Open dengke-li opened 6 years ago
Hi linuslukia,
it seems to me that the download of the DB image did not succeed!
There would be a forth database called wsp_default
:
$ docker-compose exec db psql -U postgres -c '\l'
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-------------+----------+----------+-------------+-------------+-----------------------
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
wsp_default | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
(4 rows)
Note the database images size is currently at 135 GB.
$ sudo du -hcs pgdata/data
135G pgdata/data
135G total
Does this help?
Hello,
I am trying to install the WSD project(https://github.com/uhh-lt/wsd) When I execute the command './wsd model:donwload' and command './wsd web-app:start', everything seems fine, and the three containers started, but when I enter into the shell of the postgresql, I find there are three databases(postgres, template0,template1),but i find no tables in each of tables. and when I execute sudo ./wsd web-app:test, then there is following bug:
[ERROR] API responded with status code '500'.
For more details run: curl 'http://localhost:9000/predictSense' -H 'content-type: application/json' -d '{"word":"python","context":"Pyhthon is a programming language.","model":"cos_traditional_self"}'
and my docker-compose.yml is like following: version: '3' services: db: image: postgres:9.5.5 volumes:
Assumes you downloaded postgres data to the folder ./pgdata
api: build: context: api/target/docker/stage environment:
urgent for your help