Page 1 of 1

[SOLVED] Plugins not up-to-date

Posted: Fri Apr 14, 2017 11:45 pm
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?

Re: Plugins not up-to-date

Posted: Sat Apr 15, 2017 10:42 am
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

Re: Plugins not up-to-date

Posted: Sat Apr 15, 2017 12:35 pm
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.

Re: Plugins not up-to-date

Posted: Sun Apr 16, 2017 11:00 am
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.

[SOLVED] Plugins not up-to-date

Posted: Sun Apr 16, 2017 11:44 pm
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 ;-)