Skip to content

Instantly share code, notes, and snippets.

@Nuhvi
Created January 19, 2021 11:28
Show Gist options
  • Save Nuhvi/4bb151aa50f6b5e2ceea09772bf7a8df to your computer and use it in GitHub Desktop.
Save Nuhvi/4bb151aa50f6b5e2ceea09772bf7a8df to your computer and use it in GitHub Desktop.
Logseq server error
java -Duser.timezone=UTC -jar logseq.jar
21-01-19 11:23:30 pop-os INFO [org.eclipse.jetty.util.log:169] - Logging initialized @5544ms to org.eclipse.jetty.util.log.Slf4jLog
Server is running on port 3000 !
21-01-19 11:23:30 pop-os INFO [com.zaxxer.hikari.HikariDataSource:80] - logseq-clj-db-pool - Starting...
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 "localhost", :read-only false, :maximum-pool-size 48, :idle-timeout 600000, :validation-timeout 5000, :pool-name "logseq-clj-db-pool"}, :datasource nil}, :system #<SystemMap>}
at com.stuartsierra.component$try_action.invokeStatic(component.cljc:120)
at com.stuartsierra.component$try_action.invoke(component.cljc:117)
at com.stuartsierra.component$update_system$fn__13727.invoke(component.cljc:140)
at clojure.lang.ArraySeq.reduce(ArraySeq.java:116)
at clojure.core$reduce.invokeStatic(core.clj:6827)
at clojure.core$reduce.invoke(core.clj:6810)
at com.stuartsierra.component$update_system.invokeStatic(component.cljc:136)
at com.stuartsierra.component$update_system.doInvoke(component.cljc:130)
at clojure.lang.RestFn.invoke(RestFn.java:445)
at com.stuartsierra.component$start_system.invokeStatic(component.cljc:164)
at com.stuartsierra.component$start_system.invoke(component.cljc:156)
at com.stuartsierra.component$start_system.invokeStatic(component.cljc:162)
at com.stuartsierra.component$start_system.invoke(component.cljc:156)
at com.stuartsierra.component.SystemMap.start(component.cljc:179)
at app.core$start.invokeStatic(core.clj:23)
at app.core$start.invoke(core.clj:18)
at app.core$_main.invokeStatic(core.clj:26)
at app.core$_main.doInvoke(core.clj:25)
at clojure.lang.RestFn.invoke(RestFn.java:397)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.RestFn.applyTo(RestFn.java:132)
at app.core.main(Unknown Source)
Caused by: java.io.FileNotFoundException: /tmp/logseq (Is a directory)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:298)
at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:237)
at clojure.java.io$fn__11468.invokeStatic(io.clj:230)
at clojure.java.io$fn__11468.invoke(io.clj:230)
at clojure.java.io$fn__11405$G__11374__11412.invoke(io.clj:69)
at clojure.java.io$fn__11480.invokeStatic(io.clj:263)
at clojure.java.io$fn__11480.invoke(io.clj:259)
at clojure.java.io$fn__11405$G__11374__11412.invoke(io.clj:69)
at clojure.java.io$fn__11442.invokeStatic(io.clj:166)
at clojure.java.io$fn__11442.invoke(io.clj:166)
at clojure.java.io$fn__11418$G__11370__11425.invoke(io.clj:69)
at clojure.java.io$writer.invokeStatic(io.clj:119)
at clojure.java.io$writer.doInvoke(io.clj:104)
at clojure.lang.RestFn.applyTo(RestFn.java:139)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.core$spit.invokeStatic(core.clj:6954)
at clojure.core$spit.doInvoke(core.clj:6954)
at clojure.lang.RestFn.invoke(RestFn.java:464)
at taoensso.timbre.appenders.core$spit_appender$self__13014.invoke(core.clj:85)
at taoensso.timbre.appenders.core$spit_appender$self__13014.invoke(core.clj:94)
at taoensso.timbre$_log_BANG_$fn__13147.invoke(timbre.clj:506)
at clojure.core$fn__8414$fn__8416.invoke(core.clj:6840)
at clojure.core.protocols$iter_reduce.invokeStatic(protocols.clj:49)
at clojure.core.protocols$fn__8125.invokeStatic(protocols.clj:75)
at clojure.core.protocols$fn__8125.invoke(protocols.clj:75)
at clojure.core.protocols$fn__8073$G__8068__8086.invoke(protocols.clj:13)
at clojure.core$reduce.invokeStatic(core.clj:6828)
at clojure.core$fn__8414.invokeStatic(core.clj:6830)
at clojure.core$fn__8414.invoke(core.clj:6830)
at clojure.core.protocols$fn__8152$G__8147__8161.invoke(protocols.clj:175)
at clojure.core$reduce_kv.invokeStatic(core.clj:6856)
at clojure.core$reduce_kv.invoke(core.clj:6847)
at taoensso.timbre$_log_BANG_.invokeStatic(timbre.clj:441)
at taoensso.timbre$_log_BANG_.invoke(timbre.clj:345)
at slf4j_timbre.adapter$_info_String_Object.invokeStatic(adapter.clj:112)
at slf4j_timbre.adapter$_info_String_Object.doInvoke(adapter.clj:112)
at clojure.lang.RestFn.invoke(RestFn.java:439)
at com.github.fzakaria.slf4j.timbre.TimbreLoggerAdapter.info(Unknown Source)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:80)
at hikari_cp.core$make_datasource.invokeStatic(core.clj:267)
at hikari_cp.core$make_datasource.invoke(core.clj:264)
at app.components.hikari.Hikari.start(hikari.clj:11)
at com.stuartsierra.component$fn__13668$G__13662__13670.invoke(component.cljc:5)
at com.stuartsierra.component$fn__13668$G__13661__13673.invoke(component.cljc:5)
at clojure.lang.AFn.applyToHelper(AFn.java:154)
at clojure.lang.AFn.applyTo(AFn.java:144)
at clojure.lang.Var.applyTo(Var.java:705)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.core$apply.invoke(core.clj:660)
at com.stuartsierra.component$try_action.invokeStatic(component.cljc:118)
... 21 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment