Hi,
I am trying to deploy Penpot in my Openshift Cluster.
The backend is stuck at startup, and restart with error, but I don’t see any in logs (log-level=DEBUG for all) :
+ exec /opt/jdk/bin/java -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Dlog4j2.configurationFile=log4j2.xml -XX:-OmitStackTraceInFastThrow -jar penpot.jar -m app.main
2023-02-16 09:07:43,003 main INFO Registered Log4j as the java.util.logging.LogManager.
[2023-02-16 09:07:45.610] D io.netty.util.internal.logging.InternalLoggerFactory - Using SLF4J as the default logging framework
[2023-02-16 09:07:45.614] D io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024
[2023-02-16 09:07:45.615] D io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096
[2023-02-16 09:07:50.405] I app.metrics - action="initialize metrics"
[2023-02-16 09:07:50.418] D com.zaxxer.hikari.HikariConfig - main - configuration:
[2023-02-16 09:07:50.425] D com.zaxxer.hikari.HikariConfig - allowPoolSuspension.............false
[2023-02-16 09:07:50.425] D com.zaxxer.hikari.HikariConfig - autoCommit......................true
[2023-02-16 09:07:50.425] D com.zaxxer.hikari.HikariConfig - catalog.........................none
[2023-02-16 09:07:50.426] D com.zaxxer.hikari.HikariConfig - connectionInitSql..............."SET statement_timeout = 300000;
SET idle_in_transaction_session_timeout = 300000;"
[2023-02-16 09:07:50.426] D com.zaxxer.hikari.HikariConfig - connectionTestQuery.............none
[2023-02-16 09:07:50.427] D com.zaxxer.hikari.HikariConfig - connectionTimeout...............10000
[2023-02-16 09:07:50.427] D com.zaxxer.hikari.HikariConfig - dataSource......................none
[2023-02-16 09:07:50.428] D com.zaxxer.hikari.HikariConfig - dataSourceClassName.............none
[2023-02-16 09:07:50.482] D com.zaxxer.hikari.HikariConfig - dataSourceJNDI..................none
[2023-02-16 09:07:50.483] D com.zaxxer.hikari.HikariConfig - dataSourceProperties............{password=<masked>}
[2023-02-16 09:07:50.483] D com.zaxxer.hikari.HikariConfig - driverClassName.................none
[2023-02-16 09:07:50.484] D com.zaxxer.hikari.HikariConfig - exceptionOverrideClassName......none
[2023-02-16 09:07:50.484] D com.zaxxer.hikari.HikariConfig - healthCheckProperties...........{}
[2023-02-16 09:07:50.484] D com.zaxxer.hikari.HikariConfig - healthCheckRegistry.............none
[2023-02-16 09:07:50.484] D com.zaxxer.hikari.HikariConfig - idleTimeout.....................120000
[2023-02-16 09:07:50.484] D com.zaxxer.hikari.HikariConfig - initializationFailTimeout.......-1
[2023-02-16 09:07:50.485] D com.zaxxer.hikari.HikariConfig - isolateInternalQueries..........false
[2023-02-16 09:07:50.485] D com.zaxxer.hikari.HikariConfig - jdbcUrl.........................jdbc:postgresql://penpot-postgres/penpot
[2023-02-16 09:07:50.485] D com.zaxxer.hikari.HikariConfig - keepaliveTime...................0
[2023-02-16 09:07:50.485] D com.zaxxer.hikari.HikariConfig - leakDetectionThreshold..........0
[2023-02-16 09:07:50.486] D com.zaxxer.hikari.HikariConfig - maxLifetime.....................1800000
[2023-02-16 09:07:50.486] D com.zaxxer.hikari.HikariConfig - maximumPoolSize.................60
[2023-02-16 09:07:50.486] D com.zaxxer.hikari.HikariConfig - metricRegistry..................none
[2023-02-16 09:07:50.486] D com.zaxxer.hikari.HikariConfig - metricsTrackerFactory...........com.zaxxer.hikari.metrics.prometheus.PrometheusMetricsTrackerFactory@b5a6a82
[2023-02-16 09:07:50.486] D com.zaxxer.hikari.HikariConfig - minimumIdle.....................0
[2023-02-16 09:07:50.487] D com.zaxxer.hikari.HikariConfig - password........................<masked>
[2023-02-16 09:07:50.487] D com.zaxxer.hikari.HikariConfig - poolName........................"main"
[2023-02-16 09:07:50.487] D com.zaxxer.hikari.HikariConfig - readOnly........................false
[2023-02-16 09:07:50.487] D com.zaxxer.hikari.HikariConfig - registerMbeans..................false
[2023-02-16 09:07:50.487] D com.zaxxer.hikari.HikariConfig - scheduledExecutor...............none
[2023-02-16 09:07:50.488] D com.zaxxer.hikari.HikariConfig - schema..........................none
[2023-02-16 09:07:50.488] D com.zaxxer.hikari.HikariConfig - threadFactory...................internal
[2023-02-16 09:07:50.488] D com.zaxxer.hikari.HikariConfig - transactionIsolation............default
[2023-02-16 09:07:50.489] D com.zaxxer.hikari.HikariConfig - username........................"userMOQ"
[2023-02-16 09:07:50.489] D com.zaxxer.hikari.HikariConfig - validationTimeout...............10000
[2023-02-16 09:07:50.494] I com.zaxxer.hikari.HikariDataSource - main - Starting...
[2023-02-16 09:07:50.509] D com.zaxxer.hikari.util.DriverDataSource - Loaded driver with class name org.postgresql.Driver for jdbcUrl=jdbc:postgresql://penpot-postgres/penpot
[2023-02-16 09:07:50.520] I com.zaxxer.hikari.HikariDataSource - main - Start completed.
[2023-02-16 09:07:50.523] I app.db - hint="initialize connection pool", name="main", uri="postgresql://penpot-postgres/penpot", read-only=false, with-credentials=true, min-size=0, max-size=60
[2023-02-16 09:07:50.585] D org.postgresql.Driver - Loading driver configuration via classloader jdk.internal.loader.ClassLoaders$AppClassLoader@46fbb2c1
[2023-02-16 09:07:50.587] D org.postgresql.Driver - Connecting with URL: jdbc:postgresql://penpot-postgres/penpot
[2023-02-16 09:07:50.598] D org.postgresql.jdbc.PgConnection - PostgreSQL JDBC Driver 42.5.1
[2023-02-16 09:07:50.599] D org.postgresql.jdbc.PgConnection - setDefaultFetchSize = 0
[2023-02-16 09:07:50.599] D org.postgresql.jdbc.PgConnection - setPrepareThreshold = 5
[2023-02-16 09:07:50.604] D org.postgresql.core.v3.ConnectionFactoryImpl - Trying to establish a protocol version 3 connection to penpot-postgres:5432
[2023-02-16 09:07:50.620] D com.zaxxer.hikari.pool.HikariPool - main - Before cleanup stats (total=0, active=0, idle=0, waiting=1)
[2023-02-16 09:07:50.622] D com.zaxxer.hikari.pool.HikariPool - main - After cleanup stats (total=0, active=0, idle=0, waiting=1)
[2023-02-16 09:07:50.622] D com.zaxxer.hikari.pool.HikariPool - main - Fill pool skipped, pool has sufficient level or currently being filled (queueDepth=1).
[2023-02-16 09:07:50.627] D org.postgresql.core.v3.ConnectionFactoryImpl - Receive Buffer Size is 179,680
[2023-02-16 09:07:50.627] D org.postgresql.core.v3.ConnectionFactoryImpl - Send Buffer Size is 23,040
[2023-02-16 09:07:50.718] D com.zaxxer.hikari.pool.HikariPool - main - Added connection org.postgresql.jdbc.PgConnection@1609a401
[2023-02-16 09:07:50.727] D org.postgresql.jdbc.PgConnection - setAutoCommit = false
[2023-02-16 09:07:50.759] I app.util.migrations - action="apply migration", module="main", name="0001-add-extensions"
[2023-02-16 09:07:50.780] D org.postgresql.jdbc.PgConnection - setAutoCommit = true
My postrgresql server is deployed and available through a Service, Credentials and permissions for the user are set. I even did a Grant All to be sure it can work.
Any clue on what can I do to troubleshoot this issue ?