boschkundendienst / guacamole-docker-compose

Guacamole with docker-compose using PostgreSQL, nginx with SSL (self-signed)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Database Creation in prepare.sh incorrect

an0wak opened this issue · comments

commented

Hi,
Was using an older version of your docker-compose guac (no issues!!), recently decided to upgrade.

Found following line incorrect under prepare.sh

docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgres > ./init/initdb.sql

The file initdb.sql gets created but it has the following output.

Bad database type: --postgres
USAGE: /opt/guacamole/bin/initdb.sh [--postgresql | --mysql | --sqlserver]

May need to update this to.

docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgresql > ./init/initdb.sql

fixed now in prepare.sh, thanks for reporting seems guacamole changed something there.