simontelephonics / smsconnector

SMS Connector module for FreePBX 16 and 17
https://simon.tel/open-source/
GNU General Public License v3.0
43 stars 16 forks source link

Install Issue: Module: "SMS Connector", File: "/var/www/html/admin/modules/smsconnector/assets/less/cache/lessphp_f02a0d2c08fb86d35bec7c2092ad9a27.list altered" #21

Closed jaredirby closed 1 year ago

jaredirby commented 1 year ago

Receiving this error message at the top of the dashboard in FreePBX.

Module: "SMS Connector", File: "/var/www/html/admin/modules/smsconnector/assets/less/cache/lessphp_f02a0d2c08fb86d35bec7c2092ad9a27.list altered"

In module administration panel, I have this message for SMS Connector module:

Signature Status: | Module has been tampered. Please redownload (What Does this Mean?)

I am using FreePBX 16.0.40.4 and all modules/system up to date. I installed the module via the command line instructions.

Current PBX Version:16.0.40.4 Current System Version: 12.7.8-2306-1.sng7

jaredirby commented 1 year ago

Screen Shot 2023-07-13 at 10 58 39 AM Screen Shot 2023-07-13 at 10 58 21 AM

billsimon commented 1 year ago

First install or was this an upgrade?

jaredirby commented 1 year ago

First install. I also tried the following...

  1. Removed the module & installed by uploading the module through the GUI - same results as command line install per Readme
  2. installed prior beta version via command line and GUI - same error messages
jaredirby commented 1 year ago

I did also try the upgrade command after the install too - just indicated unable to upgrade "smsconnector is the same as the online version, unable to upgrade" - same error message

billsimon commented 1 year ago

I'll give it a try on a fresh server and try to reproduce the problem you're seeing. I haven't seen this before.

billsimon commented 1 year ago

Looks like I made a mistake in the packaging of the module. Sorry! I'll put up a new release soon.

jaredirby commented 1 year ago

Thanks so much!

billsimon commented 1 year ago

I repackaged the release. Could you give it another try and let me know?

jaredirby commented 1 year ago

ok so install worked fine. no more signature issues like before, but you cant get to the module page (unless I am doing something wrong....) See screenshots...

Screen Shot 2023-07-13 at 5 37 52 PM Screen Shot 2023-07-13 at 5 37 41 PM Screen Shot 2023-07-13 at 5 36 50 PM Screen Shot 2023-07-13 at 5 42 42 PM

billsimon commented 1 year ago

Did you remember to fwconsole r (reload) after installing?

Message ID: @.***>

jaredirby commented 1 year ago

yes i tried that - same issue

billsimon commented 1 year ago

Sorry, I'm not able to reproduce that problem.

Try:

fwconsole ma delete smsconnector fwconsole r fwconsole ma downloadinstall https://github.com/simontelephonics/smsconnector/releases/download/v16.0.8/smsconnector-16.0.8.tar.gz fwconsole r

jaredirby commented 1 year ago

Unfortunately that didn't work. There is no link for the SMS Connector visible in the menu system, but when I navigate directly to the correct link its still showing not available. Sincerely appreciate your efforts to track down the issue. This is almost a fresh server and not in production as well. Any thoughts on how to diagnose? Not afraid to get into code and command line, but not even sure where to begin with custom freepbx modules

Screenshot 2023-07-14 at 10 13 51 AM Screenshot 2023-07-14 at 10 15 17 AM Screenshot 2023-07-14 at 10 28 23 AM
billsimon commented 1 year ago

The only thing I can think of is that your admin account for some reason doesn't have permissions to it. Check in Admin -> Administrators: image

jaredirby commented 1 year ago

I just figured that out and was posting to update that I didnt have access via the user even though it was supposed to have full admin access... this is how I fixed for anyone else that sees this issue.

Screenshot 2023-07-14 at 10 59 43 AM