Installation Problems

1,157 views
Skip to first unread message

Dmitry Oxenenko

unread,
Aug 28, 2017, 9:50:35 PM8/28/17
to iDempiere
Hi everyone,

I've been trying to install iDempiere for quite some time and am unable to do so. I've been reading the documentation and looking up tutorials on youtube but still no luck.

I have so far installed Java and PostGre but when I run setup.bat in idempiere, I get an error:

Here are the steps I'm taking:

Create a new user in PostGre

Username is called adempiere:

Password is just 'idempiere123$%'

Then I create the new database:

Database name is 'idempiere' and owner is 'adempiere'

Then I try press 'test' in the installer and get the error that described in the first image. I've tried all sorts of password combinations, but nothing is working.

For DB Admin Password, I used the same password that I put in when I was installing PostGre and then for Database Password, I've tried the same password as for DB Admin Password, 'idempiere123$%' and no password.


Anyone have any idea as to what I'm doing wrong?

iqbal muhammad

unread,
Aug 29, 2017, 12:00:45 AM8/29/17
to iDempiere
have you edit your pg_hba.conf file? refer to http://wiki.idempiere.org/en/Developing_Plug-Ins_-_Setup_the_workspace

Rheine Adithia

unread,
Aug 30, 2017, 5:43:57 AM8/30/17
to iDempiere
Hello, 

Try changing the application server to "localhost", and change the database server to "localhost" too..
that solve this problem when i encountered it not so long ago..

Best Regard, 
Rheine Adithia Kurniawan


On Tuesday, August 29, 2017 at 8:50:35 AM UTC+7, Dmitry Oxenenko wrote:

Dmitry Oxenenko

unread,
Aug 30, 2017, 8:29:33 PM8/30/17
to iDempiere
Yes, that fixed it, thanks Rheine!
Message has been deleted

Dmitry Oxenenko

unread,
Sep 17, 2017, 5:21:36 AM9/17/17
to iDempiere

Hi Guys,

Back at it, still haven't been able to install it but I feel like success isn't too far away!

I'm now only stuck at the database password stage:


Regardless of whether I tick "DB Already Exists", I get an error next to "Database Password".


I'm pretty certain I created the adempiere user and the idempiere db correctly.

Rheine Adithia

unread,
Sep 17, 2017, 9:21:43 PM9/17/17
to iDempiere
hello,

what did you insert into the DB password field??
it should be filled with the password you made for the user of the database.
for the case that you write in the thread, you should filled it with "idempiere123$%"

Best Regards,
Rheine Adithia 
Message has been deleted
Message has been deleted

Dmitry Oxenenko

unread,
Sep 18, 2017, 4:24:53 AM9/18/17
to iDempiere
Hi Rheine,

In the installation box I put in "idempiere123$%" in the "Database Password" field. So should work, but alas.

If I tick the DB Already Exists box, I get an error:

Rheine Adithia

unread,
Sep 19, 2017, 11:45:02 PM9/19/17
to iDempiere
hello Dmitry,

ok, this case is kinda weird, 
if you really just want to connect to the database of idempiere,
just follow the instruction from the page 
and use the default DB seed,

i recommend that you create the base for the database using that method.
after you have established the default DB using user adempiere with password adempiere,
then you can alter the password or the name of the user with your own preference.

After that you can use your own modified DB using the schema that idempiere already made for you..
Because i did this method, and i didn't occur any problem like yours..

TL;DR use the CMD psql script
if you want to try this method, i be glad to help you through it 

Best Regards,
Rheine Adithia

Golden Eagle Distributors

unread,
Sep 20, 2017, 3:15:13 PM9/20/17
to iDempiere
I also need help installing, can anyone email me at goldeneagle...@gmail.com

Jose Rodriguez

unread,
Sep 20, 2017, 3:32:05 PM9/20/17
to idempiere
Hi Dmitry,

When you are creating adempiere role, you should into "Roles Privileges" tab and mark the follow options:

1) Can login
2) Inherits rigths from parent roles
3) Superuser

I hope that it helps you.

Regards,
Jose Francisco

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/82bfca7d-9d94-4eca-8de9-1233931c1d47%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Siempre fraterno,
José Francisco Rodríguez Chávez

Especialista en Informática

"La vida del hombre no consiste en la abundancia de los bienes que posee" Lucas 12:15 "¿qué aprovechará el hombre, si ganare todo el mundo, y perdiere su alma?" Marcos 8:36 "No os afanéis por vuestra vida, qué habéis de comer, o qué habéis de beber; ni por vuestro cuerpo, qué habéis de vestir. ¿No es la vida más que el alimento, y el cuerpo más que el vestido? Mas buscad primeramente el reino de Dios y su justicia, y todas estas cosas os serán añadidas." Mateo 6:25,33

Dmitry Oxenenko

unread,
Sep 20, 2017, 10:16:04 PM9/20/17
to iDempiere
That did the trick Jose, many thanks! :)
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Dmitry Oxenenko

unread,
Aug 10, 2018, 5:36:23 AM8/10/18
to iDempiere
Finally got through the setup stage but now I'm trying to import the database with utils->RUN_ImportIdempiere I get errors as per attachment.

So it's obviously unable to find a file that isn't there. The only files that are there are in the second attached screenshot.
Import Database.jpg
Files.jpg

Carlos Antonio Ruiz Gomez

unread,
Aug 10, 2018, 6:34:03 AM8/10/18
to idem...@googlegroups.com
Hi Dmitry,

I think you're using some special characters in the password and the
scripts are not interpreting well that.

Regards,

Carlos Ruiz
> --
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Dmitry Oxenenko

unread,
Aug 13, 2018, 8:26:11 AM8/13/18
to iDempiere
Carlos, you're the man! It was the password after all. It was the main password not the adempiere login role password!

However, you guessed it, another problem. If I now launch iDempiere with 'idempiere' shortcut, it starts loading the server but then stops.

I just get a bunch of 'Driver.connect: Connection error:  [39]/[40]/[41]' which repeat randomly and then the execution just stops at some point completely (as per attachment).

If I run setup again, I get the error:

Error JDBC Connection
(Database imported?) etc...

 as per attachment.

Typing 'localhost:8080' into my browser also doesn't do anything, returns:

This site can’t be reached

localhost refused to connect.

ERR_CONNECTION_REFUSED
Process Hangs.jpg
Error.jpg

Satish Vijayan

unread,
Aug 13, 2018, 9:17:51 AM8/13/18
to iDempiere
This time you have the password for adempiere wrong. There are two users - Admin pwd (uid: Postgres) and database password (UID: adempiere)

I would recommend logging in to postgres through pgadmin 3 (UID: postgres). reset the pwd for UID: adempiere to something simple (pass123) and try again.
Message has been deleted

Dmitry Oxenenko

unread,
Aug 14, 2018, 1:25:47 AM8/14/18
to iDempiere
That's strange, I never changed the password for adempiere user. Changed it and looks like I'm finally in!!!

:):):)

Thanks everyone for your help!

Kuri Sammy

unread,
Apr 14, 2023, 6:06:47 AM4/14/23
to iDempiere
I am a newbie hoping in evaluate idempiere in a windows environment
 I am using postgresql 15 ,java 1.6.0.45, i have created database idempiere with user adempiere with password. I have installed the java 1.6.0.45. (I had to remove java 1.8.0 which was not recognised by the installer. the windows installer i am using is idempiere 2 x64 setu.exe.
I am stuck at testing with errors
1.  "JDBC connection (Database imported ? cannot connect to user adempiere/adempiere). this error come when database exists checkbox is ticked
2. " JDBC connecdtion ( error connectiing :jdbc:postgresql:Kurisc:5432/template1 - postgres/) when database exists checkbox is unticked

can someone help me ?

Carlos Antonio Ruiz Gomez

unread,
Apr 14, 2023, 7:08:57 AM4/14/23
to idem...@googlegroups.com
Hi Kuri Sammy,

Seems like you must be following a very obsolete guide.

The actual version of iDempiere requires java 11.

To install a development environment for iDempiere I would recommend you to follow this 8-part guide:

To test just for a quick testing of the capabilities (not development) maybe is better to install it using docker.

Regards,

Carlos Ruiz



Am 14.04.23 um 12:06 schrieb Kuri Sammy:

Kuri Sammy

unread,
Apr 14, 2023, 7:32:27 AM4/14/23
to idem...@googlegroups.com
i tried docker i was all thumbs and elbows !
let me seet the youtube .
but thanks

--
You received this message because you are subscribed to a topic in the Google Groups "iDempiere" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/idempiere/Whl70uvXq1M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/4e6dbe9e-ca90-e859-6ab9-18aee7ce5b03%40gmail.com.

Kuri Sammy

unread,
Apr 17, 2023, 1:39:34 PM4/17/23
to idem...@googlegroups.com
Hello,
I have gone thru the steps and can't go past the last step of creating roles and super user password. (adempiere/adempiere)

C:\Users\sammy>psql -U postgres -c "CREATE ROLE adempiere SUPERUSER LOGIN PASSWORD 'adempiere'"
psql: error: connection to server at "localhost" (::1), port 5432 failed: FATAL:  password authentication failed for user "postgres"

C:\Users\sammy>psql -U postgres
psql: error: connection to server at "localhost" (::1), port 5432 failed: FATAL:  password authentication failed for user "postgres"

when I check services i see postgresql running
when i check resource monitor , i see 2 instances of postgre.exe running port 5432 ( IPv4 and IPV6)
I am able to get pgadmin 4 running 
Kindly assist

On Fri, Apr 14, 2023 at 2:08 PM Carlos Antonio Ruiz Gomez <car...@gmail.com> wrote:
--
You received this message because you are subscribed to a topic in the Google Groups "iDempiere" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/idempiere/Whl70uvXq1M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.

Carlos Antonio Ruiz Gomez

unread,
Apr 17, 2023, 2:13:12 PM4/17/23
to idem...@googlegroups.com
Maybe you have a .pgpass or pgpass.conf file from where postgres is reading a wrong password?


Am 17.04.23 um 19:39 schrieb Kuri Sammy:

Kuri Sammy

unread,
Apr 18, 2023, 12:47:04 PM4/18/23
to idem...@googlegroups.com
Hi Carlos,
yes I had to clear passwords in edit variables, i guess from previous attempts at installing idempiere.
I managed to complete upto Part 8 of the guide however the server is not loading see screenshot.
Also when run eclipse (server product ) the logs noted that the system assumes version 11 is used and this is not the case. i am assuming idempiere for which i am using version 15. Could this be a problem ?  do i have to repeat the process using version 11 (i assume its idempiere it is relating to) 
Could you assist ?
ed56c389-e7af-4a90-ad61-7a5e3e35ef24.png

--
You received this message because you are subscribed to a topic in the Google Groups "iDempiere" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/idempiere/Whl70uvXq1M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.

Carlos Antonio Ruiz Gomez

unread,
Apr 19, 2023, 7:51:47 AM4/19/23
to idem...@googlegroups.com
Yes, the current version of iDempiere requires java 11.



Am 18.04.23 um 18:46 schrieb Kuri Sammy:
Hi Carlos,
yes I had to clear passwords in edit variables, i guess from previous attempts at installing idempiere.
I managed to complete upto Part 8 of the guide however the server is not loading see screenshot.
Also when run eclipse (server product ) the logs noted that the system assumes version 11 is used and this is not the case. i am assuming idempiere for which i am using version 15. Could this be a problem ?  do i have to repeat the process using version 11 (i assume its idempiere it is relating to) 
Could you assist ?


Kuri Sammy

unread,
Apr 19, 2023, 8:26:57 AM4/19/23
to idem...@googlegroups.com
Hi, 
Could you interpret the error log below , at run configuration> server product stage
kindly assist
image.png
!!SESSION Wed Apr 19 15:15:31 EAT 2023 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2023-04-19 15:15:31.299
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)SESSION Wed Apr 19 15:15:31 EAT 2023 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2023-04-19 15:15:31.299
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)!SESSION Wed Apr 19 15:15:31 EAT 2023 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2023-04-19 15:15:31.299
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1440)

--
You received this message because you are subscribed to a topic in the Google Groups "iDempiere" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/idempiere/Whl70uvXq1M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.

Carlos Antonio Ruiz Gomez

unread,
Apr 19, 2023, 8:58:02 AM4/19/23
to idem...@googlegroups.com
I have not seen that error before.

two things to verify:

1 - which eclipse version are you using?  I'm still running 2022-03, not sure if others are using fresher versions

2 - did the setup changed things?  Sometimes the setup process changes things in the repository and it needs to be reverted.

A screenshot of your eclipse can help maybe to understand.



Am 19.04.23 um 14:26 schrieb Kuri Sammy:
Hi, 
Could you interpret the error log below , at run configuration> server product stage
kindly assist

You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/CAK0MQ%2Bu97i0nBUxWRrcuzVBh2LfaFDxuw8A-YMmckg_LGNMyJA%40mail.gmail.com.


Kuri Sammy

unread,
Apr 19, 2023, 11:56:42 AM4/19/23
to idem...@googlegroups.com
I hope the screenshots help
image.png
image.png



image.png

Kuri Sammy

unread,
Apr 19, 2023, 11:59:24 AM4/19/23
to idem...@googlegroups.com
yes I was seeing responses of different from the guide... some components missing  ,errors etc

Heng Sin Low

unread,
Apr 20, 2023, 4:58:28 AM4/20/23
to idem...@googlegroups.com
If you are trying to setup an iDempiere Development environment with Eclipse:
- After many failed attempts, it is better to start with a fresh clone of iDempiere source
- Run "mvn verify" at the root folder of the clone source. Make sure this is completed without any errors.
- Note that if you have multiple JDK install on your pc, you should set JAVA_HOME environment variable pointing to JDK11 before you run "mvn verify"
- Follow the steps at https://wiki.idempiere.org/en/NF11_OOMPH_Import_Projects to setup your Eclispe workspace.

Kuri Sammy

unread,
Apr 20, 2023, 8:48:53 AM4/20/23
to idem...@googlegroups.com
Hello ,
I have tried to run mvn cmd and have found it contains errors.
let me try to correct the errors thhx

Reply all
Reply to author
Forward
0 new messages