CMDBuild Forum

unable to install

I installed the Windows version as a demo and was impressed, so I decided to install the Linux version as it would actually be used in our environment. I've struggled for over a week and removed and reinstalled CMD and Postgresql several times. I've tried the GUI install and the manual installation, all to no avail.

For the GUI install, I can't get past the last screen where the user "admin" is entered. The documentation does not explain if this is a new user to be created or if it's an existing user. Clicking "next" just gets an "error occurred while loading/saving data" with this trace. The database is running and I can connect with psql. Any ideas before I throw in the towel?

Call: services/json/configure/apply
------------------------------------
Error: org.cmdbuild.exception.ORMException: ORM_GENERIC_ERROR
	at org.cmdbuild.exception.ORMException$ORMExceptionType.createException(ORMException.java:59)
	at org.cmdbuild.services.database.DatabaseConfigurator.configure(DatabaseConfigurator.java:160)
	at org.cmdbuild.services.database.DatabaseConfigurator.configureAndSaveSettings(DatabaseConfigurator.java:140)
	at org.cmdbuild.servlets.json.Configure.apply(Configure.java:140)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.cmdbuild.servlets.JSONDispatcher.dispatch(JSONDispatcher.java:94)
	at org.cmdbuild.servlets.JSONDispatcher.doPost(JSONDispatcher.java:54)

 

 

 

 

Hello, the manual installation may have failed due to an error in the Technical Manual.
In this post are the correct queries:
    http://www.cmdbuild.org/forum/forum-in-english/689293853?b_start=0#884356673
We will fix it in next version 2.2

However we are not aware of any errors in the GUI installation.
Can you send us the full CMDBuild log ?

CMDBuild Team

 

 

I know this is an old thread, but just to be sure that solutions are documented :)

 

I had this issue too, probably template1 is set to ASCII instead of UTF-8. Follow these instructions to fix it

https://gist.github.com/anandology/5949798