Are the update mirrors down?

I have been trying for about an hour now and I get an error saying Warning: Error retrieving updates from online repository(s) (http://mirror1.freepbx.org,http://mirror2.freepbx.org). Online modules are not available. I can ping google.com and other servers from a ssh console, so I know my internet connection and dns are fine.

Both mirrors are up.

We don’t allow pings.

You have to browse via the modules directory: http://mirror2.freepbx.org/modules

I had the same issue. Tracked it down to a value in the database that’s not being tokenised correctly.

A quick fix for the issue (which doesn’t require changes to the code) is by running the following command against the asterisk database.

UPDATE freepbx_settings SET value = ‘http://mirror1.freepbx.org’ WHERE keyword = ‘MODULE_REPO’;

can you please explain me how to run the “UPDATE freepbx_settings SET value = ‘http://mirror1.freepbx.org’ WHERE keyword = ‘MODULE_REPO’;” command against the database??

wdpbx,

can you please provide a bit more information of the issue you saw and if appropriate file a ticket.

Doing what you described is really bad advice to users and can easily corrupt a system. Furthermore, doing that will break the ability to hit the backup server mirror2 if mirror1 is down so what you are telling people here will break systems.

If there is a bug then we need to fix it properly but need to know what you had in the system. There have been a lot of upgrades (in the thousands) so I’m guessing there may be a localized issue but to really determine need more information.

Thanks.

p.s. the following code is part of the rc1 migration that should have set this to the proper dual server value:

[php]

<?php $freepbx_conf =& freepbx_conf::create(); // add second repo if ($freepbx_conf->conf_setting_exists('MODULE_REPO') && $amp_conf['MODULE_REPO'] == 'http://mirror.freepbx.org') { $freepbx_conf->set_conf_values(array('MODULE_REPO' => 'http://mirror1.freepbx.org,http://mirror2.freepbx.org'), true); } [/php]

Hi,

I am beginner to Linux and as well as PBX. As understand you are advising to change the envirnment variable. Can you please give us the step by step instructions for this procedure?

Or is there any other simple method for this?

I installed FreePBx successfully and I am able to regiter 3CX client using my PBX. I am able to dial both phones but there is no RTP(audio) in the call. Probable it may get fix by updating all the modules on PBX.

Please help.

Regards,
Usha.

Hi,

I am beginner to Linux and as well as PBX. As understand you are advising to change the envirnment variable. Can you please give us the step by step instructions for this procedure?

Or is there any other simple method for this?

I installed FreePBx successfully and I am able to regiter 3CX client using my PBX. I am able to dial both phones but there is no RTP(audio) in the call. Probable it may get fix by updating all the modules on PBX.

Please help.

Regards,
Usha.

Do not hijack other users posts.

Updating modules will not fix NAT issues.

Search for FreePBX/SIP/NAT google, thousands upon thousands of threads. Common problem when you don’t read the documentation.