bug #7079
closedP2 updates not found
100%
Description
The behavior of the automatic update is somewhat undeterministic: On some systems it works and on some it doesn't. There are even cases where only the nightly update or only the stable update works.
We have to investigate how to deterministically reproduce the problem.
P2 caches update information. This could also be a problem.
p2 cache¶
The p2 cache is located in the Taxeditor installation folder at ./p2/org.eclipse.equinox.p2.repository/cache
this folder contains a file with a cryptic name. In my case it is named -622154754
. This file is an xz
archive, which seems to have the same content as the content.xml.xz
in the p2 download site. Maybe this is exactly the file which has been downloaded from the update site.
repeating description of #5061 which has been set as duplicate of this issue:
This may be due to http://eclipsesource.com/blogs/2012/08/31/reloading-your-p2-cache/
We can solve this problem by simply forcing a reload of the p2 caches always before the update check, but first we need to confirm that this is indeed the problem.
This can be checked by choosing Preferences -> Install / Update -> Available Software Sites. Then select the nightly site and click reload. If this works then it should be the cache that is causing the problem.
Files
Related issues
Updated by Andreas Kohlbecker over 6 years ago
- File wireshark-screenshot.png wireshark-screenshot.png added
Hallo,
ich habe mir das geupdate des Editors in der develop version mal im wireshark angesehen:
Es sieht so aus als würde der taxeditor nach dem 2ten redirect einfach nicht weiter machen .
Andreas
Updated by Andreas Müller over 6 years ago
- Related to feature request #4452: p2 update problem with nebula compositetable dependency added
Updated by Andreas Müller over 6 years ago
- Related to bug #5430: P2 update of Taxonomic Editor bundled with JRE does not work added
Updated by Andreas Müller over 6 years ago
Patrick, could you please check if #5061 and this ticket are duplicates?
Updated by Patrick Plitzner about 6 years ago
- Related to feature request #7076: Add Nebula CompositeTable as direct dependency added
Updated by Andreas Kohlbecker about 6 years ago
Es sieht so aus als würde der taxeditor nach dem 2ten redirect einfach nicht weiter machen .
Sorry, das war quatsch, der redirect geht auf einen URL mit dem HTTPS Protokol, das bedeutet. Ab diesem Punkt ist die Kommunikation per SSL oder TSL verschlüsslt, daher erfasst der HTTP filter in wireshark den Traffic nicht mehr. Um auch den verschlüsselten Traffic analysieren zu können, muss er in wireshark entschlüsslelt werden. Wie das geht steht hier beschrieben: https://blog.stalkr.net/2010/03/codegate-decrypting-https-ssl-rsa-768.html
Updated by Andreas Kohlbecker about 6 years ago
Ich habe testweise den redirect auf https im server deaktiviert und das update hat prompt geklappt.
@patrick: Steht in der eclipse Dokumentation zu den update sites etwas https, ssl oder tsl? Gibt es in diesem Zusammenhang bekannte Probleme?
Ich habe versucht die update site aus dem redirect explizit aus zu schließen, hatte aber bislang keinen Erfolg damit.
Updated by Patrick Plitzner about 6 years ago
Ah, das ist ja interessant. Weiß nicht, ob dort etwas steht, aber ich werde mal schauen.
Updated by Andreas Kohlbecker about 6 years ago
ich habe den redirect auf https wieder deaktiviert, so dass die updates für nightly wieder funktionieren müssen.
Es werden aber keine Upadates gefunden.
wie in wireshark zu sehen ist holt sich der editor die content.xml.xz
und bricht dann ab:
ein cache problem? oder unterscheiden sich die content.xml.xz
der nightly build einfach nicht?
dies ist die aktuelle content.xml.xz: content-2018-02-15_16-26.xml.xz
Updated by Andreas Kohlbecker about 6 years ago
Updated by Andreas Kohlbecker about 6 years ago
nach dem "reload" wie in #5061 empfohlen wird wesentlich mehr von der Update site herunter geladen:
Aber noch immer "No updates found!"
Auch nach einen Neutstart des Editors keine Veränderung.
Updated by Andreas Kohlbecker about 6 years ago
ich habe den redirect auf https wieder aktiviert
Updated by Andreas Kohlbecker about 6 years ago
- Description updated (diff)
supplying some more details to the issue description ...
Updated by Andreas Kohlbecker about 6 years ago
test:
1 . deleted exiting ./p2/org.eclipse.equinox.p2.repository/cache/-622154754
file which had the md5 sum: 0c798397f7bd1a77065d591075b195fa
- trying update ... no updates found
- the
./p2/org.eclipse.equinox.p2.repository/cache/-622154754
has been restored and has been obviously been updated, it has a new md5 sum:20d10682041b1bde580ba4700e139cce
which exactly matches thecontent.xml.xz
file in the update site. This finding supports the observations made with wireshark.
Updated by Andreas Kohlbecker about 6 years ago
- Related to bug #7279: p2 sites are extremely huge added
Updated by Andreas Kohlbecker about 6 years ago
something extremely interesting happened:
After deleting and recreating the taxeditor/update/nightly
folder the update suddenly worked, see #7279.
Maybe the update sizes contain old files which confuse the p2 update manager?
Updated by Patrick Plitzner about 6 years ago
- Status changed from New to Resolved
- Assignee changed from Patrick Plitzner to Andreas Kohlbecker
- Target version changed from Unassigned CDM tickets to Release 5.0
- % Done changed from 0 to 50
By clearing the update site with every build (#7279) This issue seems to be solved.
Updated by Andreas Kohlbecker almost 6 years ago
we need to review and test this once again after the release 4.15 to sure it is fixed.
Updated by Andreas Müller almost 6 years ago
- Status changed from Resolved to Feedback
- Assignee changed from Andreas Kohlbecker to Patrick Plitzner
It looks like nightly update does not work anymore in 5.1-Snapshot
Updated by Patrick Plitzner over 5 years ago
- Assignee changed from Patrick Plitzner to Andreas Kohlbecker
The update did not work for after the release because of a wrong version tag due to the manual update script.
This has already been fixed with taxeditor|9fb97d484e04342323e25b786819acebc94289de and has already been tested.
@Andreas K.: Can you test this again. But you need to have a downloaded nightly build after this commit.
Updated by Andreas Kohlbecker over 5 years ago
- Assignee changed from Andreas Kohlbecker to Patrick Plitzner
Patrick Plitzner wrote:
@Andreas K.: Can you test this again. But you need to have a downloaded nightly build after this commit.
Updating the version 5.1.0.201806110837 to the latest nightly build 5.1.0.201806251348 worked for me
Updated by Patrick Plitzner over 5 years ago
- Status changed from Feedback to Closed
- % Done changed from 50 to 100
Updated by Andreas Müller over 3 years ago
- Related to feature request #9118: Change p2 update site to https in Taxeditor added
Updated by Andreas Kohlbecker over 3 years ago
- Tags changed from eclipse-p2 to eclipse-p2