Skip to Content
Menu
This question has been flagged
7 Replies
6644 Views


Hi.


I am trying to installing Odoo 17 in an Ubuntu 22.04 server by following the "Odoo installations instructions form sources".


However, after completing the installation ans opening the port 8069 in the firewall, I am unable to access the application at the address: https://myIP:8069.


I might have made some errors during the insatalltion or do I need to follow the instructions of the "System Configurations" of odoo (and not only installation from sources)? 

Avatar
Discard
Best Answer

you can try installing odoo once again
there are various sources out there 
try one https://www.youtube.com/watch?v=m7ZDT0XNWOA

Avatar
Discard
Best Answer

I've managed to install on a DigitalOcean droplet using these steps:
https://www.rosehosting.com/blog/how-to-install-odoo-17-on-ubuntu-22-04/

The only part that does not seem to be working is the Wkhtmltopdf package.
So I used 

sudo wget https://packages.ubuntu.com/jammy/wkhtmltopdf 
sudo apt install wkhtmltopdf -y
sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin
sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin

I hope this helps...

Avatar
Discard
Best Answer

Try above solutions By creating Custom Python Virtual environment

It Worked for my one of the my friend

You can refer this  --> https://www.geeksforgeeks.org/python-virtual-environment/

Avatar
Discard
Best Answer

I have three instances of Odoo 17 running on Ubuntu 22.04. Make sure postgres is installed first and maybe install the package, then install (apt-get updates/install) then install the package again. The base system should be up with no other changes. That is, it should be accessible on http://ip:8069 and the first thing it asks to do is create a new database. Check the log in /var/log/odoo/odoo...log and bump odoo with 'service odoo restart'

I started with the Azure VM of Ubuntu. I didn't add or make any changes to Python but I'm certain that after the first dpkg attempt, the apt-get update/install commands do download more python packages. I just didn't note which. But the second dpkg then works without issue.

Avatar
Discard
Author Best Answer

Thank you. It helped me to identify some issues. Once solved, even if the odoo.service.server: HTTP service (werkzeug) is running on myIP:8096, Odoo does not open. I will uninstall the packages as mentioned by Cybrosys' answer.


Regards

Avatar
Discard
Best Answer

Hi,Please refer to our below blog to install odoo 17 on ubuntu 22.04 server.https://www.cybrosys.com/blog/how-to-install-odoo-17-on-ubuntu-20-04-lts-server

Odoo 17 is compatible with the Python version >= 3.10. So ensure that you have upgraded your Python version.And there are some issues with certain packages in the requirements.txt file. while you installing the requirements in odoo 17. To address this, the following packages need to be removed:
1) gevent
2) greenlet
3) psycopg2
4) python-ldap
After removing these packages from the requirements.txt file, reinstall the dependencies using the updated requirements.txt. Subsequently, install the previously removed packages separately. Note that, for psycopg2, it is recommended to install psycopg2-binary.


Hope it helps

Avatar
Discard

this installation produce error and odoo won't start

Best Answer

Hi,
Most probably the service is not getting started due to missing python packages (for eg: pypdf2). You can verify it by running odoo directly from the terminal.

Running odoo from command line:  How To Run Odoo From Terminal

Thanks

Avatar
Discard
Author

Thank you.. I followed the tutorial and also the othe link mentionned but it still does not communicate.