CMDBuild Forum

cmdbuild ready2use installation problem

i have installed cmdbuild 2.4.1 on Ubuntu 14.04 LTS and it works fine i can login to data and admin module but when i install cmdbuild ready2use test
after restoring database when i enter the data management module i get the following message
and error has occurred
here are the steps i followed and commands used
shut down tomcat : sudo /opt/tomcat/apache-tomcat-8.0.33/bin/shutdown.sh
delete the cmdbuild database : sudo -u postgres dropdb cmdbuild (cmdbuild is the database i created via GUI interface for cmdbuild 2.4.1 instillation)
create a new empty database via postgres : sudo -u postgres createdb cmdbuild
start the setup script from the directory : sudo ./bin/setup.sh
host: localhost
port: 5432
username: postgres
password required : true
password : postgres super user password
database : cmdbuild
webapp directory : /opt/tomcat/apache-tomcat-8.0.33/webapps/cmdbuild/
password : postgres super user password

at the end i get the following warning : WARNING: errors ignored on restore: 4823
start tomcat
after i enter cmdbuild via admin user i see a page showing available patches and when i hit apply it says and error has occurred
details in the link below
http://pastebin.com/h1efFtHg
also when i enter the app on the data management module it shows nothing and following error shows up
error details : http://pastebin.com/QY8UANJP
thank you





Previously moosa poodineh wrote:

i have installed cmdbuild 2.4.1 on Ubuntu 14.04 LTS and it works fine i can login to data and admin module but when i install cmdbuild ready2use test
after restoring database when i enter the data management module i get the following message
and error has occurred
here are the steps i followed and commands used
shut down tomcat : sudo /opt/tomcat/apache-tomcat-8.0.33/bin/shutdown.sh
delete the cmdbuild database : sudo -u postgres dropdb cmdbuild (cmdbuild is the database i created via GUI interface for cmdbuild 2.4.1 instillation)
create a new empty database via postgres : sudo -u postgres createdb cmdbuild
start the setup script from the directory : sudo ./bin/setup.sh
host: localhost
port: 5432
username: postgres
password required : true
password : postgres super user password
database : cmdbuild
webapp directory : /opt/tomcat/apache-tomcat-8.0.33/webapps/cmdbuild/
password : postgres super user password
then i get the following error

WARNING: errors ignored on restore: 85
exit value: 1
Exception in thread "main" java.lang.RuntimeException: error executing command
    at com.tecnoteca.cmdbuild.ready2use.Main$ExecuteShellComand.execute(Main.java:88)
    at com.tecnoteca.cmdbuild.ready2use.Main.main(Main.java:228)

i do the same steps again and this time it works longer and generates the following warning at the end : WARNING: errors ignored on restore: 4823

start tomcat
after i enter cmdbuild via admin user i see a page showing available patches and when i hit apply it says and error has occurred
details in the link below
http://pastebin.com/h1efFtHg
also when i enter the app on the data management module it shows nothing and following error shows up
error details : http://pastebin.com/QY8UANJP
thank you





 

i solved the issue of patch installation

here is the new output of database restore

after i click apply in the patch page it goes to authentication page and when i enter the data management module  i get the following error

details : http://pastebin.com/yPtqw2rY

with thanks

moosa

database restore output

exit value: 0

resolving [cp, -b, {logo.file}, {splash_blue.file}, {splash_gray.file}, {webapp.root}/images/]

executing: [cp, -b, ./bin/../resources/logo.jpg, ./bin/../resources/splash.png, ./bin/../resources/splash-gray.png, /opt/tomcat/apache-tomcat-8.0.33/webapps/cmdbuild/images/]

exit value: 0

resolving [sh, -c, sed -r -i 's/"release": "(.*)"/"release": "Ready2Use 1.0 - \1"/g' {webapp.root}/translations/*.json]

executing: [sh, -c, sed -r -i 's/"release": "(.*)"/"release": "Ready2Use 1.0 - \1"/g' /opt/tomcat/apache-tomcat-8.0.33/webapps/cmdbuild/translations/*.json]

exit value: 0

 

the problem was that i did not know i should not touch the auth.conf file

i only had to add the admin to super user group and configure the right user and password for shark

Previously moosa poodineh wrote:

the problem was that i did not know i should not touch the auth.conf file

i only had to add the admin to super user group and configure the right user and password for shark

Dear, 
 
I am facing the same problem kindly tell me how to fix it
 
WARNING: errors ignored on restore: 85
Process returned exit code 1.
 
 

postgresql1-jpg (90.1 KB)