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.
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?
SETTING FILE PERMISSIONS…Done
chown: cannot access `/usr/com/prosody’: No such file or directory
Removing any dangling symlinks
Dangling symlinks removed
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.
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?
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.
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.