flcontainers / guacamole

A Docker Container for Apache Guacamole, a client-less remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH over HTML5. For x64, arm64 and ppc64le.
https://hub.docker.com/r/flcontainers/guacamole
GNU General Public License v3.0
322 stars 60 forks source link

PostgreSQL Error - failed to start #86

Closed spiralcb closed 12 months ago

spiralcb commented 1 year ago

Hello,

I'm trying to use your image to setup Guacamole container on Raspberry but I have the following error just after the container start:

PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-07-13 17:07:43.917 UTC [27] FATAL: database files are incompatible with server 2023-07-13 17:07:43.917 UTC [27] DETAIL: The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this version 13.11.

Could you help please ?

Thanks in advance

Christophe

MaxWaldorf commented 12 months ago

there is no simple way to do this

You need to export your pgsql DB and re-import it

sintaxx commented 7 months ago

there is no simple way to do this

You need to export your pgsql DB and re-import it

would you mind elaborating on how to do this ?

MaxWaldorf commented 7 months ago

Dump the DB from container save it in a permanent folder and then import it in a new installation with a higher version of PG