OAI-PMH Repository Invalid Plugin

Hello,

I am new to Omeka and am using it for a class project. I am trying to upload and install the OAI-PMH Repository Plugin: https://omeka.org/classic/plugins/OaiPmhRepository/

I am trying to use version 2.2 of the plugin, which is supposed to be compatible with Omeka version 2.0 and above. We are using Omeka Classic, version 2.7.

I downloaded the .zip file to my computer, unzipped it, and uploaded the plugin contents folder via SFTP to our Omeka site’s /plugins directory, alongside the three built-in plugins. When I log into Omeka and go to the Plugins dashboard, however, the OAI-PMH Repository plugin is listed, but says “This is not a valid plugin.”

I followed these instructions for installing plugins: https://omeka.org/classic/docs/Admin/Adding_and_Managing_Plugins/

Can anyone tell me what I’m doing wrong or have suggestions for how to resolve this?

1 Like

The first thing to check is just the name of the plugin directory - is it still plugin-OaiPmhRepostiory? If so, removing plugin- from the name should fix your issue.

However, if you unzipped it on your desktop and then moved it to your sever, it’s possible that some hidden files were not transferred. The best way to resolve this is to delete the plugin folder you uploaded and instead upload the zipped file. Unzip it inside the /plugins directory on your server.

Thank you for your response!

I figured out the problem - when I upload the extracted folder and contents into my Omeka plugins directory, the security rights attached to the OaiPmhRepository plugin directory defaulted to rws--S---.
Updating them to match the security rights of the built-in plugin directories (rwxrwxr-x) fixed the problem.