Where is update.sh ?

363 views
Skip to first unread message

Nicolas Micoud

unread,
Nov 8, 2017, 10:14:29 AM11/8/17
to iDempiere
Hi,

I've installed the 5.1 version yesterday and i wanted to update today with latest commits.
I used to do it using :

update.sh http://<path_to_my_jenkins_server>/myIdempiere.p2

But the file is missing (related to https://idempiere.atlassian.net/browse/IDEMPIERE-3353)

But i don't understand how it works :( And I don't find a page on the wiki.

Is it still possible to update a instance through a single command line ?

Thanks,

Nicolas


Message has been deleted

Nicolas Micoud

unread,
Nov 9, 2017, 9:46:59 AM11/9/17
to iDempiere
I found out why the update.sh was missing.

I use the generated installer from my jenkins and the Buckminster command was not updated to reflect recent changes.
Now on the installer i have update.sh

But... I'm still unable to use it to update my instance.
Attached is the log, the issue seems to be related to a conflict between 2 versions of a same package (org.eclipse.equinox.p2.director).
But I don't understand why as it's the same jenkins instance which compiles the zip and the files for p2 site.

Any idea ?

Thanks,

Nicolas
1510238034740.log

Nicolas Micoud

unread,
Nov 10, 2017, 6:06:20 AM11/10/17
to iDempiere
I compiled a new version this morning (on p2 site) and tried to update the instance.
Got same error messages :



Installing org.adempiere.server.product 5.1.0.qualifier.
Installing org.eclipse.equinox.p2.director 2.3.300.v20160504-1450.
Installing org.idempiere.fitnesse.feature.group 5.1.0.v20171110-1049.
Installing org.idempiere.equinox.p2.director.feature.group 5.1.0.v20171110-1049.
Installation failed.
Cannot complete the install because of a conflicting dependency.
 
Software being installed: Idempiere P2 Director 5.1.0.v20171110-1049 (org.idempiere.equinox.p2.director.feature.group 5.1.0.v20171110-1049)
 
Software currently installed: Idempiere P2 Director 5.1.0.v20171109-1359 (org.idempiere.equinox.p2.director.feature.group 5.1.0.v20171109-1359)
 
Only one of the following can be installed at once:
 
Idempiere P2 Director 5.1.0.v20171109-1359 (org.idempiere.equinox.p2.director.feature.jar 5.1.0.v20171109-1359)
 
Idempiere P2 Director 5.1.0.v20171110-1049 (org.idempiere.equinox.p2.director.feature.jar 5.1.0.v20171110-1049)
 
Cannot satisfy dependency:
 
From: Idempiere P2 Director 5.1.0.v20171109-1359 (org.idempiere.equinox.p2.director.feature.group 5.1.0.v20171109-1359)
 
To: org.idempiere.equinox.p2.director.feature.jar [5.1.0.v20171109-1359]
 
Cannot satisfy dependency:
 
From: Idempiere P2 Director 5.1.0.v20171110-1049 (org.idempiere.equinox.p2.director.feature.group 5.1.0.v20171110-1049)
 
To: org.idempiere.equinox.p2.director.feature.jar [5.1.0.v20171110-1049]

AFAIU, the update script try to install new version of org.idempiere.equinox.p2.director.feature.jar (5.1.0.v20171110-1049) whereas old (5.1.0.v20171109-1359) has not been removed.
Should I do customization to a config file ?

Thanks,

Nicolas

Pedro Rozo

unread,
Nov 12, 2017, 3:04:22 AM11/12/17
to iDempiere
Hi Everyone,

After updating to the latest 4.1 version (not 5.1).. I see that there is not update.sh anymore (just inside the director plugin).... is there any new suggestions/rules/instructions to run the server-to-repository (p2) updates ?

Regards

Pedro R

Hiep Lq

unread,
Nov 28, 2017, 8:58:09 PM11/28/17
to iDempiere
Reply all
Reply to author
Forward
0 new messages