Fork me on GitHub
Tatiana Kondratevich12:07:28

Hey everyone! We're creating a new storage + compute stack using 884-9095 version for both of them. After creation was completed, I've configured push via github actions, which works as intended and everything gets to CodeDeploy. While processing it in CodeDeploy gets to ValidateService event and then fails with ScriptTimedOut(Script at specified location: scripts/deploy-validate failed to complete in 300 seconds). I've checked datomic system's logs and I noticed this error " failed: Syntax error macroexpanding at (core.clj:152:3)." which apparently has been there since system's creation. In addition, I've received a TargetTracking-table Alarm in Cloudwatch directly after creating the stack. Would be grateful for any hints on this


Have you run the application locally?

Tatiana Kondratevich13:07:08

@U0508JRJC Yes. But I used dev-local structure when run application locally.


That should be fine. I just know I’ve burned myself before by assuming a change was correct and not actually running it before deploying and then wondering why I was trying to debug a timed out deploy. So wanted to start there. My next question is were there any dependency overrides reported with pushing? If so did you update you deps files to use those and again try to run locally?

Tatiana Kondratevich14:07:00

Yes, there were conflicts in dependency overrides. Updated clojure version and added all other dependencies to my deps.edn file/ Works locally but github actions still fail. This recently added dependency is causing troubles com.fasterxml.jackson.core/jackson-core {:mvn/version "2.10.1"}. The error is Execution error (ClassNotFoundException) at jdk.internal.loader.BuiltinClassLoader/loadClass ( com.fasterxml.jackson.core.util.JacksonFeature


Where is that error reported?

Tatiana Kondratevich14:07:17

@U0508JRJC on step running: clojure -A:ion-dev '{:op :push}' in github action.


We are working to keep dependencies up to date but your feedback is helpful here. Would you open a and include cloud versions and your deps? If you have a minimal application that exercises those deps as well that would be excellent.

Tatiana Kondratevich14:07:03

I fixed my github action deploy. I added com.fasterxml.jackson.core/jackson-annotations {:mvn/version "2.10.1"} and com.fasterxml.jackson.core/jackson-databind {:mvn/version "2.10.1"} in addition to com.fasterxml.jackson.core/jackson-core {:mvn/version "2.10.1"} In this moment I don't see another conficts and push going right. But I still get error in CodeDeploy which I explained earlier(ScriptTimedOut in ValidateService). Do you have any idea how I can fix this?


I am not clear on the specifics of what troubles you have had with github actions. Can we remove that from the equation here? Interested in helping to resolve the deps issues and opening a ticket would be a good way to help us enumerate version issues users are running into and to track progress towards resolving this specific problem.


@U028H6X0KRS post the full stacktrace


@U028H6X0KRS what version of ion/ion-dev are you using?

Tatiana Kondratevich19:07:44

@U0508JRJC I send ticket how you recommended. I remove github actions from equation. And try use push and deploy command from my terminal. Unfortunately, Code Deploy still fails. @U083D6HK9 I mentioned the content of the error earlier: ValidateService event and then fails with ScriptTimedOut(Script at specified location: scripts/deploy-validate failed to complete in 300 seconds). If you tell me where I can find something more detailed, I will gladly provide it to you. @U1QJACBUM we use {com.datomic/ion-dev {:mvn/version "0.9.290"}


@U028H6X0KRS and what version of ion?

Tatiana Kondratevich19:07:55

@U1QJACBUM I assume you mean this com.datomic/ion {: mvn/version "0.9.50"}?


Hey guys, Is there an easy way or tool to migrate data from Datomic to MongoDB? Datomic is running on AWS and wanted to migrate the data to DocumentDB (AWS's MongoDB implementation)


Hi! Is there a startup hook in datomic cloud? I need to run a mount start somewhere. I can put it in the http direct middleware but it would be cleaner to use a startup hook.