Comments (12)
@Vaerum
Try this:
sudo service odoo-server stop
cd /odoo/your-odoo
sudo su odoo
./odoo-bin -c /etc/odoo-server.conf
from installscript.
Active: active (exited)
Your odoo service is not running - it exited immediately, probably because a required system package is missing.
from installscript.
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.
@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.
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.
Thanks @Vaerum
I added the missing python3 packages in #62
from installscript.
For me, I need to also install these two through pip3:
sudo pip3 install pyyaml
sudo pip3 install jinja2
from installscript.
@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.
Noob? When I sudo su odoo it asks for a password, using the script, what would the password be please?
from installscript.
@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.
@SedonasOpensourceSolutions
If you are not root
, then sudo su odoo
will ask you for a password.
from installscript.
Faced same error in 13.0, the server was missing the PyPDF2 python package.
Thanks for the help
from installscript.
Related Issues (20)
- error during running installed script HOT 3
- after odoo 15 to 16 database migration error is coming psycopg2.errors.InvalidDatetimeFormat: invalid input syntax for type timestamp: "" HOT 2
- AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' HOT 2
- the script can't point my domain to the machine in contabo HOT 2
- Having problem when install with python3.10 HOT 1
- [10.0] pip2 and pip requirements missing HOT 1
- I want to add a translation HOT 2
- Some necessary changes to the odoo_install_debian.sh
- 17.0 on Ubuntu 22.04 HOT 8
- Instructions in script don't align with instructions in readme HOT 2
- Installation Error - AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' HOT 2
- Odoo17 on ubuntu 22.04 error HOT 12
- The SSL script causes (refused to connect) after the installation HOT 1
- Ubuntu 22.04 Odoo17 wkhtml issue HOT 6
- Odoo v16 - Error on apt update after installation on ubuntu 22.04. + Proposed solution
- Hide database manager HOT 4
- websocket issue
- invoice header and footer issue HOT 1
- odoo-server.conf has only few lines ?? HOT 1
- auto_backup V16 (Yenthe/OCA)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installscript.