mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-03-04 08:52:27 -05:00
Docker: Upgrading from 25.0.1 to 25.0.3 throws error missing "PgCommon.pm" #903
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#903
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ecerichter on GitHub (May 3, 2025).
Description
Trying to upgrade from CloudBeaver:25.0.1 to CloudBeaver:25.0.3 gives the following error:
`
03-05-2025 13:41:21.294 [main] INFO o.j.d.e.p.b.JDBCDatabasePostgresBackupHandler - Command started: pg_dump cloudbeaver --host xxx.xxx.xxx.xxx --port 5432 --blobs --verbose --file /opt/cloudbeaver/workspace/backup/cloudbeaver_backup_version_cb22.zip --schema cb
03-05-2025 13:41:23.093 [main] ERROR o.j.d.e.p.b.JDBCDatabasePostgresBackupHandler - Postgres backup failed with output: Can't locate PgCommon.pm in @INC (you may need to install the PgCommon module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at /usr/bin/pg_dump line 22.
BEGIN failed--compilation aborted at /usr/bin/pg_dump line 22.
03-05-2025 13:41:23.093 [main] ERROR o.j.d.e.p.b.JDBCDatabasePostgresBackupHandler - Create backup is failed: Postgres backup failed
03-05-2025 13:41:23.093 [main] WARN o.j.d.m.sql.schema.SQLSchemaManager - CB_CE migration has been rolled back
03-05-2025 13:41:23.096 [main] ERROR io.cloudbeaver.server.CBApplication - Error initializing database
org.jkiss.dbeaver.DBException: Error updating management database schema
at io.cloudbeaver.service.security.db.CBDatabase.initialize(CBDatabase.java:164)
at io.cloudbeaver.service.security.EmbeddedSecurityControllerFactory.createAndInitDatabaseInstance(EmbeddedSecurityControllerFactory.java:84)
...
`
I'm using a external postgresql database for CloudBeaver metadata.
How can I solve this issue?
Steps to reproduce
No response
Expected/Desired Behavior
Backup executed without errors...
CloudBeaver Version
25.0.3
Additional context
I've helped myself by creating a "hotfix" of the image with the following Dockerfile:
FROM dbeaver/cloudbeaver:25.0.3RUN apt-get update -yRUN apt-get install -y postgresql-common postgresql-clientand a build
docker build -t cloudbeaver:25.0.3.1 .@dariamarutkina commented on GitHub (May 5, 2025):
Hello, @ecerichter!
Thanks for the report. We will update the documentation soon.
Alternatively, you can disable backups of the database.
backupEnabled: "${CLOUDBEAVER_DB_BACKUP_ENABLED:false}"https://github.com/dbeaver/cloudbeaver/wiki/Server-configuration
Thank you for using CloudBeaver! 🦫