Comments (6)
Root (sudo) is only needed for installing the system packages with apt
, for installing system-wide python packages with pip
, and for other sys admin actions such as creating the user and adding to group
https://docs.python.org/3.4/installing/index.html
Apart from these, the odoo-bin
service SHOULD be able to run without issue, under user odoo
, without the odoo
user being a member of the sudoers
group.
During runtime, the odoo-bin
service should NOT need to perform any privileged actions requiring sudo
root access.
from installscript.
By the way, one issue that I'd like to make sure; how about in case where Odoo is set to run in a "low" port, such as 80 (for ordinary web servers)? Still, installer would not need sudo rights?
from installscript.
Actually, that should require sudo rights I believe, as the first 1.000+ ports are reserved for root/admin. So that might be a good catch!
from installscript.
Yes @jpaulin @Yenthe666 when you run odoo service listening on port <1024 , sudo is required. This is probably acceptable to develop and test on odoo in a private LAN.
However, in practical usage, Odoo's web server, werkzeug
, is not a very good idea to expose to the public global internet, so, for best practices, it is smarter to run nginx
on ports 80 and 443 as reverse http/https
proxy, and let odoo stay safe and unexposed to the global internet, on port 8069 (or any high port number > 1024).
from installscript.
@Yenthe666 @chris001 Thanks for clarification, this nailed also the question I'd had for long in my mind: the internal web component of Odoo is thus called "werkzeug".
from installscript.
More about werkzeug (German word for "tool"): https://pypi.python.org/pypi/Werkzeug
from installscript.
Related Issues (20)
- 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)
- Scripted installation fails on Debian GNU/Linux 11 (bullseye) - service status active(exited) - Logs Empty HOT 1
- Ubuntu 24.04 + Odoo 17.0 - error: externally-managed-environment HOT 5
- This site canβt be reached - refused to connect. HOT 4
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.