does OAI-pmh harvester plugin work in omeka 2.0

Hi everytbody. I am new in using Omeka and I am not sure if I understand correctly which plugins work correctly in omeka 2.0. I want to use the plugin in order to harvest data from a dspace repository. I have unzipped the plugin file and moved it under the /plugins directory, but once I have done that I cannot access my server. The system gives me an internal system error.The minute I remove the oai directory from plugins/ access to the server is restored. Any ideas?

The OAI harvester plugin hasn't yet been released for Omeka 2.0 yet. Trying to use the version for Omeka 1.x causes that error.

We're anticipating releasing the updated plugin in a few weeks.

In the meantime, you can grab the development version from github

I would like that this version can be released as soon

I got the development version from github, however I get the following error when I press on OAI-PMH HARVESTER link in the dashboard.

Omeka has encountered an error

Mysqli prepare error: Table 'omeka.omeka_oaipmh_harvester_harvests' doesn't exist

#0 /var/www/application/libraries/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT `oaipmh_...')
#1 /var/www/application/libraries/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT `oaipmh_...')
#2 /var/www/application/libraries/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('SELECT `oaipmh_...')
#3 [internal function]: Zend_Db_Adapter_Abstract->query(Object(Omeka_Db_Select), Array)
#4 /var/www/application/libraries/Omeka/Db.php(79): call_user_func_array(Array, Array)
#5 /var/www/application/libraries/Omeka/Db/Table.php(483): Omeka_Db->__call('query', Array)
#6 /var/www/application/libraries/Omeka/Db/Table.php(483): Omeka_Db->query(Object(Omeka_Db_Select), Array)
#7 /var/www/plugins/OaipmhHarvester/models/Table/OaipmhHarvester/Harvest.php(27): Omeka_Db_Table->fetchObjects(Object(Omeka_Db_Select))
#8 /var/www/plugins/OaipmhHarvester/controllers/IndexController.php(31): Table_OaipmhHarvester_Harvest->findAll()
#9 /var/www/application/libraries/Zend/Controller/Action.php(516): OaipmhHarvester_IndexController->indexAction()
#10 /var/www/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#11 /var/www/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#12 /var/www/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#13 /var/www/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#14 /var/www/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#15 /var/www/admin/index.php(28): Omeka_Application->run()
#16 {main}

Probably there's something weird from the old database tables. First try uninstalling and reinstalling the plugin

yes it worked this time. thanx!

hi patrickmj I install the plugins the development version from github but when I go to check the plugins the the plugi show me

OAI-PMH Harvester

Version 2.0 by Center for History & New Media

Harvests metadata from OAI-PMH data providers.

This is not a valid plugin.

when I check the section Plugins I can not configure the plugins OAI-PMH Harvester because the plugins show me

OAI-PMH Harvester

Version 2.0 by Center for History & New Media

Harvests metadata from OAI-PMH data providers.

This is often the result of grabbing the zip file without changing the directory names. The directory should be called OaipmhHarvester

thanx so much patrckmj :)


I have upgraded my omeka installation to 2.2.1 and I have reinstalled that latest oai-harvester plugin. I am trying to harvest a DC dataset from dspace, everything works properly except that no files are being copied across. I thought that the new plugin fixed that problem or is there still an issue with transferring the files?