debian installer does not work with postgres 9.4

159 views
Skip to first unread message

V Brunner

unread,
Mar 25, 2015, 9:19:49 AM3/25/15
to idem...@googlegroups.com
arlos,

the debian installer described here
http://wiki.idempiere.org/en/IDempiere_Debian_Installer
and downloaded from here
http://ci.idempiere.org/job/iDempiere2.1Daily/ws/buckminster.output/org.adempiere.server_2.1.0-eclipse.feature/idempiere.gtk.linux.x86_64.deb

does not work with postgres 9.4 on jessie.

The control file in the deb package does not know postgresql-9.4.
I unpacked the deb package and replaced this line, adding postgesql-9.4 like this, and rebuilt it:
Pre-Depends: openjdk-7-jdk|openjdk-6-jdk, postgresql-9.4|postgresql-9.3|postgresql-9.2|postgresql-9.1, postgresql-contrib, adduser

Now the installation starts fine, outputs two lines, and exits without error. The last output says:
"idempiere (2.1) wird eingerichtet ..."

But - there's nothing installed, no files copied, no user 'idempiere' added, and so on.

Maybe the dependency postgres 9.4 needs to be declared in the package somewhere else?

I would have filed a bug report, but apparently the ticketing system here is for the developers only?
https://idempiere.atlassian.net/

Thanks,

V

Carlos Antonio Ruiz Gomez

unread,
Mar 25, 2015, 6:24:25 PM3/25/15
to idem...@googlegroups.com
Hi, I changed the control file as you advised (committed for 2.1)

Then I created a fresh digitalocean machine with ubuntu 14.04 and it installed in less than 5 minutes.

I haven't tested with Debian jessie (still not available in digitalocean).

Regards,

Carlos Ruiz



El 25/03/15 a las 08:19, V Brunner escribió:

redhuan d. oon

unread,
Mar 27, 2015, 1:29:26 AM3/27/15
to idem...@googlegroups.com
As far as i know the http://idempiere.atlassian.net is open for public. I think you have to register for an account at Atlassian.net first.
Such feedback on performance or compatibility is always appreciated by others.
Message has been deleted

V Brunner

unread,
Apr 1, 2015, 1:19:33 PM4/1/15
to idem...@googlegroups.com
Hi Carlos,

thank you. With your new version the installation of the deb-package finishes without any errors.

However, the configure script fails. I append a log of the script's output to this post.

Among other errors, the script outputs "could not change directory to "/root": Permission denied", which is strange, because I run the script as root. So I assume the script changes the user and tries to access /root as the user 'postgres' which isn't possible (and shouldn't be possible). The other errors seem to concern access to the local postgres DB as well.

Thanks for advise or another fix.

V
idempiere_configure_output.log

Carlos Antonio Ruiz Gomez

unread,
Apr 1, 2015, 1:22:37 PM4/1/15
to idem...@googlegroups.com
I found the same error lines in my ubuntu tests but it installed successfully, so seems like juts a warning.

The culprit here is the line
./RUN_ImportIdempiere.sh: 30: ./myEnvironment.sh: Syntax error: "(" unexpected

I think it is related to the password you chose for the adempiere user being created, probably the password has a parenthesis or some "reserved" character that caused the break.

Regards,

Carlos Ruiz
Reply all
Reply to author
Forward
0 new messages