Hi, like the title says, plugins are not showing up in the admin section for me. I have uploaded them to the plugin directory...

SELinux has been disabled and both machine and Apache have been restarted...

phar is installed and enabled...

And I seem to be checking the right boxes....

However, this is what the plugin section looks like after I click to add a plugin...

I've read quite a few posts here and over on stack and tried pretty much every suggestion I could find, but no go, I still can't get them to show up. If someone can give me a kick in the pants in the right direction, I'd greatly appreciate it.

  • KevinTheJedi replied to this.
  • I only have this one install on this server. The other instance I have running is on another machine. I think I found the issue. Found a post that suggested I use them as directories and just extract the *.phar file with php. When I tried that on the extension I originally downloaded, I got this error:

    PHP Fatal error: Uncaught UnexpectedValueException: phar "/var/www/vhosts/intranet.xxxxxxxx.com/docs/support/include/plugins/auth-oauth2.phar" SHA256 signature could not be verified: broken signature in Command line code:1

    That got me to thinking that the file was corrupt somehow (maybe I uploaded it as ASCII instead of binary). I grabbed a fresh copy from the website uploaded it to the directory and OSTIcket saw it right away. Problem solved. Thank you for your help.

    jnichel

    Hmmm that is an odd one. Normally this means you either don't have the correct permissions/ownership for the site to be able to read them or something else is going on that should be logged in one of your various error log files.

    Cheers.

    There is nothing in my error messages; httpd, php-fpm (even though I'm not using php-fpm), messages, etc. Switched phar.readonly and phar.require_hash to off thinking that may be stopping it, but no luck. I have an instance of OSTicket installed on another system and it works fine, but I never tried extensions on it. I'm really just trying to get this install to work with imap fetching of my gmail for creating tickets, but this install is missing the protocols my older install has, namely IMAP + SSL. I've tried adding ssl:// in front of the Gmail uri, and port 993, but OSTicket keeps telling me that the username or password is wrong, even though I can use those credentials in Thunderbird and the other OSTicket install and it works fine. Google tells me that I need OAuth2, so I'm trying to get that extension installed.

      jnichel

      Yea you should just be able to download the plugin appropriate to your version (1.18.x) and upload it to your include/plugins/ folder. Maybe you have multiple install locations or osTicket folders and you are uploading to the wrong one?

      Cheers.

      I only have this one install on this server. The other instance I have running is on another machine. I think I found the issue. Found a post that suggested I use them as directories and just extract the *.phar file with php. When I tried that on the extension I originally downloaded, I got this error:

      PHP Fatal error: Uncaught UnexpectedValueException: phar "/var/www/vhosts/intranet.xxxxxxxx.com/docs/support/include/plugins/auth-oauth2.phar" SHA256 signature could not be verified: broken signature in Command line code:1

      That got me to thinking that the file was corrupt somehow (maybe I uploaded it as ASCII instead of binary). I grabbed a fresh copy from the website uploaded it to the directory and OSTIcket saw it right away. Problem solved. Thank you for your help.

      Write a Reply...