I'm cross-posting a message sent in the sponsoring odoo topic.
For those interested in Odoo V10 CE, I've just updated my last script here :
I'm not maintaining it anymore, but it's working well for two years now (working with the ldap cloudron server).
@samir Thank you very much for this. I know you are no longer maintaining this, but is it possible before you leave the project, if it does not take too much time, to incorporate the new script suggested here:
@LoudLemur The current script is based on the Yenthe666 script, I will publish an odoo12-ce-app very soon. It's pretty easy to adapt the script for odoo13 if you want it, though I've heard (to confirm) that the odoo based on even version are usually more stable than the odd one... I tend to pass the odd version, waiting for the even one.
In my opinion, it makes sense to have separate repo for each odoo version. It's not obvious to update a odoo version, since it requires a special script to update the database (and other stuff...)
For using the cloudron ldap :
- Create first the user in odoo with an empty password
- open the ldap parameters in odoo (as admin, config>settings)
- enter into an odoo terminal and get the cloudron ldap parameters
- fill in the ldap cloudron parameters (ldap server address, binddn, port, password)
- For LDAP base : ou=users,dc=cloudron
- restart odoo app (or cloudron, I don't remember)
@samir Attempting from your script, stuck in a loop:
Traceback (most recent call last):
Apr 08 12:52:02 File "/app/code/odoo-server/odoo-bin", line 5, in <module>
Apr 08 12:52:02 import odoo
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/init.py", line 125, in <module>
Apr 08 12:52:02 from . import modules
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/init.py", line 8, in <module>
Apr 08 12:52:02 from . import db, graph, loading, migration, module, registry
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/loading.py", line 17, in <module>
Apr 08 12:52:02 import odoo.modules.migration
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/migration.py", line 12, in <module>
Apr 08 12:52:02 from odoo.modules.module import get_resource_path
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/module.py", line 25, in <module>
Apr 08 12:52:02 from odoo import SUPERUSER_ID, api
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/api.py", line 1198, in <module>
Apr 08 12:52:02 from odoo.modules.registry import Registry
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/registry.py", line 18, in <module>
Apr 08 12:52:02 from odoo.sql_db import TestCursor
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/sql_db.py", line 49, in <module>
Apr 08 12:52:02 import tools
Apr 08 12:52:02 ImportError: No module named 'tools'
Apr 08 12:52:10 => Ensure directories
Apr 08 12:52:10 => Patch config file
Apr 08 12:52:11 => Ensure data ownership
but it's been working as a custom app on one of my instances for a few weeks. to get an idea of how odoo works and what you need to learn to implement an erp system in your company, it's top. as a reliable critical app for your company (without knowledge about content migration), you should wait until odoo is an official cloudron app.
@nj thanks for your packaging efforts! I just tried to run odoo and it wouldn't start, it was always looping the
First run. Initializing DB...bit. I've jumped in the terminal and ran the cmds manually and eventually figured out, that the
/app/dataneeded chowning to the cloudron-user before it worked - which it now does! So all we need to do is add
@msbt Odoo Community edition hosted on Cloudron would be a massive value add to the Cloudron portfolio. I totally recommend using Cloudron in a business to structure and improve processes. Unless your company has the budget to run Salesforce, or Service Now to do the same.
@makemrproper There is a large and active development community for Odoo. I think it would be quite excited to hear about a Beta of Odoo on Cloudron and they could contribute quite a lot. Hopefully, the other great applications available on Cloudron would catch their notice too, and people would join us.