Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot manage self installed odoo #19

Open
hrotkogabor opened this issue Jul 5, 2023 · 1 comment
Open

cannot manage self installed odoo #19

hrotkogabor opened this issue Jul 5, 2023 · 1 comment

Comments

@hrotkogabor
Copy link

Describe the bug
When I have not created odoo installtion with this script, I cannot manage that installation.

To Reproduce
I always get this message for every script:
WARNING: no project config file found!
ERROR: Not inside odoo-helper project!

Expected behavior
The documentation should state that this is not possible, or describe the steps to be able to manage custom installation.

Additional context
E.g. manage existing self installed odoo.

@katyukha
Copy link
Owner

Hi,

Thanks for reporting this issue.

This project is not designed to manage self-installed odoo installations, because there are a lot of way to install Odoo:

  • install Odoo as deb package
  • install from sources
  • install from source into custom virtualenv
  • etc

Also, the custom Odoo may be installed in some specific folder from normal user, or there could be a set of odoo installation on same machine, or there could be system-wide installation with dedicated user with restricted access rights, etc

Additionally, there could be different ways to start Odoo:

  • run as normal python script manually
  • automatically run Odoo via init script (or via systemd) as daemon

Thus, there is no way to easily handle all these installation cases.

If you still want to manage custom-installed Odoo via odoo-helper-scripts, it is possible, but it will require to manually create odoo-helper config file for such project, and place it in project folder (if you have multiple projects on same machine) or add all configuration params to /etc/odoo-helper.conf file.

odoo-helper expects that Odoo is running inside virtualenv. If odoo is installed system-wide without virtualenv, odoo-helper may work too, but this case is not tested.

Useful links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants