Fork me on GitHub
#datomic
<
2022-01-05
>
enn19:01:17

We are getting local (development) transactor processes dying with exit code 137. Is there documentation for transactor exit codes somewhere?

ghadi19:01:49

jvm 137 is OOM

enn20:01:50

👍 thanks Ghadi!

jdkealy22:01:33

I'm having trouble connecting to a console running in a docker container using postgres storage

bash-4.3# psql -U datomic -h postgres
Password for user datomic: 
psql (9.5.13, server 13.3)
WARNING: psql major version 9.5, server major version 13.
         Some psql features might not work.
Type "help" for help.

datomic=> c
^ connection is correct
bash-4.3# /opt/datomic-pro-0.9.5561/bin/console -p 8080 sql datomic:sql://?jdbc:
[1] 898
bash-4.3# Console started on port: 8080
   sql = datomic:sql://?jdbc:
Open  in your browser (Chrome recommended)
open the browser and i get The server requested password-based authentication, but no password was provided. trying to connect to datomic:sql://?jdbc:, make sure transactor is running

jdkealy22:01:06

my clojure container can connect without issue

matthavener14:01:13

you need to quote the command line arguments because bash interprets & as “run in the background”

matthavener14:01:27

like this:

/opt/datomic-pro-0.9.5561/bin/console -p 8080 sql 'datomic:sql://?jdbc:'