On Mon, Dec 4, 2023 at 10:25 AM Remush <m.remmar...@gmail.com> wrote:

> Hey there,
> I'm sorry for the silly question.
>
> But I'm trying to download the DB extension from the:
> https://guacamole.apache.org/releases/1.5.3/
>
> However it comes in tar.gz, Is there a known way to transform it into .jar
> without damaging it?
>

Yes...you just need to extract it: tar xzf guacamole-auth-jdbc-1.5.3.tar.gz

>From the manual:

The database authentication extension is packaged as a .tar.gz file
containing several database-specific directories. Only one of the
directories within the archive will be applicable to you, depending on
whether you are using MariaDB, MySQL, PostgreSQL, or SQL Server.

This assumes that you have downloaded the tar.gz file and extracted it -
once you extract it, there will be several directories, one for each
database, and within each of those further directories that contain the JAR
and the schema files.


>
> Also I want to use the Postgresql DB but I'm not sure which one is
> compatible with the 1.5.3 guacamole:
> https://jdbc.postgresql.org/download/#latest-versions
>
>
I believe the most recent JDBC driver for Postgres will work without issues.


> Also has anyone ever ran into this error trying to start a guacamole
> container:
>
> ln" failed to create symbolic link
> '/home/guacamole/.guacamole/lib/postgresql-42.6.0.jar': File exists?
>
>
If you're using Docker, you don't need to download and extract the files,
you just need to use the correct variables and arguments when creating the
container. Please read the following section of the manual carefully:

https://guacamole.apache.org/doc/gug/guacamole-docker.html#postgresql-authentication

It covers a command used to generate the SQL schema file you will need to
load the database, and then how to start the container with the correct
parameters. It also takes care of placing the correct files within the
directories to talk to Postgres, including the JDBC library and the
extension JAR.

-Nick

Reply via email to