This question has been flagged
2 Replies
8206 Views

Hi,

I already installed a odoo8 version from this site http://pulse7.net/openerp/install-odoo-ubuntu-14-04-github/ , but now I got internal server Error so it is not runnning .I want to remove this instnce  and install new odoo 8.otherwise how to resolve this issue.I checked in var/log file ,but there is no log file related to openerp.

This is the command i tried for installation,------------------------------------------------------------------

Let’s Install Odoo on Ubuntu 14.04 from Github

  1. I have install Odoo on fresh installation of Ubuntu 14.04 from Github, So first I have installed git my system, to work with Github

    sudo apt-get install git

  2. Update apt source list

     

    sudo apt-get update

  3. Download and Install Updates

     

    sudo apt-get upgrade

  4. Install required packages for Odoo

     

    sudo apt-get install graphviz ghostscript postgresql-client \

    python-dateutil python-feedparser python-matplotlib \

    python-ldap python-libxslt1 python-lxml python-mako \

    python-openid python-psycopg2 python-pybabel python-pychart \

    python-pydot python-pyparsing python-reportlab python-simplejson \

    python-tz python-vatnumber python-vobject python-webdav \

    python-werkzeug python-xlwt python-yaml python-imaging

  5. Install supporting packages for Odoo

     

    sudo apt-get install gcc python-dev mc bzr python-setuptools python-babel \

    python-feedparser python-reportlab-accel python-zsi python-openssl \

    python-egenix-mxdatetime python-jinja2 python-unittest2 python-mock \

    python-docutils lptools make python-psutil python-paramiko poppler-utils \

    python-pdftools antiword postgresql

  6. Install full Postgres database

     

    sudo apt-get install postgresql

  7. Create database user for Odoo

     

    sudo -u postgres createuser -s odoo

  8. Get / Install Odoo from Github to you system

     

    wget -O- https://raw.githubusercontent.com/odoo/odoo/master/odoo.py | python

  9. Now go to odoo folder where opeperp-server file resides. (This command may vary to your system, if you have specify different path for storing odoo project)

    1

    cd odoo/odoo/

  10. Run server

     

    ./openerp-server

  11. Great work !!! you can now test your Odoo from http://localhost:8069, you should be able to below screen.

     

    odoo from github

    odoo from github

 

 internal server Error related to  server overloaded etc.. how to reslove this issue?  --------------------------------------------------

 

2014-10-07 05:04:04,958 3778 ERROR sample openerp.sql_db: Programming error: column website.domain does not exist
LINE 1: SELECT "website".id FROM "website" WHERE ("website"."domain"...
                                                  ^
, in query SELECT "website".id FROM "website" WHERE ("website"."domain" = %s) ORDER BY "website"."id"  
2014-10-07 05:04:05,052 3778 INFO sample werkzeug: 127.0.0.1 - - [07/Oct/2014 05:04:05] "GET / HTTP/1.1" 500 -
2014-10-07 05:04:05,062 3778 ERROR sample werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi
    execute(self.server.app)
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute
    application_iter = app(environ, start_response)
  File "/home/jyothi/odoo/openerp/service/server.py", line 234, in app
    return self.app(e, s)
  File "/home/jyothi/odoo/openerp/service/wsgi_server.py", line 216, in application
    return application_unproxied(environ, start_response)
  File "/home/jyothi/odoo/openerp/service/wsgi_server.py", line 202, in application_unproxied
    result = handler(environ, start_response)
  File "/home/jyothi/odoo/openerp/http.py", line 1211, in __call__
    return self.dispatch(environ, start_response)
  File "/home/jyothi/odoo/openerp/http.py", line 1185, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in __call__
    return self.app(environ, start_response)
  File "/home/jyothi/odoo/openerp/http.py", line 1352, in dispatch
    result = ir_http._dispatch()
  File "/home/jyothi/odoo/addons/crm/ir_http.py", line 13, in _dispatch
    response = super(ir_http, self)._dispatch()
  File "/home/jyothi/odoo/addons/website/models/ir_http.py", line 90, in _dispatch
    request.website = request.registry['website'].get_current_website(request.cr, request.uid, context=request.context)
  File "/home/jyothi/odoo/openerp/api.py", line 235, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/jyothi/odoo/addons/website/models/website.py", line 267, in get_current_website
    website_id = self._get_current_website_id(cr, uid, domain_name, context=context)
  File "/home/jyothi/odoo/openerp/api.py", line 235, in wrapper
    return old_api(self, *args, **kwargs)
  File "<string>", line 2, in _get_current_website_id
    
  File "/home/jyothi/odoo/openerp/tools/cache.py", line 75, in lookup
    return self.method(*args, **kwargs)
  File "/home/jyothi/odoo/addons/website/models/website.py", line 260, in _get_current_website_id
    ids = self.search(cr, uid, [('domain', '=', domain_name)], context=context)
  File "/home/jyothi/odoo/openerp/api.py", line 235, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/jyothi/odoo/openerp/models.py", line 1674, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/home/jyothi/odoo/openerp/api.py", line 235, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/jyothi/odoo/openerp/models.py", line 4543, in _search
    cr.execute(query_str, where_clause_params)
  File "/home/jyothi/odoo/openerp/sql_db.py", line 158, in wrapper
    return f(self, *args, **kwargs)
  File "/home/jyothi/odoo/openerp/sql_db.py", line 234, in execute
    res = self._obj.execute(query, params)
ProgrammingError: column website.domain does not exist
LINE 1: SELECT "website".id FROM "website" WHERE ("website"."domain"...

 

Thanks in advance

 

 

 

Avatar
Discard
Best Answer

This is the same quesiton by the same person as this: https://www.odoo.com/forum/help-1/question/how-to-install-stable-debian-ver-of-odoo-8-in-ubuntu-14-04-lts-64581#answer-64676.....

.....and the answer is sitll the same.  You did NOT isntall Odoo v8.  Those instructions are obsoloete from before v8 was branched.  You isntalled Odoo Master, the main development branch.  Stop using the instructions at http://pulse7.net/openerp/install-odoo-ubuntu-14-04-github/ because they are not efficeient and a waste of time.  Use the isntrucitons that I gave you the first time you asked, see here: https://www.odoo.com/forum/help-1/question/how-to-install-stable-debian-ver-of-odoo-8-in-ubuntu-14-04-lts-64581#answer-64676.  For those new to Odoo it is much easier to install from the .deb package from the nightlies.

If it was me then I would uninstall the Github WGET files, delete the Postgresql databases for Odoo, delete the Postgresql "odoo" user, and delete the Linux "odoo" user and start all over again.  The .deb does most of it and does it right.

Avatar
Discard
Best Answer

Hi LIBU,

try installing python passlib using terminal, Hope it works out..

Even i also faced these kind of error while creating db

open Terminal then type this command in the root access

sudo apt-get install python-passlib


 

Avatar
Discard
Author

Thx Ajay for rply..will chk and update