-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to import manifest from URL/paste #5
Comments
Please make sure that your background job runner is configured correctly. Go into As a temporary alternative to importing, if you do not need to annotate or rearrange canvases, you can use remote embedding blocks for Exhibits Builder to present your manifest. In addition, I recommend updating the manifest because the image server has already upgraded to Image API 2.0, but the manifest still reads 1.1. Image API 1.1 pulls images from .../native.jpg, while 2.0 pulls images from .../default.jpg, so the mismatch would cause images to fail to load in the importer. |
Setting background.php.path has no effect either way. With and without it set, I can batch edit items (e.g., under Admin > Items, select multiple items and add a tag to all of them). Oddly enough, we have another instance of Omeka running on the same server, but version 2.4.0. Importing the same manifest from the URL above works fine. I can't see any real difference in the application config files or the site configurations. |
Do you have any error logs captured from the instance that doesn't run the job properly? |
Sorry for the delay getting back to you! I enabled debugging and error logging, as described at https://omeka.org/codex/Retrieving_Error_Messages. application/logs/errors.log logs nothing at all while performing an import. The file should be writeable by everybody. In my apache error log, I see this: But that error appears even in the working 2.4.0 instance. |
Hi @dicksonlaw583, That fixes the error, but the behaviour of the import remains the same. Still no updated status. I'm not sure if this will help, but when I query the omeka_processes table, I can see that an entry is created:
|
Can you turn on debug mode on your non-working Omeka instance, start an import job and tell me what is the last debug line you see in To turn on debug mode:
|
Hmm. I made those changes. Nothing is logged at all when I try an import. |
I'm sorry, there's one more entry to change for debug mode:
I have created a new installation of 2.4.1 in my development environment, but so far I have been unable to replicate your situation. The process completed, although the items counted as failed because the image server has moved onto 2.0 while the manifest still reads 1.1. In addition, can you confirm whether there is a table named |
I actually had I do not seem to have the
I'm not certain the process is starting. I tried using This is an existing Omeka instance. |
You actually do have a Since there are other plugins on your installation that may be running jobs, please look in your |
Ha, oops, missed that! I will take a look at the processes table and let you know. |
All of the jobs listed in the omeka_processes table have the status
|
It appears that something is stuck or misconfigured on the non-working instance's long-running job dispatcher. Try looking in
If you have direct access to the server, you can also try rebooting the server to try and get the stuck jobs out of your way. This is recommended after you change the dispatcher configurations or manually remove rows from the processes table. |
I have the same entries in |
Can you start an import job with your CSV Import plugin? If you can, please reply with the version number of the CSV Import plugin you're using. If not, it is an issue specific to that Omeka instance instead of any one plugin. You can ask on forum.omeka.org for hints as to what else can hold up long-running jobs. |
Hi @dicksonlaw583, I've been troubleshooting our main Omeka installation, and there does seem to be a problem with running jobs. It seems that under a new and fully-updated instance of Omeka, IiifItems works just fine, as do other long-running jobs, so we'll be migrating and updating our production installation soon. Thanks again for all your help! |
You are welcome. I will be closing this ticket since it is not an issue specific to the plugin, but feel free to open another ticket if a new glitch happens on your migrated installation. |
From what I can tell, I've correctly installed the IIIF Toolkit plugin, but when I try to submit a manifest either via URL or by pasting the JSON, nothing happens. It doesn't seem to matter what options I choose on the import page. When I click Import, I am taken to the status page, but no new items appear in the Status Panel and nothing appears to import.
Omeka 2.4.1, using this for the import via URL or paste: http://dms-data.stanford.edu/data/manifests/kn/mw497gz1295/manifest.json
The text was updated successfully, but these errors were encountered: