Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Image for odoo 15 #392

Closed
dedanirungu opened this issue Oct 7, 2021 · 17 comments
Closed

Docker Image for odoo 15 #392

dedanirungu opened this issue Oct 7, 2021 · 17 comments

Comments

@dedanirungu
Copy link

Docker Image for odoo 15

@herawais
Copy link

herawais commented Oct 7, 2021

Waiting..

@vmelnych
Copy link

vmelnych commented Oct 7, 2021

Compiled from Dockerfile used for 14.0 and got stuck at the error:

ERROR odoo.service.db: CREATE DATABASE failed: , Traceback (most recent call last):, File "/usr/lib/python3/dist-packages/odoo/service/db.py", line 66, in _initialize_db, env = odoo.api.Environment(cr, SUPERUSER_ID, {}), File "/usr/lib/python3/dist-packages/odoo/api.py", line 506, in __new__, for env in transaction.envs:, AttributeError: 'NoneType' object has no attribute 'envs'

Troubleshooting and waiting for a new Dockerfile...

@herawais
Copy link

herawais commented Oct 7, 2021

using this link http://nightly.odoo.com/15.0/nightly/deb/ @vmelnych ?

@vmelnych
Copy link

vmelnych commented Oct 7, 2021

@herawais yes, and adjusted Dockerfile (from 14.0) to the 15th release and checksums.

@vmelnych
Copy link

vmelnych commented Oct 7, 2021

Compiled and launched! The Dockerfile needs an extra lib: python3-openssl, then during creating a database it fails with the above listed error, but I updated res_users with the desired admin e-mail and a scrambled password and could log in!

@hpz24
Copy link

hpz24 commented Oct 21, 2021

I get the same error but don't manage to fix it.
Will there be an updated dockerfile soon as well?
Thx

@Ricoamal
Copy link

Hi am facing the same issue here. I cant locate odoo neither the addons folder.
i have used these two commands.

docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name mydb postgres

docker run -v odoo\addon:/mnt/extra-addons -p 8069:8069 --name myisntance --link mydb:db -t odoo


am using winscp to see my files n folders.

@hpz24
Copy link

hpz24 commented Nov 7, 2021

Is it able to get an older docker image?
I need odoo15 - 20211018 because there are some errors in the newer images with such serious problems that normal work is no longer possible...

It starts with:
UncaughtPromiseError > KeyNotFoundError
Uncaught Promise > Cannot find mail.widgets.discuss in this registry!

and after that there are only follow-up errors in the important sales modules

@vmelnych
Copy link

vmelnych commented Nov 7, 2021

@hpz24 , you can build one for yourself, by using the official Dockerfile. Do you need any tip how to do it?
Alternatively you can pull docker pull vmelnych/odoo:15.20211006 - this is the earliest build of 15.x I have...

@hpz24
Copy link

hpz24 commented Nov 8, 2021

hi @vmelnych,
thanks for your tip with the older image - works better than the newest :)
I'm not that good at generating my own Dockerfile - if you have useful links, that would be very helpful!

@vmelnych
Copy link

vmelnych commented Nov 8, 2021

@hpz24 clone this repo and try it. Note, that Docker must be installed :)

@hpz24
Copy link

hpz24 commented Nov 9, 2021

excellent, works like a charm!
Thank you! :)

@217690thompson
Copy link

The Odoo 15 Docker image needs to use the latest release on the nightly page instead of a particular one. I was testing for a customer using current Odoo enterprise code, and there was a change to base Odoo and enterprise regarding a SASS mixin that completely broke my environment. The Docker image ought to use the most recent release so as to always have current Odoo source code.

@codeagencybe
Copy link

@vmelnych how does your build behave on newer version at Odoo git?
Do we need to set a specific date for it build the latest version? Or does it automatically latest anyway?
Can I connect with you 1:1 somehow to discuss some things about a private image I need? Maybe I can hire you to work on something we need.
Thanks!

@vmelnych
Copy link

@codeagencybe, it is self-explanatory, actually. You find a required nightly build and specify date and a checksum in the .env file.
Simple it is. You can contact me at ifs.pvt@gmail.com.

@lathama
Copy link

lathama commented Apr 10, 2024

@dedanirungu can you close this issue if no longer needed?

@vebera
Copy link

vebera commented Apr 10, 2024

Just for those who are seeking an update - here is another docker-build repo for Odoo versions 16+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants