Hi,I'm trying to get the auth-ldap and storage-s3 plugins to work. I've dropped the phar files into the includes/plugins folder - but when I go to the Admin UI of osTicket, I don't see the plugins appearing in the list and there's no way to activate / configure them. Where am I going wrong?Thank you.

Did you click Add?Admin panel -> Manage - > Plugins -> Add New Plugin

Yes - the phar files are in place and I'm attaching screenshots of the plugins and add new plugin screens.

ost-p-1.png

ost-p-2.png

Version of osTicket?Version of PHP?You are 100% sure that you are putting them in the /path/to/your/install/include/plugins?Did you download the plugins from http://osticket.com/download?

osTicket: Core, v1.9.14PHP: 5.6.21I confirm that I downloaded the core and plugins directly from osTicket website. Here's a dump of my plugins folder:regsup@host # cd public_html/include/plugins/regsup@host # lhtotal 364Kdrwxr-xr-x  2 regsup regsup 4.0K 2016-08-29 14 ./drwxr-xr-x 11 regsup regsup 4.0K 2016-08-29 14 ../-rw-r--r--  1 regsup regsup    0 2016-06-11 18 .keep-rw-rw-r--  1 regsup regsup 350K 2016-08-29 14 auth-ldap.phar-rw-r--r--  1 regsup regsup 1.2K 2016-06-11 18 updates.pemregsup@host #Thanks for your help with this. 

And the osTicket core files are being served by your webserver from ~/public_html?

Yes. public_html is the document root for osticket.

I've never setup osticket in a users public_html folder before.  My guess would be that something int he Apache config or PHP config is borking the path.  Maybe a open_basedir or something.

19 days later

I'm having similar issues with ver. 1.9.14. Files are in the correct folder. However the system si setup as a sub-domain. Not sure if that will make a difference. Also I check with phpinfo and Phar extension are enable. PHP version is 5.5 also tested with 5.6 and same results.

Hi ntozier,    public_html is the default document root of Apache in a multi-user environment. The usual structure is:/home/username1/public_html//home/username2/public_html/ and so on... anything placed in public_html is accessible via the web either by hostname.com/~username1 or via a domain associated with username1's account. The process is entirely transparent to the running scripts (osTicket here) - they run in total isolation between the different user accounts.@[deleted] - doesn't matter if it's running out of a subdomain... Apache forks and runs osTicket in an isolated manner even in case of subdomains. Thank you,Sourjya

@[deleted] Yes, it is if you are giving each user a personal page, or letting them host a domain in their personal public_html folder. Your response does not however change my response.  As I said I personally have never setup osTicket in a userspace. To get Apache to serve those locations there is some configuration magic that happens either in the Apache configuration files or in .htaccess files or both.  That makes me think that something in the configuration is borking the paths, causing osTicket to not look in the right place for the plugin files.  Or Alternatively something like SELinux or mod_security is preventing it from running right.  It could be something as simple as permissions also, but since there aren't errors being provided this is like looking in a hay barn for a needle lost some indeterminate time ago.

Here is a screenshot of the Phar settings in the phpinfo() output. Each account has a dedicate cPanel which I have full access. Before I contact the hosting company, I might want to know if there some other testing I can do. Thank you for all the help!blank

7 years later

I had trouble with having my plugins show up after disabling selinux too. I resolved it by chmod 777 my plugin phar file.

Write a Reply...