[SOLVED] Plugins not up-to-date

Found a bug? Tell us!!
Post Reply
User avatar
erAck
Regular
Posts: 47
Joined: Mon Feb 16, 2015 2:20 am

[SOLVED] Plugins not up-to-date

Post by erAck » Fri Apr 14, 2017 11:45 pm

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.

User avatar
yellowled
Regular
Posts: 6924
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: Plugins not up-to-date

Post by yellowled » Sat Apr 15, 2017 10:42 am

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
amazon Wishlist - Serendipity-Podcast (German only, sorry)

User avatar
erAck
Regular
Posts: 47
Joined: Mon Feb 16, 2015 2:20 am

Re: Plugins not up-to-date

Post by erAck » Sat Apr 15, 2017 12:35 pm

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.

User avatar
onli
Regular
Posts: 2146
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Plugins not up-to-date

Post by onli » Sun Apr 16, 2017 11:00 am

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.

User avatar
erAck
Regular
Posts: 47
Joined: Mon Feb 16, 2015 2:20 am

[SOLVED] Plugins not up-to-date

Post by erAck » Sun Apr 16, 2017 11:44 pm

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