Odoo Error: mkdir: cannot create directory ‘odoo’: File exists odoo-server is stopped. When i try to check the status of all services.

Can someone help in me in working around this error: “mkdir: cannot create directory ‘odoo’: File exists odoo-server is stopped”.

I installed bahmni 0.92 in centos 7.7 and despite starting the odoo service, i am getting the above error which makes Odoo erp fail run as expected. It has really give me headache. Please help me @bhiravabhatla, @amolsatvix , @degbenedio

I will really appreciate your help.

A few hours away from now I encountered the same problem too because the installation failed on bahmni-odoo start and enable at boot…

Hello - Please go through this link. Thay faced similar issue and got it resolved. Error while installing Bahmni 0.92 - Start Odoo and enable at boot error

Thank you very much @buvaneswariarun .Worked like a charm.

This issue of Odoo not starting is addressed in the latest patch (155) that is released for bahmni 0.92. https://bahmni.atlassian.net/wiki/spaces/BAH/pages/20185103/Release+Notes

1 Like

@buvaneswariarun I am still not able to start the odoo service, after following all the fixes given in the forums. Attaching the error log image for your reference. Please help me start the odoo service. My centos version is - CentOS Linux release 7.9.2009 (Core) and I am trying to install Bahmni 0.93

Too many dependencies for Odoo are no longer available in Centos. This causes various issues when trying to install Bahmni v0.92/0.93. Please try instead and use the docker version of Bahmni, which has all dependencies pre-packaged into containers.

Install Bahmni Standard with docker: https://bahmni.atlassian.net/wiki/spaces/BAH/pages/299630726/Running+Bahmni+on+Docker.

I have tried the docker installation of Bahmni and was able to make a few changes to odoo modules using the add on path in docker file. But, I want to make changes to the code and make customizations to other modules of Bahmni like laboratory, openMRS etc, through docker there is no code access. So, I have tried centos installation. Can you please point me to the right direction on how to make custom code changes to all the modules in Bahmni and use it.

I would suggest first posting on talk thread what changes you wish to make / why? This will help us in guiding you if that can be easily done without code change. If not, then we can suggest which code repository needs a change to incorporate your request – and how difficult it will be, or simple. That way you are not experimenting with a product that has over a million lines of code. : )

See the code repos here: https://bahmni.atlassian.net/wiki/spaces/BAH/pages/1867786/List+of+Repositories+needed+for+Development+on+Bahmni

As you can see, it is a lot.

The team members change / rebuild code of the specific repos they need, and then publish a docker image, or change a configuration in docker, to pick up their local code.

For e.g see this: https://bahmni.atlassian.net/wiki/spaces/BAH/pages/3247636491/Quick+Setup+Guide+for+Bahmni+Developers#Making-Changes-in-Bahmni-Core (which talks about how to make changes to bahmni-core, which is an OpenMRS module written by Bahmni team for core bahmni features).