Help

0

not able to update module via command line odoo 13

Avatar
paidy kumar

i am using below command ./odoo-bin -u base -d finehome -c /etc/odoo.conf

logs are

root@finehome:/opt/odoo# sudo ./odoo-bin -i base -d finehome -c /etc/odoo.conf
Running as user 'root' is a security risk.
Exception in thread odoo.service.httpd:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/odoo/odoo/service/server.py", line 440, in http_thread
    self.httpd = ThreadedWSGIServerReloadable(self.interface, self.port, app)
  File "/opt/odoo/odoo/service/server.py", line 149, in __init__
    handler=RequestHandler)
  File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 577, in __init__
    self.address_family), handler)
  File "/usr/lib/python3.6/socketserver.py", line 456, in __init__
    self.server_bind()
  File "/opt/odoo/odoo/service/server.py", line 164, in server_bind
    super(ThreadedWSGIServerReloadable, self).server_bind()
  File "/usr/lib/python3.6/http/server.py", line 136, in server_bind
    socketserver.TCPServer.server_bind(self)
  File "/usr/lib/python3.6/socketserver.py", line 470, in server_bind
    self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use

Avatar
Abbandona
1 Risposta
0
Avatar
Niyas Raphy
Migliore risposta

Hi,

Please kill the existing service/thread running on the given port and try again.

To kill the service, open the terminal, enter ps aux|| grep and get the ID of the process and kill it by typing sudo kill -9 process_id

Thanks

Avatar
Abbandona