Installation Information

*Note installation is via cPanel Softaculous

Issue
After upgrading from v1.10.4 to v1.11 via Softaculous in cPanel, I have found that the LDAP Authentication and Lookup plugin is now labeled as "defunct-missing", and I can no longer log in with my LDAP credentials, only a local account.

"auth-ldap.phar" is still present in /include/plugins. Attempting to configure the plugin displays the message: "This plugin has no configurable settings. Every plugin should be so easy to use."

Attempting to delete the plugin (via the delete option in plugins) generates a 500 error.
Deleting the auth-ldap.phar file directly has no effect.
Readding auth-ldap.phar to /include/plugins does not add an additional install-able instance to the "Install a new plugin" page

I would hazard a guess that the Softaculous upgrader is your issue since the multiple manual upgrades I performed have not had this issue.

Did you install to a different directory?
Did you check to make sure that you are running the most recent version of the LDAP plugin?

Take a look at your ost_plugin table.
What does it say the install path is? Is that the correct path?
What does it say for isphar (1 or 0?)

You can try deleting the plugin from osTicket via the UI. Then try re-adding it.

If that doesn't work you can manually remove the row from the ost_plugin table. [Back up your DB first!]
Then try re-adding it.

4 days later

The install was to the same directory, and it appears I am using the most recent version of the LDAP plugin.

Install path is "plugins/auth-ldap.phar", which is correct as near as I can tell. isphar=1.

Attempting to delete the plugin from the UI crashes out. Removing the row from ostum_plugin table removes the plugin from the UI. After deleting and redownloading auth-ldap.har to include/plugins, just for posterity, attempting to "install" the plugin via the UI produces this entry in the UI/ostum_plugins table

Did you alter your ost_plugin table? Because that does not look like mine.

The plugin that you installed has no name, and there is a version column in your table that I do not have.

Sorry, that was after the table deletion. After restore, this is what the table looks like

Might be my use of phpMyAdmin to view the DB?

I should clarify: the first table screenshot is after deleting the row manually, and "reinstalling" the plugin via UI, leading to the UI screenshot in my reply to your initial response.

Doesn't appear to be the case?

there is nothing namepace='plugin.3'?

Nope. If it would be helpful, I have a complete backup (still building it out on my end currently) from prior to the v1.11 upgrade that I can revert back to if necessary.

You checked if there was more than one page of results right? ? [Sorry I have to ask because I have 197 entries in my ost_config table]

If there is no data in the plugin table, and no data in the ost_config I don't know why it would think that the plugin is partially installed. I've had to manually remove plugins before and removing them from those two places has always resulted in the plugin being gone from the system.

My bad... It's been a long week and it's only Wednesday. See attached.

ostum-config.pdf
115kB

    Clicking on file results in an error.
    {"errors":[{"code":500,"title":"Internal server error"}]}

    Maybe .pdf are not allowed on the forums.

    Strange. Tried to do it as a .csv and it wouldn't even let me upload that.

    Here's a screencap of what I think you were interested in:

    rgonig2
    If you have your previous version working good backup, then do a fresh installation of the osTicket same version and then do upgrade to 1.11 version. unless Softaculous in cPanel has issues. Double check the permission and clear the cache and maybe try using different browser

      rgonig2
      Have you tried a fresh installation of v1.11, and doing importing database from your backup? Without plugin, then install plugin after

      So here is wha tI would do. back up that table (or at least keep the screen capture)
      Assuming that you are only running the ldap/ad plugin and no others.
      delete every line with a namespace of plugin.#.
      delete the entry in the ost_plugin table.

      Try reinstalling/configuring/enabling the plugin fresh.

      ps I remove the image from the forums since it showed a hash of the password and the username. I kept a copy just in case you did not. I can email it to you if you need it. I will delete it once I hear back that you do not need it.

        ntozier My bad, didn't even notice the hash in there. Will try your solution later this afternoon and let you know. You can go ahead and delete the capture, I have the pass and all I need otherwise.