OpenERP is now called Odoo This could be a simple change of ebuild's name but they have also changed development source code reference. Before development was done on launchpad and a daily source tarball was available at http://nightly.openerp.com/trunk/nightly/src/. Now code is hosted at GitHub so maybe future source code downloads will be only available at GitHub. Reproducible: Always
I suggest to keep using OpenERP name on current ebuilds and only start using the new Odoo name for the masked development version 8.
The last v8 tarball was posted on 4/17. It looks like there won't be any more of those so we need a git ebuild for v8. I posted some info on getting instant messaging working (which is a v8-only feature) here: https://bugs.gentoo.org/show_bug.cgi?id=499238 I tried using the 4/17 tarball and I get various runtime errors (although things seem to be useable) so I'm not sure it's production-ready. One key change made sometime between 2/23 and 4/17 is that the openerp-server process needs to create ~/.local/share/OpenERP/. The openerp user created by the ebuild has the HOME dir set to /dev/null so starting openerp-server fails with a /dev/null/.local error. Setting a real HOME dir for that user fixes it.
FYI: I tried using a newer 7.0 tarball: * cp openerp-7.0.20140125.ebuild openerp-7.0.20140804.ebuild * Changed FNAME="${PN}-${MY_PV}-231303" in the ebuild Installed like a charm, still have to do thorough testing though.
Also, it looks like they have 8.0rc1 nightlies available: http://nightly.openerp.com/8.0/nightly/src/
Created attachment 387226 [details] odoo-8.0.0.ebuild Odoo ebuild to install from GitHub, using the tag 8.0.0.
Created attachment 387230 [details] files/odoo /etc/init.d/odoo script
Created attachment 387232 [details] files/odoo.cfg /etc/odoo/odoo.cfg configuration file.
Created attachment 387234 [details] files/odoo.confd /etc/conf.d/odoo configuration file.
Created attachment 387236 [details] files/odoo.logrotate /etc/logrotate.d/odoo file for logrotate.
I just tested this ebuild and I found a few minor issues. The init script tries to start odoo-server, but the executable is still called openerp-server I also had some problems getting odoo and postgres to communicate, but i'm not sure if it was a postgres or odoo problem, because i'm not familiar with postgres. (I got around the problem by creating a postgres user named 'odoo' and assigning 'superuser' permissions. To reproduce it: 1. Download the ebuild and associated files in this ticket. 2. Emerge odoo with out of the box settings (you have to edit keywords and use flags. 3. Run emerge --config on postgresql-9.3 and afterwards on odoo. 4. Edit the init script as described above. 5. Service odoo start && tail -n 20 -f /var/log/odoo/odoo-server.log
Are there any news on this? Will gentoo get any odoo-8 ebuilds in portage?
sorry, I'm not using openerp myself anymore, and it's a rather complicated ebuild. so if there is anyone willing to step up to help maintain this, I'd be happy to proxy it. see [1], thanks [1] http://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
Hey, I took the files attached here in this bug and changed the problem with odoo-server/openerp-server: they seem to work. So, a tlast until the nex release they seem to be "stable" enough - at least I had no problems with them... I could maintain the ebauilds until the 9er version, yet I have no clue wht and how to do that....
Odoo 8.0 has been stable since 9/18/2014: https://www.odoo.com/forum/help-1/question/2014-09-18-final-version-released-release-date-of-odoo-8-stable-version-on-github-56109 I made some changes to the previously-attached files and everything is working well with the latest 8.0 nightly. I had the same problem described by Hedin above so I changed the ebuild to create the new database user as a superuser. Be sure to edit /etc/odoo/odoo.cfg and at least change db_password so the database user you created with emerge --config can connect. I will attach all of the updated files which should work out of the box.
Created attachment 403084 [details] ebuild odoo-8.0.20150511.ebuild
Created attachment 403086 [details] files/odoo
Created attachment 403088 [details] files/odoo.cfg
Created attachment 403090 [details] files/odoo.confd
Created attachment 403092 [details] files/odoo.logrotate
(In reply to A. Person from comment #19) as I and patrick are not on this package, so I'd ask would you like to maintain this ebuild (via @proxy-maint), see my comment #12
Yixun, I'm willing to try.
It's been a long time since the name change has occured. And still, there are updated packages for openerp in portage (last on in august it seems). Isn't that weird ??
Any progress on this? There is version 9 out there already. Thanks
I have written an ebuild for Odoo 9.0c. It is in my overlay hnaparst.