Fork me on GitHub
#datomic
<
2020-12-28
>
Wojtek09:12:18

I was trying to run datomic on AWS but when I want to create-database I get an error: Execution error (Exceptions$IllegalArgumentExceptionInfo) at datomic.error/arg (error.clj:79). :db.error/invalid-ddb-region Not a supported dynamodb region: me-south-1 Any idea how to fix this? AWS supports dynamodb in me-south-1: https://docs.aws.amazon.com/general/latest/gr/ddb.html

favila14:12:11

which datomic is this? cloud or on-prem? Cloud is only supported on certain regions (this isn’t one of them, list here https://docs.datomic.com/cloud/operation/account-setup.html#regions). On-prem might just have an out of date sdk that doesn’t know about this region?

Wojtek23:12:38

on-prem, datomic-pro-1.0.6222

jaret13:01:57

@U017D57461Z how are you creating the DB and what docs are you following? Can you share the command you are using for on-prem? Are you using client or peer api? For on-prem you need to roll your own CFT. Have you done so? As a development connivence we provide an example template through our create-cf-template script. https://docs.datomic.com/on-prem/aws.html However you also have to configure storage: https://docs.datomic.com/on-prem/storage.html#provisioning-dynamo

thumbnail22:12:13

Hey! I'm trying out Datomic Analytics Support, I don't know where to put the metaschema .edn-files. They do not seem to be picked up when placed in ./presto-server/etc/x.edn on my datomic-peer installation, should they be somewhere else? Configuration / catalog is all setup, and show tables shows the default db__attrs and db__idents columns. My metaschema.edn is also correct, see thread.

thumbnail22:12:27

Very simple metaschema:

{:tables
 {:person/id {}}
And I verified that (d/q '[:find (count ?e) :where [?e :person/id]] db) returns non-zero

thumbnail08:12:15

https://docs.datomic.com/on-prem/analytics/analytics-configuring.html#configuring-metaschema describes etc-path/datomic, where etc-path is announced by presto as the Etc directory: (no surprises there). so in my case; opt/datomic-pro-1.0.6202/presto-server/etc/datomic/x.edn worked. :thumbsup::skin-tone-2: