I have problems with manual instlalation of CMDBuild when configuring the database. I´m executing cmdbuild.sh but I get an error stating that I need to set a valid configfile. What is the correct syntax to set the configfile? I Placed it in /var/lib/tomcat8/conf/cmdbuild/cmdbuild_database.conf
I tried things such as cmdbuild.sh dbconfig create /var/lib/tomcat8/conf/cmdbuild/cmdbuild_database.conf
I managed to find de correct command, it is ./cmdbuild.sh -v dbconfig create demo -configfile /path/to/file/ .
Unfortunately another problem arises, I did the database configuration according to the technical manual but tomcat logs say that my config keys are unknown:
2019-05-16 10:56:57.166 [sys:boot] WARN o.c.c.s.FilesystemConfigRepositoryImpl - found unknown config key = org.cmdbuild.cmdbuild_database.db.admin.username in file = /var/lib/tomcat8/conf/cmdbuild/cmdbuild_database.conf
2019-05-16 10:56:57.168 [sys:boot] WARN o.c.c.s.FilesystemConfigRepositoryImpl - found unknown config key = org.cmdbuild.cmdbuild_database.db.username in file = /var/lib/tomcat8/conf/cmdbuild/cmdbuild_database.conf
2019-05-16 10:56:57.169 [sys:boot] WARN o.c.c.s.FilesystemConfigRepositoryImpl - found unknown config key = org.cmdbuild.cmdbuild_database.db.url in file = /var/lib/tomcat8/conf/cmdbuild/cmdbuild_database.conf
2019-05-16 10:56:57.171 [sys:boot] WARN o.c.c.s.FilesystemConfigRepositoryImpl - found unknown config key = org.cmdbuild.cmdbuild_database.db.admin.password in file = /var/lib/tomcat8/conf/cmdbuild/cmdbuild_database.conf
2019-05-16 10:56:57.171 [sys:boot] WARN o.c.c.s.FilesystemConfigRepositoryImpl - found unknown config key = org.cmdbuild.cmdbuild_database.db.password in file = /var/lib/tomcat8/conf/cmdbuild/cmdbuild_database.conf
Ok, the last issue could be resolved by naming the configuration file just database.conf.
It would be great to add things liek this to the documentation because otherwise you need to dig trough the errors and try to find this information by yourself.
Ok, the last issue could be resolved by naming the configuration file just database.conf.
It would be great to add things liek this to the documentation because otherwise you need to dig trough the errors and try to find this information by yourself.
Thanks for your report, the technical manual will be updated with the missing information in the upcoming CMDBuild versions.