Activate FreePBX on raspberry pi

freepbx
Tags: #<Tag:0x00007f702dd8d2a0>

(Suriname) #1

Hi,

i have installed raspbx on a raspberry pi 4. In this raspbx is Asterisk 16.6.1 &amp and FreePBX 15.0.16.22 included. The issue is that I cannot perform updates of the modules because it is not activated. And I am not seeing the sys admin module from where I can activate the Freepbx. Can anyone help me with this? How can I activate this version?

regards,
Renoeka


(Lorne Gaetz) #2

PBX module updates require neither activation nor System Admin.

System Admin is a commercial module, and like all commercial modules is not supported on any non-FreePBX distro platforms.


(Suriname) #3

@lgaetz thank you for this information. Does this mean that i cannot update the system modules in the tab of Updates -> System?
And one more thing, i could not get connected to the repositry? I thought because the pbx is not activated?


(Suriname) #4

can you please help me?


(Lorne Gaetz) #5

I already did, you can’t use commercial modules.


(Lorne Gaetz) #6

Module Admin wiki:
https://wiki.freepbx.org/display/FPG/Module+Admin+User+Guide


(Suriname) #7

Yes I understand that, but I can now not updat the modules. i am getting the following warning:
“Cannot connect to online repository(s) (https://mirror.freepbx.org). Online modules are not available”.

I thought this was because of the activation. But the issue is something else. How can I solve this issue then?


#8

At a shell prompt in FreePBX, type
curl https://mirror.freepbx.org
the expected response is
False
If you get an error or something else, you have a networking problem. In that case, try accessing
https://mirror.freepbx.org
from your web browser, to see whether the problem is with the Pi or on your network.


(Suriname) #9

I cannot access it through the browser. i get that it is false


(Suriname) #10

Stewart what do you suggest to do in order to get this issue solved?


#11

What is the output of
fwconsole ma listonline


(Suriname) #12

@Stewart1 this is the output :

No repos specified, using: [standard] from last GUI settings+------------------+------------+---------------------------------------------+------------+
| Module           | Version    | Status                                      | License    |
+------------------+------------+---------------------------------------------+------------+
| amd              |            | Not Installed (Available online: 15.0.2)    | GPLv3+     |
| announcement     | 15.0.3.9   | Newer than online version (15.0.3.6)        | GPLv3+     |
| api              |            | Not Installed (Available online: 15.0.3.6)  | AGPLv3+    |
| arimanager       | 15.0.3.6   | Newer than online version (15.0.3.3)        | GPLv3+     |
| asteriskinfo     | 15.0.5     | Newer than online version (15.0.4.1)        | GPLv3+     |
| backup           | 15.0.8.66  | Newer than online version (15.0.8.61)       | GPLv3+     |
| blacklist        |            | Not Installed (Available online: 15.0.2.6)  | GPLv3+     |
| builtin          |            | Enabled; Not available online               |            |
| bulkhandler      |            | Not Installed (Available online: 13.0.15)   | GPLv3+     |
| calendar         |            | Not Installed (Available online: 15.0.4.6)  | GPLv3+     |
| callforward      |            | Not Installed (Available online: 15.0.8)    | AGPLv3+    |
| callrecording    | 15.0.7.10  | Newer than online version (15.0.7.8)        | AGPLv3+    |
| callwaiting      |            | Not Installed (Available online: 15.0.4.1)  | GPLv3+     |
| cdr              | 15.0.15    | Newer than online version (15.0.11)         | GPLv3+     |
| cel              |            | Not Installed (Available online: 15.0.11)   | GPLv3+     |
| certman          |            | Not Installed (Available online: 15.0.10)   | AGPLv3+    |
| cidlookup        |            | Not Installed (Available online: 15.0.7)    | GPLv3+     |
| conferences      | 15.0.7.4   | Newer than online version (15.0.6.5)        | GPLv3+     |
| contactmanager   |            | Not Installed (Available online: 15.0.8.9)  | GPLv3+     |
| core             | 15.0.9.48  | Newer than online version (15.0.9.44)       | GPLv3+     |
| customappsreg    | 15.0.13    | Newer than online version (15.0.11)         | GPLv3+     |
| dashboard        | 15.0.3     | Newer than online version (15.0.1.1)        | AGPLv3+    |
| daynight         |            | Not Installed (Available online: 15.0.7)    | GPLv3+     |
| directory        |            | Not Installed (Available online: 15.0.12)   | GPLv3+     |
| donotdisturb     |            | Not Installed (Available online: 15.0.5)    | GPLv3+     |
| fax              |            | Not Installed (Available online: 15.0.13)   | GPLv3+     |
| featurecodeadmin | 13.0.6.4   | Enabled and up to date                      | GPLv3+     |
| filestore        | 15.0.3.4   | Newer than online version (15.0.3.3)        | AGPLv3     |
| findmefollow     |            | Not Installed (Available online: 15.0.13)   | GPLv3+     |
| firewall         |            | Not Installed (Available online: 15.0.3)    | AGPLv3+    |
| framework        | 15.0.16.22 | Enabled and up to date                      | GPLv2+     |
| hotelwakeup      |            | Not Installed (Available online: 15.0.5.1)  | GPLv2      |
| iaxsettings      | 15.0.6     | Newer than online version (15.0.5)          | AGPLv3     |
| infoservices     | 15.0.2     | Enabled and up to date                      | GPLv2+     |
| ivr              | 15.0.21    | Newer than online version (15.0.14)         | GPLv3+     |
| logfiles         | 13.0.10.7  | Enabled and up to date                      | GPLv3+     |
| manager          | 15.0.7     | Newer than online version (15.0.5)          | GPLv2+     |
| music            | 15.0.17    | Newer than online version (15.0.11)         | GPLv3+     |
| outroutemsg      |            | Not Installed (Available online: 15.0.7)    | GPLv3+     |
| paging           |            | Not Installed (Available online: 15.0.4.10) | GPLv3+     |
| parking          |            | Not Installed (Available online: 15.0.9)    | GPLv3+     |
| pinsets          |            | Not Installed (Available online: 15.0.1.6)  | GPLv3+     |
| pm2              | 15.0.3.7   | Newer than online version (15.0.3.6)        | AGPLv3+    |
| presencestate    |            | Not Installed (Available online: 15.0.5)    | GPLv3+     |
| printextensions  |            | Not Installed (Available online: 13.0.3.2)  | GPLv3+     |
| queues           | 15.0.15    | Newer than online version (15.0.9)          | GPLv2+     |
| recordings       | 15.0.3.9   | Newer than online version (15.0.3.4)        | GPLv3+     |
| ringgroups       | 15.0.11.4  | Newer than online version (15.0.11)         | GPLv3+     |
| setcid           |            | Not Installed (Available online: 15.0.4)    | GPLv3+     |
| sipsettings      | 15.0.6.16  | Newer than online version (15.0.6.7)        | AGPLv3+    |
| sipstation       |            | Not Installed (Available online: 15.0.4.2)  | Commercial |
| sms              |            | Not Installed (Available online: 15.0.3)    | Commercial |
| soundlang        | 15.0.5.6   | Newer than online version (15.0.4.1)        | GPLv3+     |
| timeconditions   |            | Not Installed (Available online: 15.0.12)   | GPLv3+     |
| ttsengines       |            | Not Installed (Available online: 15.0.4.3)  | AGPLv3     |
| ucp              |            | Not Installed (Available online: 15.0.6.3)  | AGPLv3+    |
| userman          |            | Not Installed (Available online: 15.0.8.2)  | AGPLv3+    |
| vmblast          |            | Not Installed (Available online: 15.0.11)   | GPLv3+     |
| voicemail        | 15.0.18.8  | Newer than online version (15.0.17.5)       | GPLv3+     |
| weakpasswords    |            | Not Installed (Available online: 13.0.2)    | GPLv3+     |
| webrtc           |            | Not Installed (Available online: 15.0.5)    | GPLv3+     |
+------------------+------------+--------------------------------------------

#13

Sorry, I don’t understand why you are seeing old versions. I’d expect that if the repo access were failing, you’d just get an error, unless for some strange reason it fell back on the cache. But even that seems weird, because you have newer modules installed.

I hope that someone who knows more about the update process can step in.

There are a few related Advanced Settings that you might try:
Disable Module Admin Caching
Set Module Admin to Edge mode
Use wget For Module Admin


(Suriname) #14

Hey @Stewart1 i had already set module Admin to Edge mode. I will try the other two settings


(Matt Brooks) #15

I actually don’t ever recommend doing this unless you have a problem that was recently resolved by FreePBX engineering and you can’t wait for the general release. OR you’re an integrator/developer who loves living on the wild side of life!


(Matt Brooks) #16

Obviously this command is working, so module admin is installed. Unfortunately, you may have to run fwconsole ma install [module name] for all modules that say that they aren’t installed or disabled to get them to work again.

Is module admin not showing in the GUI? I’m trying to understand what the problem is?


(Suriname) #17

Hi Matt,
The issue is that i am not able to perform the updates of the modules. that is the main issue.
I am unable go connect to the repositry. can you help me with this?


(Matt Brooks) #18

@Renoeka You’re going to have to provide me with more information. What commands are you trying to run and what error messages are you receiving?


(Suriname) #19

i am not trying to run any commands. Here is a screenshot what I get.


(Matt Brooks) #20

My best guess is that the problem is with one of two things:

  1. DNS / network settings may not be configured correctly on your Pi
  2. The SSL certificate on mirror.freepbx.org is getting rejected by the Pi for reasons unknown.

You’ll need to ssh into your Pi or hookup to the terminal and execute the following command on the CLI to troubleshoot further:

curl https://mirror.freepbx.org