Install Modules via Module Admin

Hi Guys,

my Version is:6.12.65-25.

I can´t install any module. For example here is the output from the Module Admin:

Please wait while module actions are performed
Installing sysadmin
checking for ftp_server field…already exists
checking for tftp_server field…already exists
checking for ups_enabled field…already exists
Checking for abnormalcallvolume…No abnormalcallvolume found…
Generating CSS…Done
sysadmin installed successfully

and this is the output if i try to install it via console:

amportal a ma install sysadmin

Fetching FreePBX settings with gen_amp_conf.php…

checking for ftp_server field…already exists
checking for tftp_server field…already exists
checking for ups_enabled field…already exists
Checking for abnormalcallvolume…No abnormalcallvolume found…
Generating CSS…Done
Module sysadmin successfully installed

SETTING FILE PERMISSIONS…Done
chown: cannot access `/usr/com/prosody’: No such file or directory
Removing any dangling symlinks
Dangling symlinks removed

I can´t see any failure, but after Apply Changes the module is not installed.

Connecting to mysql with user and pw from freepbx.conf works.
Sysadmin is just an example.

Thanks

Mothertrucker

Try amportal chown then update with admin module.

I tried amportal chown (no issues/problems) then tried updating sysadmin-> didn´t work. :frowning:

Do you get the same result with amportal a reload?

This is my Output:

]# amportal a reload

Fetching FreePBX settings with gen_amp_conf.php…

Successfully reloaded

Does the sysadmin module appear? Also, I assume you have a license to use it?

What makes you think Sysadmin is NOT installed?

If that was an ‘example’ one, that was probably a bad one to use, as it has hooks into lots of things, and lots of things will break if you try to remove it.

Why don’t you try a different module, and see if you can see an error then?

Ok maybe the example was bad.
This is the output if i install isymphony via amportal :
amportal a ma install isymphony

Fetching FreePBX settings with gen_amp_conf.php…

Setting operator panel web root…
Done
Creating client symlink…
Done
Creating “isymphony_location” Table…
Populating(New) “isymphony_location”…
Done
Creating “isymphony_users” Table…
Populating(New) “isymphony_users”…
Done
Creating “isymphony_queues” Table…
Populating(New) “isymphony_queues”…
Done
Creating “isymphony_conference_rooms” Table…
Populating(New) “isymphony_conference_rooms”…
Done
Generating CSS…Done
Module isymphony successfully installed

SETTING FILE PERMISSIONS…Done
chown: cannot access `/usr/com/prosody’: No such file or directory
Removing any dangling symlinks
Dangling symlinks removed

Webgui install:

Installing cxpanel
Setting operator panel web root and enabling dev state…
Done
Setting callevents = yes…
Creating client symlink…
Done
Creating “cxpanel_server” Table…
Upgrading “cxpanel_server”…
Done
Creating “cxpanel_voicemail_agent” Table…
Upgrading “cxpanel_voicemail_agent”…
Done
Creating “cxpanel_recording_agent” Table…
Upgrading “cxpanel_recording_agent”…
Done
Creating “cxpanel_email” Table…
Upgrading “cxpanel_email”…
Done
Creating “cxpanel_phone_number” Table…
Upgrading “cxpanel_phone_number”…
Done
Creating “cxpanel_users” Table…
Upgrading “cxpanel_users”…
Done
Creating “cxpanel_queues” Table…
Upgrading “cxpanel_queues”…
Done
Creating “cxpanel_conference_rooms” Table…
Upgrading “cxpanel_conference_rooms”…
Done
Generating CSS…Done
cxpanel installed successfully

But after “Apply Changes” Module Admin says it is not installed. And i also can´t find it in the Webgui

Could be a strange web browser issue, you can try resetting cookies in the browser or try a different browser. Is this a production system? If not, doing a fresh install may help. Try accessing the GUI from a different location just to confirm the problem. If it is a production system, I assume it still functions as expected (i.e. calls come in and users can make calls). You can browse through the directory trees in the CLI just to confirm the modules are installed, if you can see them there it’s may just be a web browser issue.

I tried 3 different browser with different versions. Nothing changed.

If you try updating from a different location do you get the same result? Also try updating a single module, hit the apply button then check the asterisk log file ‘full’. You should see modules be reloaded in the log file (or possibly any errors). Is this a production system? If you can copy the running system to a second system you will have some more freedom to track down the issue and not have to worry about knocking down a functioning system.

Does the amportal a ma list correctly reflect the module versions both before and after the updates?

What do you mean with a different location? We have other Freepbx system, this is the only one with this Problem. It´s not a production system.

I will check the full log if i can see any errors.

Yes, try from another location to do the updates. This is an odd problem. Since it’s not a production system a clean load may be less of a pain than tracking down issue. Maybe just see what the log files say and go from there.

hey guys,

sorry but i didn´t have the time yet to check the log. I will update the ticket soon.

thanks for your help

Hi,

i checked the log, i could not see any a problem. the only thing i could find is an error from res_digium_phone:

[2015-05-20 14:28:22] WARNING[18547] res_digium_phone.c: No Valid DPMA License found. Module is loaded but disabled. Please reload module once valid license is install

I could attach a part from the log if someone could tell me how.

That has nothing to do with modules.

Somebody got another proposal?