iDempiere Installation Script for Ubuntu 14.04

1,165 views
Skip to first unread message

Chuck Boecking

unread,
Jun 10, 2014, 4:45:30 PM6/10/14
to idem...@googlegroups.com
Hi Everyone,

My installation iDempiere installation script has been updated to support Ubuntu 14.04LTS. Let me know if you have any trouble installing it. Please note that the current script no longer supports 12.04.


Regards,

Darryl Sullivan

unread,
Apr 2, 2015, 11:28:06 PM4/2/15
to idem...@googlegroups.com
Anyone had luck with this?

It hangs part way through each attempt somewhere after installing postgress.

Chuck Boecking

unread,
Apr 3, 2015, 8:01:56 AM4/3/15
to idem...@googlegroups.com
Hi Darryl,


Unfortunately, you can only run the script once. If it has been run more than once, the script will not work. 

Where are you installing it - AWS or Virtualbox? I would not bother trying to install it on your local machine.

Please send me the output.txt to ch...@chuboe.com, and I will take a look.


Regards,


Chuck Boecking
512.850.6068 (office and cell)
ch...@chuboe.com
ChuckBoecking.com
chuck.boecking (skype)

--
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/hFuktLBhB5U/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/02aca594-e4d8-4e6e-bcad-b0d6dd19a1d6%40googlegroups.com.

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

Darryl Sullivan

unread,
Apr 3, 2015, 9:09:34 AM4/3/15
to idem...@googlegroups.com
Hi Chuck,

I may not meet the min system requirements on second look.

running in Vbox but with lubuntu 14 (not ubuntu)

I've repurposed an old imc in the office as a test server. Id just doesn't have enough juice for unity

Cheers
Darryl


Chuck Boecking

unread,
Apr 3, 2015, 10:23:36 AM4/3/15
to idem...@googlegroups.com
Regarding older machines, while iDempiere will run on a 32 bit machine, the script assumes you are on a 64-bit machine.

You can always fire up an AWS instance. A t2.micro is free if you are new to AWS. It is about 1 cent USD per hour otherwise. You can get a day's worth of play time for about 10 cents :)

Copy and paste the following into the command prompt of a newly installed ubuntu server in AWS. iDempiere will magically appear in about 4 minutes.

sudo apt-get -y update; sudo apt-get -y install mercurial; hg clone https://bitbucket.org/cboecking/idempiere-installation-script; chmod 766 idempiere-installation-script/*.sh; ./idempiere-installation-script/idempiere_install_script_master_linux.sh -B -P CHANGEME -u ubuntu -l &>output.txt; nano /tmp/chuboe-idempiere-server/idempiere_installer_feedback.txt



Regards,


Chuck Boecking
512.850.6068 (office and cell)
ch...@chuboe.com
ChuckBoecking.com
chuck.boecking (skype)

Darryl Sullivan

unread,
Apr 3, 2015, 9:45:09 PM4/3/15
to idem...@googlegroups.com
Hi Chuck,

I found another machine and was able to instal a fresh ubuntu 64 OS on Vbox. Still getting the hanging error unfort.

Steps I performed:

1. created a Vbox instance 1.5gb ram 30gb hdd(fixed)
2. installed 64 ubuntu (desktop, need the gui for some other stuff)
3. installed guest additions
4. update and upgrade
5. run you script.

I've attached a screen shot for you. It has hung in the same spot as the original time I ran the script.

In saying all this, I'm not expecting anything of you :). I'm just interested not why it's not working. And getting mentally prepared for a manual
postgess install which is a pain on linux haha

Cheers
Darryl
 

Chuck Boecking

unread,
Apr 5, 2015, 8:48:31 AM4/5/15
to idem...@googlegroups.com
Hi Darryl,

I am happy to help. Please send me the output.txt to ch...@chuboe.com, and I will tell you why it is hanging. This file is located in the directory as where you launched the script. 

FYI - make sure you sudo is not timing out. (fix here). This is especially important if you have a slow internet.

Chuck

RAHSA

unread,
Mar 7, 2016, 9:19:02 AM3/7/16
to iDempiere
Hi Chuck,

I followed your script as listed and installed it on AWS Ubuntu 14.04LTS.  I believe the script executed successfully as I was able to verify that idempiere service was running when I issued the command service idempiere status.  But I was not able to access the system through the web by entering my AWS IP address followed by a colon then 8080/webui/.  I followed you script about a year ago also on a AWS instance and that exercise went well without any issues.  

Chuck Boecking

unread,
Mar 7, 2016, 9:43:43 AM3/7/16
to idem...@googlegroups.com
Hi,

A couple of things have changed with iDempiere and the script in the last year:
  • iDempiere now uses Jetty as the application server (appserver) and it does not allow non-local connections to port 8080 by default.
  • My script installs Apache as a reverse proxy to make iDempiere available on port 80. This is a good security feature to help protect the appserver (jetty).
This means that you should be able to access iDempiere direct from the IP: http://YourIP.com/ or http://YourIP.com/webui

Does this help?


Regards,


Chuck Boecking
512.850.6068 (office and cell)
ch...@chuboe.com
ChuckBoecking.com
chuck.boecking (skype)

--
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/hFuktLBhB5U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.

RAHSA

unread,
Mar 7, 2016, 9:59:39 PM3/7/16
to iDempiere
Hi Chuck,

Thank you very much. I'm now able to access the system after following your instructions.  My next question is if I want to install version 2.1 instead of 3.1, how do I do that with you existing scripts?  When I first installed Idempiere last year using your script, it was on version 2.1.  I now have some live data based on 2.1.

Regards.


On Wednesday, June 11, 2014 at 4:45:30 AM UTC+8, Chuck Boecking wrote:

Chuck Boecking

unread,
Mar 8, 2016, 8:33:13 AM3/8/16
to idem...@googlegroups.com
NIce! I would use the existing 3.1 system and upgrade your 2.1 data. Here are the instructions
  • Create a backup of your 3.1 system (/opt/idempiere-server/utils/RUN_DBExport.sh)
  • Rename your backup copy for future reference (mv /opt/idempiere-server/data/ExpDat.dmp ExpDat_pristine_31_20160308.dmp)
  • Move your 2.1 backup into /opt/idempiere-server/data/ExpDat.dmp
  • Restore your 2.1 data (/opt/idempiere-server/utils/RUN_DBRestore.sh)
  • Run the chuboe upgrade process (/opt/chuboe/idempiere-installation-script/utils/chuboe_idempiere_upgrade.sh -s) - the -s will skip the binary upgrade and just focus on the database. Your binaries are already up to date since the system was just installed. You should put the output to a file ( append "> filename.txt" to the end of the above command). This will give you the ability to review the results just in case things do not go as expected.
I hope this helps! I would love the chance to work with you in the ERP Academy (frequently asked questions).


Regards,


Chuck Boecking
512.850.6068 (office and cell)
ch...@chuboe.com
ChuckBoecking.com
chuck.boecking (skype)

--
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/hFuktLBhB5U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.
Message has been deleted
Message has been deleted

RAHSA

unread,
Apr 19, 2016, 8:07:12 AM4/19/16
to iDempiere
Dear Chuck,

I have upgraded my DB from 2.1 to 3.1 following your instructions above.  Do I follow the same steps to upgrade a 2.0 database to 3.1?

Regards.


On Wednesday, June 11, 2014 at 4:45:30 AM UTC+8, Chuck Boecking wrote:

Chuck Boecking

unread,
Apr 19, 2016, 9:11:15 AM4/19/16
to idem...@googlegroups.com
Yes; however, please note that 2.0 is as far back as the script will upgrade.

Chuck Boecking


Regards,


Chuck Boecking
512.850.6068 (office and cell)
ch...@chuboe.com
ChuckBoecking.com
chuck.boecking (skype)

--
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/hFuktLBhB5U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.

RAHSA

unread,
Oct 31, 2016, 6:19:53 AM10/31/16
to iDempiere
Dear Chuck,

On AWS, the option is now for Ubuntu version 16.04 LTS.  14.04 is no longer available. Will this script runs under that version as well?  Or will you release an update soon?

Chuck Boecking

unread,
Oct 31, 2016, 9:19:12 AM10/31/16
to idem...@googlegroups.com
Thank you for letting me know! I was waiting for them to switch. I will focus on upgrading my script this week.


Regards,


Chuck Boecking
512.850.6068 (office and cell)
ch...@chuboe.com
ChuckBoecking.com
chuck.boecking (skype)

To unsubscribe from this group and all its topics, send an email to idempiere+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/d786406d-e1ca-4694-ab21-feb1d3f97bd3%40googlegroups.com.

Chuck Boecking

unread,
Nov 2, 2016, 9:47:29 AM11/2/16
to idem...@googlegroups.com
Hi Everyone,

The current head now supports a simple installation (all in one) on ubuntu 16.04. I am working through testing all the features of the script (e.g. multi-server installation, db read replica, etc...). I will update you when the testing is complete.

FYI - I created a branch for 14.04 for those who have not made the switch to 16.04. 


Regards,


Chuck Boecking
512.850.6068 (office and cell)
ch...@chuboe.com
ChuckBoecking.com
chuck.boecking (skype)

Message has been deleted

Michael Klamerus

unread,
May 22, 2017, 10:58:12 AM5/22/17
to iDempiere
Dear Chuck,

I am using the newest version of the script and I seem to be running into an issue. I can run the script and it seems to work fine, and I can visit the site. But whenever I try to access any of the forms in the webui to do something like add a new user or product I get the following error:

org.postgresql.util.PSQLException: ERROR: relation "ad_postit" does not exist
Position: 26[SQL: 0, 42P01]

Any ideas what could be causing this? I am trying to install it on a local machine so I can try idempiere out. Should I just be able to run the run the command on the quick start page after I have ubuntu installed?

Marco Longo

unread,
May 22, 2017, 1:40:22 PM5/22/17
to iDempiere
You need to run an update of the Database .[syncapplied]
Marco

Chuck Boecking

unread,
May 22, 2017, 7:20:40 PM5/22/17
to idem...@googlegroups.com
Hi Michael,

I agree with Marco that an the system needs an update; however, The script runs a SQL update as part of the installation. Can you send me the output.txt in your home folder so that I may see what happened?


Regards,


Chuck Boecking
512.850.6068 (office and cell)
ch...@chuboe.com
ChuckBoecking.com
chuck.boecking (skype)

--
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/hFuktLBhB5U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages