Git Product home page Git Product logo

Comments (12)

chris001 avatar chris001 commented on July 3, 2024 2

@Vaerum
Try this:

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

from installscript.

chris001 avatar chris001 commented on July 3, 2024

Active: active (exited)

Your odoo service is not running - it exited immediately, probably because a required system package is missing.

from installscript.

Vaerum avatar Vaerum commented on July 3, 2024

Just tried: ./odoo-bin -c /etc/odoo-server.conf

Traceback (most recent call last): File "./odoo-bin", line 5, in <module> import odoo File "/odoo/odoo-server/odoo/__init__.py", line 84, in <module> from . import modules File "/odoo/odoo-server/odoo/modules/__init__.py", line 8, in <module> from . import db, graph, loading, migration, module, registry File "/odoo/odoo-server/odoo/modules/graph.py", line 10, in <module> import odoo.tools as tools File "/odoo/odoo-server/odoo/tools/__init__.py", line 7, in <module> from . import pdf File "/odoo/odoo-server/odoo/tools/pdf.py", line 4, in <module> from PyPDF2 import PdfFileWriter, PdfFileReader ImportError: No module named 'PyPDF2'

from installscript.

chris001 avatar chris001 commented on July 3, 2024

@Vaerum
That's the reason why your odoo server failed to start.
Your server is missing the PyPDF2 python package.
pip3 install PyPDF2

@Yenthe666
Maybe some missing packages in the script?
Look here, because, maybe you need to add some packages, maybe some are missing from this script:
https://webkul.com/blog/install-odoo11-on-ubuntu/

from installscript.

Vaerum avatar Vaerum commented on July 3, 2024

I found out that some python3 dependencies were missing. After installing all these everything worked again.

apt install python3-babel python3-pypdf2 python3-passlib python3-werkzeug python3-lxml python3-decorator python3-dateutil python3-psycopg2 python3-psutil python3-html2text python3-docutils python3-reportlab python3-requests

Best regards,
Rasmus

from installscript.

chris001 avatar chris001 commented on July 3, 2024

Thanks @Vaerum
I added the missing python3 packages in #62

from installscript.

the7th avatar the7th commented on July 3, 2024

For me, I need to also install these two through pip3:

sudo pip3 install pyyaml
sudo pip3 install jinja2

from installscript.

chris001 avatar chris001 commented on July 3, 2024

@the7th
You might want to install all of them just to be sure you get all of them, because on a 16.04 about 10 packages were missing:

sudo pip3 install Babel decorator docutils ebaysdk feedparser gevent greenlet html2text Jinja2 lxml Mako MarkupSafe mock num2words ofxparse passlib Pillow psutil psycogreen psycopg2 pydot pyparsing PyPDF2 pyserial python-dateutil python-openid pytz pyusb PyYAML qrcode reportlab requests six suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt xlrd

from installscript.

SedonasOpensourceSolutions avatar SedonasOpensourceSolutions commented on July 3, 2024

Noob? When I sudo su odoo it asks for a password, using the script, what would the password be please?

from installscript.

Yenthe666 avatar Yenthe666 commented on July 3, 2024

@SedonasOpensourceSolutions by default the odoo user is created without a password. You can set one by calling sudo passwd odoo.
@Vaerum and @the7th there where indeed quite some packages missing in the beginning for V11 (under P3). If you'd get them all again it should be all fine.

from installscript.

chris001 avatar chris001 commented on July 3, 2024

@SedonasOpensourceSolutions
If you are not root, then sudo su odoo will ask you for a password.

from installscript.

prabby avatar prabby commented on July 3, 2024

Faced same error in 13.0, the server was missing the PyPDF2 python package.
Thanks for the help

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.