CMDBuild Forum

CMDBuild webpage is not loading after recovering DB

Hi Support,
I have created a new DB and recovered CMDBuild databaze running on another system (with the same version). After creating a new db and recovering the new database (using the commend: psql /mnt//). After that I modified database.conf file accordingly. After restarting when going to http://localhost:8080/cmdbuild it is not loding. What do I need to do to make that work again? BTW. I have checked DB structure and it looks fine. All services: DB, Tomcat seems to be working with no issues.
Thank you very much in advance for your help.
Kind regrads,
Petr

Hi guys, I actually managed to resolve the issue already. I had to tweek my recovery commands:

  • createdb -h localhost -p 5432 -U postgres {database_name}
  • su - postgres
  • psql -h localhost -U postgres -p 5432 {database_name} < /mnt/{path}/{recovery_file}

I think the problem previosly was that I did not specify the postgres port when creating and recovering the database. This article is my contribution to the community. Thank you for all your previous support! :slight_smile:

1 Like