minhng92 / odoo-14-docker-compose Goto Github PK
View Code? Open in Web Editor NEWSet up Odoo 14 (released 2020) quickly for development/production using Docker Compose.
Set up Odoo 14 (released 2020) quickly for development/production using Docker Compose.
Hello,
thanks for maintaining the docker containers.
I would like to install Odoo 15 or 14 on Raspberry pi. It seems that it is not compatible with Arm structure.
Error :
ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries
what can I do?
thanks
con you explain why you set the addons_path to /mnt/extra-addons even though there is none such directory
and
if I want to add my custom add-on where should I put it and is the /mnt/extra-addons path necessary?
thank you very much for helping
I need debug this repository with vscode
can I expose ssh services on odoo:14 image
so can login I have a script that wants to run on it
I cannot install 2 instances of odoo 14 on the same server, the database is overwritten.
What should I do?
I am using MX-Linux based on Debian buster (10). my docker engine info:
❯ docker version
Client: Docker Engine - Community
Version: 20.10.1
API version: 1.41
Go version: go1.13.15
Git commit: 831ebea
Built: Tue Dec 15 04:34:48 2020
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.1
API version: 1.41 (minimum version 1.12)
Go version: go1.13.15
Git commit: f001486
Built: Tue Dec 15 04:32:45 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.3
GitCommit: 269548fa27e0089a8b8278fc4fc781d7f65a939b
runc:
Version: 1.0.0-rc92
GitCommit: ff819c7e9184c13b7c2607fe6c30ae19403a7aff
docker-init:
Version: 0.19.0
GitCommit: de40ad0
when I am trying to run docker-compose up --build
against the same following .yml file:
version: '2'
services:
db:
image: postgres:13
environment:
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
- POSTGRES_DB=postgres
restart: always
volumes:
- ./postgresql:/var/lib/postgresql/data
odoo14:
image: odoo:14
depends_on:
- db
ports:
- "8069:8069"
tty: true
command: -- --dev=reload
volumes:
- ./addons:/mnt/extra-addons
- ./etc:/etc/odoo
restart: always
it works fine as I see from logs however when I try to access the service odoo14 from firefox I get an error The connection was reset
& using curl I get an error Empty reply from server
.
I checked other questions & they suggested to let the service odoo14 to bind to address 0.0.0.0 instead of localhost. so I replaced command: -- --dev=reload
by command: -- --http-interface=0.0.0.0
but with no success. even though it is mentioned in the documentation that 0.0.0.0 is the default interface.
when running the images using docker it is working fine. like using the following two commands:
docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:13
docker run -p 8069:8069 --name odoo --link db:db -t odoo:14.0
I get redirected correctly in the browser. so what would be the problem of docker-compose?
Sorry to bother you yet another time, but since I changed the web.base url, I keep getting the following error int the console:
db_1 | 2021-05-25 17:04:42.682 UTC [2640] ERROR: could not obtain lock on row in relation "ir_cron"
db_1 | 2021-05-25 17:04:42.682 UTC [2640] STATEMENT: SELECT id FROM "ir_cron" WHERE id IN (7) FOR UPDATE NOWAIT
db_1 | 2021-05-25 17:09:43.539 UTC [39] ERROR: could not obtain lock on row in relation "ir_cron"
db_1 | 2021-05-25 17:09:43.539 UTC [39] STATEMENT: SELECT id FROM "ir_cron" WHERE id IN (7) FOR UPDATE NOWAIT
db_1 | 2021-05-25 17:14:44.453 UTC [34] ERROR: could not obtain lock on row in relation "ir_cron"
db_1 | 2021-05-25 17:14:44.453 UTC [34] STATEMENT: SELECT id FROM "ir_cron" WHERE id IN (7) FOR U
and so on every five minutes. Also, after a while the web.base.url changes back to what it was.. ->
do you have any advice?
làm thế nào để thêm được addons ạ, em tìm module payroll mà ko thấy
Hi, This is not a issue, how can I see or find all the addons? Because I want to
modify an existing model.
im not sure wether it has something to do with the docker installation or just a bad configuration from my side but when trying to install the eCommerce module or the event online sales module, the following error appears
Fehler:
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 677, in _tag_root
f(rec)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 580, in _tag_record
record = model._load_records([data], self.mode == 'update')
File "/usr/lib/python3/dist-packages/odoo/models.py", line 4200, in _load_records
data['record']._load_records_write(data['values'])
File "/usr/lib/python3/dist-packages/odoo/models.py", line 4137, in _load_records_write
self.write(values)
File "/usr/lib/python3/dist-packages/odoo/addons/website_sale/models/product.py", line 63, in write
self._check_website_pricelist()
File "/usr/lib/python3/dist-packages/odoo/addons/website_sale/models/product.py", line 90, in _check_website_pricelist
raise UserError(_("With this action, '%s' website would not have any pricelist available.") % (website.name))
odoo.exceptions.UserError: With this action, 'CENSORED' website would not have any pricelist available.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 912, in __call__
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 531, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1393, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1381, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 396, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 383, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "<decorator-gen-72>", line 2, in button_immediate_install
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 73, in check_and_log
return method(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 474, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 592, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 89, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 455, in load_modules
loaded_modules, update_module, models_to_check)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 348, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 221, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 69, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 733, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 799, in convert_xml_import
obj.parse(doc.getroot())
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 719, in parse
self._tag_root(de)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 677, in _tag_root
f(rec)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 685, in _tag_root
)) from e
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
odoo.tools.convert.ParseError: while parsing /usr/lib/python3/dist-packages/odoo/addons/website_sale/data/data.xml:44, near
<record model="product.pricelist" id="product.list0">
<field name="selectable" eval="True"/>
<field name="website_id" eval="False"/>
</record>
it would be extremely nice if you knew anything on how to fix this issue, thanks
I setup odoo using the docker image, but every time dodo send email aor similar stuff it sends localhost instead of my desired domain. Where can I specify the preferred domain for odoo to know? I tried editing the http_interface in "etc/odoo.conf" which resulted in errors. Thank you for your help
Rồi làm sao để gán domain với ssl vậy bạn :D
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.