GithubHelp home page GithubHelp logo

create the Base about odoo-hosting HOT 8 OPEN

Hamza-Talibi avatar Hamza-Talibi commented on August 17, 2024
create the Base

from odoo-hosting.

Comments (8)

lasley avatar lasley commented on August 17, 2024

Which branch are you using? Master?

from odoo-hosting.

Hamza-Talibi avatar Hamza-Talibi commented on August 17, 2024

Yes.
In the node I create Oneclick Deployment, I create a new value to deploy odoo10+postgres :
odoo10.
It's only deploy backup, bind, postfix and proxy.
And then I create a service odoo10-all, then I get a problem the container odoo10-exec get stuck in restarting, their log shows: /bin/sh /opt/odoo/files/odoo/odoo.py not found I think the problem in the image odoo10-exec.

from odoo-hosting.

Hamza-Talibi avatar Hamza-Talibi commented on August 17, 2024

For the base I have thought to add a field title in xml because is required, However I get error in creating database:
FAIL! Reverting...
2017-04-06 00:37:05,020 3667 INFO db_openexpertiz_odoo10 odoo.addons.clouder.models.model: File "/home/odoo10/odoo-dev/odoo/addons/clouder/models/model.py", line 362, in deploy_frame
self.deploy()

File "/home/odoo10/odoo-dev/odoo/addons/clouder/models/base.py", line 819, in deploy
self.deploy_build()

File "/home/odoo10/odoo-dev/odoo/addons/clouder_template_odoo/template.py", line 156, in deploy_build
password=self.admin_password)

File "/usr/local/lib/python2.7/dist-packages/erppeek.py", line 439, in init
self.server_version = ver = get_proxy('db').server_version()

File "/usr/local/lib/python2.7/dist-packages/erppeek.py", line 402, in
wrapper = lambda s, *args: s._dispatch(name, args)

File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
verbose=self.__verbose

File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
return self.single_request(host, handler, request_body, verbose)

File "/usr/lib/python2.7/xmlrpclib.py", line 1311, in single_request
self.send_content(h, request_body)

File "/usr/lib/python2.7/xmlrpclib.py", line 1459, in send_content
connection.endheaders(request_body)

File "/usr/lib/python2.7/httplib.py", line 1053, in endheaders
self._send_output(message_body)

File "/usr/lib/python2.7/httplib.py", line 897, in _send_output
self.send(msg)

File "/usr/lib/python2.7/httplib.py", line 859, in send
self.connect()

File "/usr/lib/python2.7/httplib.py", line 836, in connect
self.timeout, self.source_address)

File "/usr/lib/python2.7/socket.py", line 575, in create_connection
raise err


===================
2017-04-06 00:37:31,977 3667 INFO db_openexpertiz_odoo10 odoo.addons.clouder.models.model: FAIL!
2017-04-06 00:37:31,989 3667 INFO db_openexpertiz_odoo10 odoo.addons.clouder.models.model: File "/home/odoo10/odoo-dev/odoo/addons/clouder/models/model.py", line 349, in do_exec
getattr(self, action)()

File "/home/odoo10/odoo-dev/odoo/addons/clouder/models/model.py", line 362, in deploy_frame
self.deploy()

File "/home/odoo10/odoo-dev/odoo/addons/clouder/models/base.py", line 819, in deploy
self.deploy_build()

File "/home/odoo10/odoo-dev/odoo/addons/clouder_template_odoo/template.py", line 156, in deploy_build
password=self.admin_password)

File "/usr/local/lib/python2.7/dist-packages/erppeek.py", line 439, in init
self.server_version = ver = get_proxy('db').server_version()

File "/usr/local/lib/python2.7/dist-packages/erppeek.py", line 402, in
wrapper = lambda s, *args: s._dispatch(name, args)

File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
verbose=self.__verbose

File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
return self.single_request(host, handler, request_body, verbose)

File "/usr/lib/python2.7/xmlrpclib.py", line 1311, in single_request
self.send_content(h, request_body)

File "/usr/lib/python2.7/xmlrpclib.py", line 1459, in send_content
connection.endheaders(request_body)

File "/usr/lib/python2.7/httplib.py", line 1053, in endheaders
self._send_output(message_body)

File "/usr/lib/python2.7/httplib.py", line 897, in _send_output
self.send(msg)

File "/usr/lib/python2.7/httplib.py", line 859, in send
self.connect()

File "/usr/lib/python2.7/httplib.py", line 836, in connect
self.timeout, self.source_address)

File "/usr/lib/python2.7/socket.py", line 575, in create_connection
raise err


Traceback (most recent call last):
File "/home/odoo10/odoo-dev/odoo/odoo/http.py", line 638, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo10/odoo-dev/odoo/odoo/http.py", line 675, in dispatch
result = self._call_function(**self.params)
File "/home/odoo10/odoo-dev/odoo/odoo/http.py", line 331, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/odoo10/odoo-dev/odoo/odoo/service/model.py", line 119, in wrapper
return f(dbname, *args, **kwargs)
File "/home/odoo10/odoo-dev/odoo/odoo/http.py", line 324, in checked_call
result = self.endpoint(*a, **kw)
File "/home/odoo10/odoo-dev/odoo/odoo/http.py", line 933, in call
return self.method(*args, **kw)
File "/home/odoo10/odoo-dev/odoo/odoo/http.py", line 504, in response_wrap
response = f(*args, **kw)
File "/home/odoo10/odoo-dev/odoo/addons/web/controllers/main.py", line 878, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/odoo10/odoo-dev/odoo/addons/web/controllers/main.py", line 870, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/odoo10/odoo-dev/odoo/odoo/api.py", line 679, in call_kw
return call_kw_model(method, model, args, kwargs)
File "/home/odoo10/odoo-dev/odoo/odoo/api.py", line 664, in call_kw_model
result = method(recs, *args, **kwargs)
File "/home/odoo10/odoo-dev/odoo/addons/clouder/models/base.py", line 599, in create
return super(ClouderBase, self).create(vals)
File "/home/odoo10/odoo-dev/odoo/addons/clouder/models/model.py", line 434, in create
res.do('create', 'deploy_frame')
File "/home/odoo10/odoo-dev/odoo/addons/clouder/models/model.py", line 335, in do
getattr(self, 'do_exec')(action, job_id)
File "/home/odoo10/odoo-dev/odoo/addons/clouder/models/model.py", line 349, in do_exec
getattr(self, action)()
File "/home/odoo10/odoo-dev/odoo/addons/clouder/models/model.py", line 362, in deploy_frame
self.deploy()
File "/home/odoo10/odoo-dev/odoo/addons/clouder/models/base.py", line 819, in deploy
self.deploy_build()
File "/home/odoo10/odoo-dev/odoo/addons/clouder_template_odoo/template.py", line 156, in deploy_build
password=self.admin_password)
File "/usr/local/lib/python2.7/dist-packages/erppeek.py", line 439, in init
self.server_version = ver = get_proxy('db').server_version()
File "/usr/local/lib/python2.7/dist-packages/erppeek.py", line 402, in
wrapper = lambda s, *args: s._dispatch(name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1311, in single_request
self.send_content(h, request_body)
File "/usr/lib/python2.7/xmlrpclib.py", line 1459, in send_content
connection.endheaders(request_body)
File "/usr/lib/python2.7/httplib.py", line 1053, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 897, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 859, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 836, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 575, in create_connection
raise err
error: [Errno 111] Connexion refusée

from odoo-hosting.

Hamza-Talibi avatar Hamza-Talibi commented on August 17, 2024

What Sould I do now?

from odoo-hosting.

lasley avatar lasley commented on August 17, 2024

That deploy oneclick looks a lot different than the way I do it. Are you initiating it from the node form?

from odoo-hosting.

Hamza-Talibi avatar Hamza-Talibi commented on August 17, 2024

Yes.
How do you deploy an application (odoo 10 for example) in a distance server using the node form?

from odoo-hosting.

Hamza-Talibi avatar Hamza-Talibi commented on August 17, 2024

@YannickB How can I deploy odoo10 in a distance server using the Oneclick Deployment?
As you see above, I tried, but the oneclick only deploy (backup, bind, postfix and proxy), then I created service odoo10 manually in which I had bug: the container got stuck in restarting and their log shows: /bin/sh /opt/odoo/files/odoo/odoo.py not found.
After, in the base the field title is required, but isn't declared in the view.xml, I added it to overcome the error.
Finally I get error: connection refused when configuring the database ( you can see the traceback above).
Thank you

from odoo-hosting.

YannickB avatar YannickB commented on August 17, 2024

Hi @Hamza-Talibi , I'm not sure but maybe you need to wait that #220 is merged, I made a lot of update here which may cause the error you're describing.

@lasley Do you think I can merge it now ?

from odoo-hosting.

Related Issues (20)

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.