boschkundendienst / guacamole-docker-compose

Guacamole with docker-compose using PostgreSQL, nginx with SSL (self-signed)
GNU General Public License v3.0
955 stars 398 forks source link

Database Creation in prepare.sh incorrect #72

Closed an0wak closed 1 year ago

an0wak commented 1 year ago

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
boschkundendienst commented 1 year ago

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