Getting deployment error while deploying bpmn with form

@Niall Its strange. I was watching your video here: Tutorial: How to Get Started With Camunda Run - YouTube and camunda-h2-default folder gets created for you when you run start script. For me camunda-h2-default is never created. I am running start.sh on mac. Any suggestion, what might be hapening?

This is my default.yaml file:

# Find more available configuration properties on the following pages of the documentation.
# https://docs.camunda.org/manual/latest/user-guide/camunda-bpm-run/#configure-camunda-bpm-run
# https://docs.camunda.org/manual/latest/user-guide/spring-boot-integration/configuration/#camunda-engine-properties

camunda.bpm:
  admin-user:
    id: demo
    password: demo
  run:
# https://docs.camunda.org/manual/latest/user-guide/camunda-bpm-run/#cross-origin-resource-sharing
    cors:
      enabled: true
      allowed-origins: "*"
# https://docs.camunda.org/manual/latest/user-guide/camunda-bpm-run/#example-application
    example:
      enabled: true

# datasource configuration is required
spring.datasource:
  url: jdbc:h2:./camunda-h2-default/process-engine;TRACE_LEVEL_FILE=0;DB_CLOSE_ON_EXIT=FALSE
  driver-class-name: org.h2.Driver
  username: sa
  password: sa

# By default, Spring Boot serves static content from any directories called /static or /public or /resources or
# /META-INF/resources in the classpath. To prevent users from accidentally sharing files, this is disabled here by setting static locations to NULL.
# https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-spring-mvc-static-content
spring.web.resources:
  static-locations: NULL

The settings look ok actually.

It’s possible that you’re running the engine from a folder where Camunda doesn’t have permission to create the database… Perhaps try to move it into a different folder…

1 Like

This was the issue. Now my deployment with form is working fine. Thanks @Niall

1 Like