netmirror.org down and plugins update and themes

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

netmirror.org down and plugins update and themes

Post by erAck » Fri Apr 14, 2017 12:52 pm

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?

thh
Regular
Posts: 232
Joined: Thu Oct 26, 2006 2:38 pm
Location: Stuttgart, Germany
Contact:

Re: netmirror.org down and plugins update and themes

Post by thh » Fri Apr 14, 2017 4:56 pm

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.

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

Re: netmirror.org down and plugins update and themes

Post by erAck » Fri Apr 14, 2017 8:56 pm

Ugh.. indeed, that works. One has to know..
Thanks.

Post Reply