Page 1 of 1

netmirror.org down and plugins update and themes

Posted: Fri Apr 14, 2017 12:52 pm
by erAck
Since a few days http://netmirror.org/ is down so admin menus Plugins -> Update plugins (or install) and Themes don't work. To solve I edited

Code: Select all

plugins/serendipity_event_spartacus/serendipity_event_spartacus.php
where in

Code: Select all

function &getMirrors()
there's

Code: Select all

        static $http = array(
            'xml' => array(
                ...
            'files' => array(
                ...
            'files_health' => array(
                ...
where in each is a netmirror.org entry first. For each I moved the already existing s9y.org entry to the first position and now updating plugins and themes works.

In case it helps someone else..

But, I found that only through grep netmirror.org and editing installation files isn't possible for everyone, shouldn't there be other means to change the order? Or even all entries of the arrays be tried?

Re: netmirror.org down and plugins update and themes

Posted: Fri Apr 14, 2017 4:56 pm
by thh
erAck wrote:Since a few days http://netmirror.org/ is down so admin menus Plugins -> Update plugins (or install) and Themes don't work.

[...]
But, I found that only through grep netmirror.org and editing installation files isn't possible for everyone, shouldn't there be other means to change the order?
You can change the mirror in the Spartacus plugin configuration: go to "Plugins" in the "Settings" area of the backend menu, click on the "Event Plugins" button and look for the "Spartacus" plugin. Click on the configuration button (cockwheels icon) and change "File/Mirror location (XML metadata)" and "File/Mirror location (files)" to "github.com". Save your changes, and you're done.

You shouldn't (need to) change the files.

Re: netmirror.org down and plugins update and themes

Posted: Fri Apr 14, 2017 8:56 pm
by erAck
Ugh.. indeed, that works. One has to know..
Thanks.