Open bytersproblem opened 3 years ago
@nukedone it looks like something fails to authenticate with postgresql based on the stacktrace:
Exception in thread "main" clojure.lang.ExceptionInfo: Error in component :hikari in system com.stuartsierra.component.SystemMap calling #'com.stuartsierra.component/start {:reason :com.stuartsierra.component/component-function-threw-exception, :function #'com.stuartsierra.component/start, :system-key :hikari, :component #app.components.hikari.Hikari{:db-spec {:database-name "logseq", :adapter "postgresql", :auto-commit true, :register-mbeans false, :password nil, :port-number 5432, :username nil, :max-lifetime 1800000, :minimum-idle 10, :connection-init-sql "set time zone 'UTC'", :connection-timeout 30000, :server-name "127.0.0.1", :read-only false, :maximum-pool-size 48, :idle-timeout 600000, :validation-timeout 5000, :pool-name "logseq-clj-db-pool"}, :datasource nil}, :system #<SystemMap>}
then
Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: The server requested password-based authentication, but no password was provided.
then
Caused by: org.postgresql.util.PSQLException: The server requested password-based authentication, but no password was provided.
I see :password nil
and :username nil
, potentially because you didn't include a required username & password in the postgresql connection string?
I followed the instructions but I am stuck at running a jar file Here is the error trace. Also I think that I exported environmental variables correctly (I doublecheked)
Any help...