Hi there, I am installing Bahmni for testing purposes with a view to using it in our hospital. Running on a Ubuntu Server 22.04 virtual machine inside Proxmox hypervisor, 2 CPU cores and 8 GB RAM. Docker version 23.0.1, docker-compose version 2.16.0
I followed the Docker install instructions on the wiki. I have tried both bahmni-lite and bahmni-standard. So far I have just used the “emr” profile in the .env file and haven’t changed any other configuration. I have tried running “docker compose up -d” as both standard docker user (with sudo privileges) and as the root user.
Each time, I have waited for the databases and containers to initialise correctly by watching the log files. It seems that both the openmrsdb container and the openmrs log files indicate correct startup as far as I can tell.
I can log into the server IP address and see the Bahmni main page, but when I click on “Clinical Service” I get a waiting screen and an error that says: “There was an unexpected issue on the server. Please try again”
Once this error is triggered, the openmrs log file shows lots of errors relating to org.springframework.beans.factory. For example: bahmni-standard-openmrs-1 | Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘userService’ defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean ‘userServiceTarget’ while setting bean property ‘target’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘userServiceTarget’ defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean ‘userDAO’ while setting bean property ‘userDAO’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘userDAO’ defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean ‘sessionFactory’ while setting bean property ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name ‘sessionFactory’: FactoryBean which is currently in creation returned null from getObject
I have a log file but can’t upload it as I’m a new user.
Thanks for letting me know if I’m missing something obvious or if you have any further ideas to fix this.
Andy (Niger)