itmicus / itmicus/cmdbuild_docker
error with CMDBUILD_DUMP=openmaint_demo.dump.xz
- Dominant language
- Dockerfile
- Stars
- 123
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
I modified my docker-compose.yml and change to CMDBUILD_DUMP=openmaint_demo.dump.xz
running docker-compose up -d
and going to http://localhost:8090/cmdbuild

Closing the small window and clicking apply patches I get the following

With the following error message
org.cmdbuild.dao.DaoException: error processing patch = Patch{version=1.0.3-01, category=core, applied=false}, caused by: org.cmdbuild.dao.DaoException: error processing patch = core-1.0.3-01 (Change Role class type from reserved to sysread), caused by: org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [ SET SESSION cmdbuild.ignore_tenant_policies = 'true'; SET SESSION cmdbuild.user_tenants = '{}'; DO $$ BEGIN RAISE NOTICE 'apply cmdbuild patch %', 'core-1.0.3-01'; END $$ LANGUAGE PLPGSQL; -- Change Role class type from reserved to sysread COMMENT ON TABLE "Role" IS 'MODE: sysread|TYPE: class|DESCR: Roles|SUPERCLASS: false|MANAGER: class|STATUS: active'; DO $$ BEGIN RAISE NOTICE 'applied cmdbuild patch %', 'core-1.0.3-01'; END $$ LANGUAGE PLPGSQL; ]; nested exception is org.postgresql.util.PSQLException: ERROR: relation "Role" does not exist, caused by: org.postgresql.util.PSQLException: ERROR: relation "Role" does not exist
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.