Giter Site home page Giter Site logo

odoo_micro_saas's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

odoo_micro_saas's Issues

Instance Error

Impacted versions:
16.0
Steps to reproduce:
When we create an instance from the Template, we find that its PORT configuration values cause startup errors. The values in Variables do not match correctly with HTTP & LONGPOLLING. Moreover, if my server ports are 8069 and 8072, it seems that when the Variables are set to default to 8069 and 8072, it also results in a failure to start
image
image

error

Impacted versions:

Steps to reproduce:

Current behavior:

Expected behavior:

Video/Screenshot link (optional):RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo16/16.0/odoo/odoo/http.py", line 1584, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/opt/odoo16/16.0/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/opt/odoo16/16.0/odoo/odoo/http.py", line 1611, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/opt/odoo16/16.0/odoo/odoo/http.py", line 1815, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/opt/odoo16/16.0/odoo/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "/opt/odoo16/16.0/odoo/odoo/http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo16/16.0/odoo/addons/web/controllers/dataset.py", line 42, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo16/16.0/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo16/16.0/odoo/odoo/api.py", line 461, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo16/16.0/odoo/odoo/api.py", line 448, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo16/16.0/odoo/odoo/models.py", line 6532, in onchange
todo = [
File "/opt/odoo16/16.0/odoo/odoo/models.py", line 6535, in
if name not in done and snapshot0.has_changed(name)
File "/opt/odoo16/16.0/odoo/odoo/models.py", line 6318, in has_changed
return self[name] != record[name]
File "/opt/odoo16/16.0/odoo/odoo/models.py", line 5891, in getitem
return self._fields[key].get(self, type(self))
File "/opt/odoo16/16.0/odoo/odoo/fields.py", line 1157, in get
self.recompute(record)
File "/opt/odoo16/16.0/odoo/odoo/fields.py", line 1365, in recompute
apply_except_missing(self.compute_value, recs)
File "/opt/odoo16/16.0/odoo/odoo/fields.py", line 1338, in apply_except_missing
func(records)
File "/opt/odoo16/16.0/odoo/odoo/fields.py", line 1387, in compute_value
records._compute_field_value(self)
File "/opt/odoo16/16.0/odoo/odoo/models.py", line 4215, in _compute_field_value
fields.determine(field.compute, self)
File "/opt/odoo16/16.0/odoo/odoo/fields.py", line 97, in determine
return needle(*args)
File "/opt/odoo16/16.0/extra-addons/micro_saas/models/odoo_docker_instance.py", line 30, in _compute_addons_path
repo_path = name_repo_url = line.repository_id.name.split('/')[-1]
AttributeError: 'bool' object has no attribute 'split'

The above server error caused the following client error:
null

Instance creation failure

Impacted versions:
16.0
Steps to reproduce:
When you click on start instance it starts but on the log, it shows error and that instance was not created
Current behavior:
image
image

Expected behavior:
To work well and open with the new port
Video/Screenshot link (optional):
image

Erro creating instance

Impacted versions: 16

Steps to reproduce: create a new instance

Current behavior: Traceback (most recent call last):
File "/opt/odoo/extra_addons/micro_saas/models/odoo_docker_instance.py", line 324, in excute_command
result = subprocess.run(cmd, shell=shell, check=check, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'docker-compose -f /opt/odoo/odoo_docker/data/icit/docker-compose.yml up -d' returned non-zero exit status 255.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/odoo/extra_addons/micro_saas/models/odoo_docker_instance.py", line 247, in start_instance
self.excute_command(cmd, shell=True, check=True)
File "/opt/odoo/extra_addons/micro_saas/models/odoo_docker_instance.py", line 327, in excute_command
raise "Error to execute command: %s" % cmd
TypeError: exceptions must derive from BaseException
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/odoo/odoo/http.py", line 1589, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/opt/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/opt/odoo/odoo/http.py", line 1616, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/opt/odoo/odoo/http.py", line 1820, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/opt/odoo/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "/opt/odoo/odoo/http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo/addons/web/controllers/dataset.py", line 46, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/opt/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo/api.py", line 466, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo/extra_addons/micro_saas/models/odoo_docker_instance.py", line 255, in start_instance
self.add_to_log("[ERROR] " + e.stderr.decode('utf-8'))
AttributeError: 'TypeError' object has no attribute 'stderr'
The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
at makeErrorFromResponse (http://46.101.200.107:8069/web/assets/112-b62097b/web.assets_backend.min.js:987:163)
at XMLHttpRequest. (http://46.101.200.107:8069/web/assets/112-b62097b/web.assets_backend.min.js:995:13)

Expected behavior: a new instance should be created

Video/Screenshot link (optional): 46.101.200.107:8069 username and password is admin

docker compose issue

hello how are you ?

can you check this error
i get it on odoo 16 and use last version

#12/06/2023, 19:20:55 [INFO] Docker Compose command executed successfully

#12/06/2023, 19:20:55 Error to execute command: Command 'docker-compose -f /opt/odoo/odoo_docker/data/odoo_15_from_template/docker-compose.yml up -d' returned non-zero exit status 1.

#12/06/2023, 19:20:55 [INFO] Path to modified docker-compose.yml file

#12/06/2023, 19:20:55 [INFO] Archivo odoo.conf creado exitosamente en /opt/odoo/odoo_docker/data/odoo_15_from_template/etc/odoo.conf

#12/06/2023, 19:20:55 [INFO] Starting Odoo Instance False

Create Instance from Template is Error

Impacted versions:
16.0
Steps to reproduce:
When I create an instance from the Odoo15 Template, the first one I create is named Odoo15-Dev. After that, I create odoo15-demo, only to discover that all the Variables values in the odoo15-demo instance are missing. Then, if I try to start the odoo15-demo instance, it will result in an error!

Video/Screenshot link (optional):
image
image
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.