Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267886 - OpenERP-Server OpenEPR-web
Summary: OpenERP-Server OpenEPR-web
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-29 15:18 UTC by INODE64 Sistemas
Modified: 2010-12-30 13:37 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
openerp-server-5.0.0.ebuild (openerp-server-5.0.0.ebuild,2.54 KB, text/plain)
2009-04-29 15:20 UTC, INODE64 Sistemas
Details
openerp-conf.d (openerp-conf.d,808 bytes, text/plain)
2009-04-29 15:22 UTC, INODE64 Sistemas
Details
openerp-init.d (openerp-init.d,1.00 KB, text/plain)
2009-04-29 15:22 UTC, INODE64 Sistemas
Details
openerp-web-5.0.0.ebuild (openerp-web-5.0.0.ebuild,2.25 KB, text/plain)
2009-04-29 15:22 UTC, INODE64 Sistemas
Details
openerp-web-conf.d (openerp-web-conf.d,74 bytes, text/plain)
2009-04-29 15:22 UTC, INODE64 Sistemas
Details
openerp-web-init.d (openerp-web-init.d,543 bytes, text/plain)
2009-04-29 15:23 UTC, INODE64 Sistemas
Details
OpenERP server ebuild for 5.0.1-0 version (2009-05-28) (openerp-server-5.0.1.ebuild,2.48 KB, text/plain)
2009-05-29 11:22 UTC, metolic147
Details
OpenERP server conf.d for 5.0.1-0 version (2009-05-28) (openerp-conf.d,801 bytes, text/plain)
2009-05-29 11:23 UTC, metolic147
Details
OpenERP server init.d for 5.0.1-0 version (2009-05-28) (openerp-init.d,1.01 KB, text/plain)
2009-05-29 11:24 UTC, metolic147
Details
openerp-server-5.0.1.ebuild (openerp-server-5.0.1.ebuild,2.51 KB, text/plain)
2009-06-22 17:48 UTC, INODE64 Sistemas
Details
openerp-conf.d (openerp-conf.d,800 bytes, text/plain)
2009-06-22 17:48 UTC, INODE64 Sistemas
Details
openerp-init.d (openerp-init.d,1.01 KB, text/plain)
2009-06-22 17:49 UTC, INODE64 Sistemas
Details
openerp-web-5.0.1.ebuild (openerp-web-5.0.1.ebuild,2.13 KB, text/plain)
2009-06-22 17:49 UTC, INODE64 Sistemas
Details
Fix no create user in configure (openerp-server-5.0.1.ebuild,2.50 KB, text/plain)
2009-06-29 11:55 UTC, INODE64 Sistemas
Details
openerp-server-5.0.6.ebuild (openerp-server-5.0.6.ebuild,2.46 KB, text/plain)
2009-12-06 09:27 UTC, INODE64 Sistemas
Details
openerp-web-init.d (openerp-web-init.d,537 bytes, text/plain)
2009-12-06 09:55 UTC, INODE64 Sistemas
Details
openerp-web-5.0.6.ebuild (openerp-web-5.0.6.ebuild,971 bytes, text/plain)
2009-12-06 09:56 UTC, INODE64 Sistemas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description INODE64 Sistemas 2009-04-29 15:18:35 UTC
initial import of OpenERP-Server and OpenEPR-web

Reproducible: Always
Comment 1 INODE64 Sistemas 2009-04-29 15:20:15 UTC
Created attachment 189852 [details]
openerp-server-5.0.0.ebuild
Comment 2 INODE64 Sistemas 2009-04-29 15:22:18 UTC
Created attachment 189853 [details]
openerp-conf.d
Comment 3 INODE64 Sistemas 2009-04-29 15:22:27 UTC
Created attachment 189854 [details]
openerp-init.d
Comment 4 INODE64 Sistemas 2009-04-29 15:22:41 UTC
Created attachment 189856 [details]
openerp-web-5.0.0.ebuild
Comment 5 INODE64 Sistemas 2009-04-29 15:22:55 UTC
Created attachment 189858 [details]
openerp-web-conf.d
Comment 6 INODE64 Sistemas 2009-04-29 15:23:08 UTC
Created attachment 189861 [details]
openerp-web-init.d
Comment 7 metolic147 2009-05-29 11:22:05 UTC
Created attachment 192858 [details]
OpenERP server ebuild for 5.0.1-0 version (2009-05-28)

Tested with python-2.5, python-2.4 seems to have problems with the client.

- version bump
- changed old user ("terp") to "oerp"
- dependency review, following official site

In my box dev-python/psycopg-2.0.8 and 2.0.9 can't be imported as python modules by the installer, 2.0.10 is fine (masked version). If this psycopg behaviour is confirmed I'll update the ebuild dependecy.

Psycopg-2.0.10 also need dev-db/libpq-8.2.7 and virtual/postgresql-base-8.2 (both masked). I suggest to use last masked version of postgresql (8.2.7) as db.

Basically:

# emerge postgresql-8.2.7
# emerge --config =postgresql-8.2.7
# /etc/init.d/postgresql start
# emerge openerp-server
# emerge --config =openerp-server-5.0.0
# /etc/init.d/openerp start

Should work "out-of-the-box". Be sure to use python-2.5, config and init.d files provided with this ebuild.

Help needed to write the openerp-client ebuild, I'm not very good in bash and previous ebuilds posted in bugzilla don't work in my box.

Please leave a feedback if you try the ebuild, thanks.
Comment 8 metolic147 2009-05-29 11:23:55 UTC
Created attachment 192859 [details]
OpenERP server conf.d for 5.0.1-0 version (2009-05-28)
Comment 9 metolic147 2009-05-29 11:24:33 UTC
Created attachment 192860 [details]
OpenERP server init.d for 5.0.1-0 version (2009-05-28)
Comment 10 metolic147 2009-05-29 11:51:03 UTC
My package.keywords:

dev-db/postgresql ~x86
dev-python/psycopg ~x86
dev-db/libpq ~x86
app-office/openerp-server ~x86
<virtual/postgresql-base-8.3 ~x86

tested on vmware VM 32bit.
Comment 11 INODE64 Sistemas 2009-06-22 17:48:28 UTC
Created attachment 195475 [details]
openerp-server-5.0.1.ebuild

update from Francesco G and change terp to oerp
Comment 12 INODE64 Sistemas 2009-06-22 17:48:52 UTC
Created attachment 195476 [details]
openerp-conf.d
Comment 13 INODE64 Sistemas 2009-06-22 17:49:07 UTC
Created attachment 195478 [details]
openerp-init.d
Comment 14 INODE64 Sistemas 2009-06-22 17:49:29 UTC
Created attachment 195480 [details]
openerp-web-5.0.1.ebuild
Comment 15 INODE64 Sistemas 2009-06-29 11:55:12 UTC
Created attachment 196060 [details]
Fix no create user in configure
Comment 16 Hans 2009-07-23 11:56:03 UTC
(In reply to comment #15)
> Created an attachment (id=196060) [edit]
> Fix no create user in configure
> 

Where can I find this ebuild in which overlay? I want to test it also ^_^
Comment 17 Yaroslav Gorbunov 2009-09-30 16:52:33 UTC
Available in yarik-overlay
Comment 18 INODE64 Sistemas 2009-12-06 09:27:07 UTC
Created attachment 212212 [details]
openerp-server-5.0.6.ebuild

New version and remove dead deps
Comment 19 INODE64 Sistemas 2009-12-06 09:55:38 UTC
Created attachment 212213 [details]
openerp-web-init.d

Update init for 5.0.6
Comment 20 INODE64 Sistemas 2009-12-06 09:56:40 UTC
Created attachment 212214 [details]
openerp-web-5.0.6.ebuild

New version and update deps
Comment 21 barrie backhurst 2010-01-09 18:38:16 UTC
I have installed the 5.0.6 ebuilds with dev-db/postgresql-8.1.11 and I was able to create a database and start using the web client. No sooner had I done so, Postgresql produced blocks on a world update and I unmerged dev-db/postgresql-8.1.11 and libpq allowing portage to install dev-db/postgresql-base-8.4.2-r1 and its related packages. I re-emerged the 5.0.6 ebuilds, ran the configuration, both services appear to start OK and the webclient opens using the localhost:8080 address. However I have been unable to create a new database via the web client and I would welcome any suggestions on how to proceed.

Incidentally I had to remove the --quiet flag from the createuser server config because it is no longer supported in postgresql-base-8.4.2-r1. I cannot imagine that this is the cause of my problems though.
Comment 22 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2010-12-20 08:55:52 UTC
Commited to tree a few days ago.
Comment 23 barrie backhurst 2010-12-30 12:56:58 UTC
(In reply to comment #21)
> I have installed the 5.0.6 ebuilds with dev-db/postgresql-8.1.11 and I was able
> to create a database and start using the web client. No sooner had I done so,
> Postgresql produced blocks on a world update and I unmerged
> dev-db/postgresql-8.1.11 and libpq allowing portage to install
> dev-db/postgresql-base-8.4.2-r1 and its related packages. I re-emerged the
> 5.0.6 ebuilds, ran the configuration, both services appear to start OK and the
> webclient opens using the localhost:8080 address. However I have been unable to
> create a new database via the web client and I would welcome any suggestions on
> how to proceed.
> 
> Incidentally I had to remove the --quiet flag from the createuser server config
> because it is no longer supported in postgresql-base-8.4.2-r1. I cannot imagine
> that this is the cause of my problems though.
> 

Returning after nearly a year, I discovered via gentoo-wiki.com that I had not entered my locale via PG_INITDB_OPTS in /etc/conf.d/postgresql-8.4 and this was blocking the creation of new databases
Comment 24 barrie backhurst 2010-12-30 13:37:50 UTC
(In reply to comment #22)
> Commited to tree a few days ago.
> 

Good to see the commit, however the pkg_config() still has the --quiet option applied to createuser and this is not recognised by the current stable postgresql(8.4.5), causing the script to fail.

Also the latest stable openerp version is 5.0.15 and version 6 is in the release candidate stage, is it possible to have ebuilds for these committed to the tree or should a new bug be opened?

I have found an ebuild for 5.0.14 in the yarik-overlay which appears to be based on the ebuild attached above, however I notice that the committed ebuild differs from these, are these changes significant(i.e no ssl USE flag) or is it OK to use the overlay version?