Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Odoo -- Community v Enterprise Questions
Re: As Odoo family, please donate for the disasters in Türkiye
Re: Odoo -- Community v Enterprise Questions
by> 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 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
Reference
-
Odoo -- Community v Enterprise Questions
bycgucker-
Re: Odoo -- Community v Enterprise Questions
byMetricWise, Inc., Adam Heinz -
Re: Odoo -- Community v Enterprise Questions
byMetricWise, Inc., Adam Heinz
-