Skip to Content

Contributors

Re: Odoo -- Community v Enterprise Questions

> I'm a little surprised by this statement. I prototyped Enterprise a few times between v12 and v15

I learned docker last year over a period of about six months, so I'm not an expert - however I do have a fair degree of experience with Linux sysadmin spanning a decade or more, so I'm not a novice either. For work related reasons I ended up testing something like twenty different dockerized apps over this period, and Odoo was one of the later ones, so I was getting familiar by that time.

Overall, I love the experience of dealing with containerized apps, compared to the old school style of installing them directly. However, there were two apps that stood out as being as struggle to install. One was Outline wiki (a great app once installed, however). The other was Odoo, both community and enterprise, but especially enterprise.

The reason for it being complicated is to do with database setup. I haven't found any way to have a docker install creates no database, so you can open the page and create/restore a database as described in the docs for a new installation.

Instead, what I get with every initial container, both writing my own compose scripts and following templates that I can find online, is loads of server errors (I forget exactly what errors now, but it was something to do with "database incorrectly initialized"). The only way around this that I have found is to add a command:

# Don't leave this line in for production!!
# command: --db_host=${DB_HOST} --database ${DB_NAME} --db_user ${POSTGRES_USER} --db_password ${POSTGRES_PASSWORD} -i base


Then on the first install I uncomment that, it creates a blank database and that allows me to access web/database/manage where I can finally restore the real database. Then I have to remember to uncomment the line and re-up the container (otherwise it will overwrite the database every time).

As for enterprise, the only description in the docs for how to install is this:

> Tip: For the Enterprise edition, you must add the path to the enterprise addons to the addons-path argument. Note that it must come before the other paths in addons-path for addons to be loaded correctly.

https://www.odoo.com/documentation/16.0/administration/install/install.html

When you download the enterprise files, you'll see that they have a folder structure similar to the entire Odoo install, including an addons folder. So, as per the tip, I added that enterprise/addons folder to the addons-path.

This is incorrect. Instead, you need to add the *entire* enterprise folder structure as an addons folder, which means there's an addons folder with another addons folder inside it.

I think it's fair to call this confusing and poorly documented, although it's far from the worst thing I've encountered in my dev career, or even in the Odoo docs.

- Lewy

P.S: If anyone can share a docker-compose template for community edition that does allow me to immediately access web/database/manage, I would appreciate it :)

On 08-Feb-23 21:32, Adam Heinz wrote:
On Tue, Feb 7, 2023 at 9:57 PM Dev <notifications@odoo-community.org> wrote:

In terms of usage, installing the Enterprise version from source using Docker is complicated and poorly documented.


I'm a little surprised by this statement. I prototyped Enterprise a few times between v12 and v15 and seem to recall it being no more than adding an /mnt/enterprise-addons volume on top of the standard odoo:12-15 docker container. We do the exact same type of mounting for our own custom development and also for OCA modules. We ultimately decided not to go with it due to cost and legal arbitration being in Europe, but I still press my face up against the glass and stare longingly at the Spreadsheets module. ;-)

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe


by dev - 12:10 - 13 Feb 2023

Reference

  • Odoo -- Community v Enterprise Questions
    Greetings,
    
           I'm new to the Odoo community.   I ran across Odoo while
    looking for a Point of Sale for my girlfriend's business (brick and
    mortar), but alas, we have been using GoHighLevel which has a lot of
    overlap with Odoo.   As a result, I was looking at the offerings from
    Odoo with respect to the community edition and the enterprise
    editions.   But from what I can tell, enterprise subscriptions must
    pay per user and Odoo.sh must host the deployment.
    
          I wear a number of hats at a number of different companies, such
    as the requirement for my girlfriend's business below, a not for
    profit corporation, which could benefit greatly from efforts in Odoo,
    as well as my full time job, which could use Odoo as a cloud services
    provider for internal accounting and forecasting purposes.
    
          All in all, I've been in the Internet industry for a long time
    and have my own cabinet in a well connected data center with plenty of
    compute and storage capabilities, so naturally, I would like to self
    host.   I spent a few hours trying to find Odoo resources, which is
    how I found my way here.  I also looked through the App directory, but
    I was having a hard time reconciling the App directory with the
    offerings included within the enterprise license.    Does anybody have
    a pointer to a URL, or documents, which go into any level of detail on
    how to create the enterprise experience in a self-hosted environment?
      As a side note, I would like to whitelabel the URL for my
    girlfriend's business.   Further, I would want to nest multiple client
    instances within a deployment (for her clients' environments) and then
    be able to white label a specific clients environment, but that's a
    longer term vision.
    
         Any help that could be provided to point me in the right
    direction would be greatly appreciated.    I see a lot of personal use
    cases for Odoo, but am struggling to see where the current lines have
    been drawn between enterprise and community.
    
    Thank you in advance,
    Charles
    

    by cgucker - 06:31 - 29 Jan 2023