Git Product home page Git Product logo

Comments (6)

chris001 avatar chris001 commented on July 3, 2024

What errors show on the console when you do:

    sudo service odoo-server stop
    cd /odoo/odoo-server
    sudo su odoo
    ./odoo-bin -c /etc/odoo-server.conf

from installscript.

crazydanilo avatar crazydanilo commented on July 3, 2024

odoo@ip-172-31-18-89:~/odoo-server$ ./odoo-bin -c /etc/odoo-server.conf
Exception in thread odoo.service.httpd:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/odoo/odoo-server/odoo/service/server.py", line 255, in http_thread
self.httpd = ThreadedWSGIServerReloadable(self.interface, self.port, app)
File "/odoo/odoo-server/odoo/service/server.py", line 106, in init
handler=RequestHandler)
File "/usr/local/lib/python3.5/dist-packages/werkzeug/serving.py", line 504, in init
HTTPServer.init(self, (host, int(port)), handler)
File "/usr/lib/python3.5/socketserver.py", line 440, in init
self.server_bind()
File "/odoo/odoo-server/odoo/service/server.py", line 116, in server_bind
super(ThreadedWSGIServerReloadable, self).server_bind()
File "/usr/lib/python3.5/http/server.py", line 138, in server_bind
socketserver.TCPServer.server_bind(self)
File "/usr/lib/python3.5/socketserver.py", line 454, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use

from installscript.

chris001 avatar chris001 commented on July 3, 2024

That just means that the odoo-server service is already running and using the port so it can't start up another one. You have to be sure the service is stopped before you can run it from the command line like that.

from installscript.

Yenthe666 avatar Yenthe666 commented on July 3, 2024

Yep, exactly.
Do a service odoo-server stop before running your Odoo from the terminal.

from installscript.

crazydanilo avatar crazydanilo commented on July 3, 2024

Hi,

Well I am not sure which one was missing, or if some version of the dependencies was no correct, but once I run:

https://github.com/odoo/odoo/blob/11.0/requirements.txt

It fixed the issue.

from installscript.

chris001 avatar chris001 commented on July 3, 2024

@Yenthe666
Maybe a good idea to modify script so that after it clones odoo 11 repo it installs from the file pip3 install -r requirements.txt taken directly from official odoo 11 repo so it's always up to date and accurate.

from installscript.

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.