CMDBuild Forum

Question regarding installation

Hello,

 

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 

 

Thanks for any help.

 

Greetings,

Thomas

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
2019-05-16 10:56:57.209 [sys:boot] WARN  o.c.d.d.ConfigurableDataSourceImpl - cannot configure data source: missing database configuration!
 
 
This is the content of my database file, can someone tell me how those keys are named correctly?
 
db.url=jdbc:postgresql://localhost:5432/cmdbuild_30
db.username=cmdbuild
db.password=cmdbuild
db.admin.username=postgres
db.admin.password=hidden
 
Greetings,
Thomas
 

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.

Previously Thomas wrote:

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.
CMDBuild Team
I'm looking  for CMDBuild 3.0 technical manual.
Where can I find it?
thanks
At the moment only a first part of the Technical Manual is available, and only in English:
http://www.cmdbuild.org/en/documentazione/manuali/technical-manual
CMDBuild Team