Tecnativa / doodba

Base image for making the creation of customized Odoo environments a piece of cake
Apache License 2.0
436 stars 305 forks source link

database not initialized #216

Closed DarioLodeiros closed 5 years ago

DarioLodeiros commented 5 years ago

I was using a somewhat obsolete version of doodba, and now, when trying out the new one with Odoo v12, I continually encounter this problem, both in prod and devel: Selección_162 (I downloaded doobda and only change the odoo major and odoo minor version to 12.0 to try this) Thanks!

yajo commented 5 years ago

The default database name is prod now. Maybe you were using an older scaffolding where https://github.com/Tecnativa/doodba/issues/67#issuecomment-458881087 still didn't land.

You should subscribe to #67 if you use Doodba.

Also, don't forget that you need to update git code (in devel) and rebuild the image (in any environment) when you switch the version.

I think it must be some of these, so I close. Reopen if needed. :wink:

DarioLodeiros commented 5 years ago

I think that is not the problem... imagen This is a prod enviroment, new server, new scaffolding... from last week, without any change other than version 12.0 in .env But... Selección_175 I tried to isolate the deployment to make sure it was not a problem in my environment ... I do not know if I miss something. Thanks Jairo!

yajo commented 5 years ago

Then possibly odoo disabled the autoinitialization of database in v12. Just do what the log suggests:

docker-compose run --rm odoo odoo -i base
DarioLodeiros commented 5 years ago

Ok! Of course, I just wanted to know if I was missing something important ;) Thanks!!