https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292014-07-21T07:46:29ZRedmineRedmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=576572014-07-21T07:46:29ZIvan Rapekas
<ul></ul><p>I am sorry, I cannot find where I should write.</p>
<p>I have installed v2.5.2, when checking for plugin updates, I get an error:<br /><pre>
Request-URI Too Large
The requested URL's length exceeds the capacity limit for this server.
Apache Server at 46.4.36.71 Port 80
</pre></p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=576582014-07-21T07:48:04ZIvan Rapekas
<ul><li><strong>File</strong> <a href="/attachments/12043">firebug_console_ansi.txt</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/12043/firebug_console_ansi.txt">firebug_console_ansi.txt</a> added</li></ul><p>Ivan Rapekas wrote:</p>
<blockquote>
<p>I am sorry, I cannot find where I should write.</p>
<p>I have installed v2.5.2, when checking for plugin updates, I get an error:<br />[...]</p>
</blockquote>
<p>Log is attached.</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=576592014-07-21T07:48:49ZTobias Fischer
<ul></ul><p>You have to open a new ticket... This is the wrong place!!!!</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=583822014-09-01T20:29:34ZEtienne Massip
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/3177">Feature #3177</a>: Add "Check for updates" functionality to installed plugins</i> added</li></ul> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=584182014-09-04T18:17:58ZAnonymous
<ul></ul><p>I'm running 2.5.2 (Bitnami stack if that matters), but I don't see any sort of upgrade functionality or notices as per the screenshot above. I've tried with all the default themes and two custom, but I get nothing. I don't see any way to enable or configure it either.. Am I missing something here?</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=584202014-09-04T19:50:40ZTobias Fischer
<ul></ul><p>Etienne, after you added the relation to <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Add "Check for updates" functionality to installed plugins (Closed)" href="https://www.redmine.org/issues/3177">#3177</a> I re-checked my plugins and it seems, this only happens for plugins where the redmine plugin repo entry says that it won't work with whatever redmine version I have currently installed. So there is no callback to the plugin check at all in this case...</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=584212014-09-04T19:51:29ZTobias Fischer
<ul></ul><p>Andre Greeff wrote:</p>
<blockquote>
<p>I'm running 2.5.2 (Bitnami stack if that matters), but I don't see any sort of upgrade functionality or notices as per the screenshot above. I've tried with all the default themes and two custom, but I get nothing. I don't see any way to enable or configure it either.. Am I missing something here?</p>
</blockquote>
<p>You should see a "check for updates" link at the bottom left of the plugins page...</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=584222014-09-04T20:26:40ZEtienne Massip
<ul></ul><p>Tobias Fischer wrote:</p>
<blockquote>
<p>Etienne, after you added the relation to <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Add "Check for updates" functionality to installed plugins (Closed)" href="https://www.redmine.org/issues/3177">#3177</a> I re-checked my plugins and it seems, this only happens for plugins where the redmine plugin repo entry says that it won't work with whatever redmine version I have currently installed. So there is no callback to the plugin check at all in this case...</p>
</blockquote>
<p>Do you mean there's no issue ? I checked the code and it looks fine to me, the tick should not be displayed only when the redmine repository find no compatible version at all.</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=584232014-09-04T20:32:52ZTobias Fischer
<ul></ul><p>Etienne Massip wrote:</p>
<blockquote>
<p>Do you mean there's no issue ? I checked the code and it looks fine to me, the tick should not be displayed only when the redmine repository find no compatible version at all.</p>
</blockquote>
<p>Yeah, that probably was my intention when I wrote the ticket. I was confused that there wouldn't appear a tick or any icon at all, even though the plugin is available in the redmine repository.<br />After digging into it 2 days ago, I wouldn't call it a defect anymore, but it could be an enhancement to somehow make clear that the plugin is in the redmine repository but isn't tested with the users redmine version.</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=584242014-09-04T20:34:28ZTobias Fischer
<ul></ul><p>It would be enough to add kind of a warning icon with a tooltip notice "not officialy supported for your redmine version" in the same way the question mark icon has a tooltip "unknown plugin".</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=586842014-09-15T20:38:29ZAnonymous
<ul></ul><p>Tobias Fischer wrote:</p>
<blockquote>
<p>You should see a "check for updates" link at the bottom left of the plugins page...</p>
</blockquote>
<p>Thanks for pointing that out, completely missed that link.. Also just saw that cut off a bit at the bottom in the screenshot you posted. :) My apologies for the delay in getting back to you, had a ton on my plate lately, so I only got to look at it again this evening.</p>
<p>It appears to be partially working for me, but up to date plugins don't get a green tick and outdated/unknown extensions are marked appropriately. I also get a popup message each time I check for updates to say <code>"Unable to retrieve plugin informations from www.redmine.org"</code> along with an <code>"Uncaught TypeError: undefined is not a function"</code> in my Chrome console (Windows 7 OS, if that makes a difference here).</p>
<p>Each plugin's <code>td.version > a > span</code> element does get the appropriate <code>.found</code> or <code>.unknown</code> class assigned, but the only icon classes that seem to be added are either <code>icon-warning</code> or <code>icon-help</code>.</p>
<p>Unfortunately I have a few other things to deal with at the moment, but hopefully I'll get a chance to dig into it a bit more in a few days. Not sure if the problem I'm having is the same as this one or not, so at that point I'll either leave a message on this issue or log a new one depending on what I find.</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=586972014-09-16T07:48:12ZTobias Fischer
<ul></ul><p>Andre Greeff wrote:</p>
<blockquote>
<p>I also get a popup message each time I check for updates to say <code>"Unable to retrieve plugin informations from www.redmine.org"</code> along with an <code>"Uncaught TypeError: undefined is not a function"</code> in my Chrome console (Windows 7 OS, if that makes a difference here).</p>
</blockquote>
<p>Cannot reproduce that on Windows 7 with latest Chrome with no extensions enabled.</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=586982014-09-16T08:15:25ZAnonymous
<ul></ul><p>Tobias Fischer wrote:</p>
<blockquote>
<p>Andre Greeff wrote:</p>
<blockquote>
<p>I also get a popup message each time I check for updates to say <code>"Unable to retrieve plugin informations from www.redmine.org"</code> along with an <code>"Uncaught TypeError: undefined is not a function"</code> in my Chrome console (Windows 7 OS, if that makes a difference here).</p>
</blockquote>
<p>Cannot reproduce that on Windows 7 with latest Chrome with no extensions enabled.</p>
</blockquote>
<p>It may be due to the plugins I have, to be honest I didn't see the point in testing the "check for updates" link without any plugins installed.. This was in my test VM at home (I'm at work at the moment), so I'll check a few things this evening if I get a chance.</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=586992014-09-16T08:19:00ZTobias Fischer
<ul></ul><p>Andre Greeff wrote:</p>
<blockquote>
<p>to be honest I didn't see the point in testing the "check for updates" link without any plugins installed.</p>
</blockquote>
<p>Read my post. I didn't wrote "with no plugins installed" – I wrote "Chrome with no extensions enabled".<br />This means I tested on a plain chrome browser with no chrome addons enabled.</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=587002014-09-16T08:25:51ZAnonymous
<ul></ul><p>Tobias Fischer wrote:</p>
<blockquote>
<p>Andre Greeff wrote:</p>
<blockquote>
<p>to be honest I didn't see the point in testing the "check for updates" link without any plugins installed.</p>
</blockquote>
<p>Read my post. I didn't wrote "with no plugins installed" – I wrote "Chrome with no extensions enabled".<br />This means I tested on a plain chrome browser with no chrome addons enabled.</p>
</blockquote>
<p>Apologies, I misread that part. While that might possibly apply to the console error I got, I don't see how it would apply to the popup message, which seems to come from the update function itself. Either way, I can't check any of this right now since I don't have that VM with me.</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=587172014-09-16T17:49:11ZAnonymous
<ul></ul><p>Strange.. I just tested the "Check for updates" link in a vanilla Chrome and I didn't get the alert message or the console error. Double checked in my standard browser (as I did previously) and again, no alert or error. Not sure what happened there, perhaps I had something cached in my browser that was causing issues and a restart cleared it..? It was going on 11pm when I posted that message.</p>
<p>So you can disregard my statement in comment 11 above; I don't have any errors checking for updates. :)</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=595712014-11-03T14:54:15ZJelly frog
<ul></ul><p>One problem is if you have your Trac on ssl you can't do a JSONP request against <a class="external" href="http://www.redmine.org/plugins/check_updates">http://www.redmine.org/plugins/check_updates</a>?... <br />So server-admin need to enable ssl for <a class="external" href="http://www.redmine.org">www.redmine.org</a> and change the function to use the correct protocol.</p> Redmine - Defect #16794: plugin update check not working correctlyhttps://www.redmine.org/issues/16794?journal_id=602162014-12-03T07:14:41ZToshi MARUYAMA
<ul></ul><p>Jelly frog wrote:</p>
<blockquote>
<p>One problem is if you have your Trac on ssl you can't do a JSONP request against <a class="external" href="http://www.redmine.org/plugins/check_updates">http://www.redmine.org/plugins/check_updates</a>?... <br />So server-admin need to enable ssl for <a class="external" href="http://www.redmine.org">www.redmine.org</a> and change the function to use the correct protocol.</p>
</blockquote>
<p>This is fixed by <a class="issue tracker-1 status-5 priority-5 priority-high2 closed" title="Defect: Plugin update check not working if redmine is viewed over https (Closed)" href="https://www.redmine.org/issues/17722">#17722</a>.</p>