[SOLVED] Plugins not up-to-date

Found a bug? Tell us!!
Post Reply
erAck
Regular
Posts: 236
Joined: Mon Feb 16, 2015 1:20 am

[SOLVED] Plugins not up-to-date

Post by erAck »

After finding that the spamblock_bayes plugin wasn't upgraded for quite some time (see [SOLVED] Spamblock (Bayes) gives empty page since 2.1.1 thread) I compared versions of installed plugins with those listed at http://spartacus.s9y.org/ to find that several are not at the latest version. Update plugins doesn't do anything. Is there a way to force an update of all installed plugins or do I have to reinstall all by manually downloading and unzip? Anything to clean/purge? And any insights to why newer versions are not recognized?
Last edited by erAck on Sun Apr 16, 2017 11:45 pm, edited 1 time in total.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Plugins not up-to-date

Post by yellowled »

erAck wrote:Anything to clean/purge?
Easiest solution: clean out templates_c/, but leave the directory. That's where basically everything is cached in s9y. If you don't want to bust your whole cache, there are two package_*.xml files, those are for the plugin lists.

YL
erAck
Regular
Posts: 236
Joined: Mon Feb 16, 2015 1:20 am

Re: Plugins not up-to-date

Post by erAck »

yellowled wrote:two package_*.xml files
I already tried that, to no avail.

The problem seems to be that those files state older versions than available. For example

Code: Select all

<name>serendipity_event_dbclean</name>
<changelog>https://github.com/s9y/additional_plugins/blob/master/serendipity_event_dbclean/ChangeLog</changelog>
<release>
  <version>0.2.8</version>
  <date>2015-03-17</date>
...
Looking at https://github.com/s9y/additional_plugi ... /ChangeLog the latest release is 0.2.9 (with that commit of 2016-09-23) and also in https://github.com/s9y/additional_plugi ... bclean.php the function introspect() has $propbag->add('version', '0.2.9'); which seems to be used by emerge_spartacus.php in function load_plugin() but the version does not end up in the final .xml, whatever generates that has some hickups.
onli
Regular
Posts: 2825
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Plugins not up-to-date

Post by onli »

https://github.com/s9y/additional_plugi ... _event.xml looks good to me. Did you already set the spartacus mirror to github, both for the files itself and the xml? He definitely should find that file then.
erAck
Regular
Posts: 236
Joined: Mon Feb 16, 2015 1:20 am

[SOLVED] Plugins not up-to-date

Post by erAck »

Sigh.. yes, github.com works, s9y.org does not, and netmirror.org is down anyway, so github.com is the only working option.
Thanks for the hint to the obvious ;-)
Post Reply