Islandora-Collaboration-Group / ISLE

Islandora Enterprise (ISLE) is a community project that addresses two of the most significant pain-points in Islandora: installation and maintenance.
https://Islandora-Collaboration-Group.github.io/ISLE/
GNU General Public License v3.0
32 stars 34 forks source link

Paged Content Model configuration #77

Closed petermacdonald closed 6 years ago

petermacdonald commented 6 years ago

To get the IA Book Viewer to work, ISLE's setting on the "Paged Content Model" configuration page needs to be changed from

http://apache/adore-djatoka/

to

http://fedora:8080/adore-djatoka/

The following the current ISLE setting, which is wrong.

image

g7morris commented 6 years ago

@petermacdonald

I'm not clear on how this is failing per se?

http://apache/adore-djatoka/resolver should be the setting.

Could you provide an example (screenshots) of where this setting is causing a failure please?

hamhpc commented 6 years ago

I'm going to re-OS my second test box with the latest updates and have Peter try that out so we can report back and see where this issue is and report on it better.

g7morris commented 6 years ago

@petermacdonald Well spotted! Thanks for finding this one.

@hamhpc I was able to replicate the issue and found that the initial build install_site.sh had the wrong variable setting.

From this commit change it should now read:

/usr/local/bin/drush -u 1 -y vset islandora_paged_content_djatoka_url "http://islandora-docker.com/adore-djatoka/"

The mistake was that it was the domain only http://islandora-docker.com. Can't say why that was.

My apologies, took me a minute to remember that the settings are different for Openseadragon Viewer than IA.

Please note: I'll need to rebuild the isle-apache image to fix this. I'll be able to push by end of day.

In the meantime, you can:

I'm now seeing images properly displayed.

Thanks again.

Please close this ticket upon completion of testing. @petermacdonald @hamhpc

petermacdonald commented 6 years ago

I performed the following commands on our existing ISLE instance without getting any errors and variable value was changed as expected.

But I then couln't view JP2 images.

I then also changed "fedora:8080" to "islandora-docker.com" in OpenSeadragon, but still couldn't see JP2 images.

Then I changed the setting back the "fedora:8080" in both place and now I can see JP2's fine in a Book collection and Large image collection.

Now I'll wait for Steve's rebuild where I'll test it again.

Peter

On Mon, Dec 11, 2017 at 11:11 AM, Gavin Morris notifications@github.com wrote:

@petermacdonald https://github.com/petermacdonald Well spotted! Thanks for finding this one.

@hamhpc https://github.com/hamhpc I was able to replicate the issue and found that the initial build install_site.sh had the wrong variable setting.

From this commit https://github.com/Islandora-Collaboration-Group/ISLE/commit/3f6b1db5243abe5d1468e3351041c1dcf5cced11 change it should now read:

/usr/local/bin/drush -u 1 -y vset islandora_paged_content_djatoka_url "http://islandora-docker.com/adore-djatoka/"

``

The mistake was that it was the domain only http://islandora-docker.com. Can't say why that was.

My apologies, took me a minute to remember that the settings are different for Openseadragon Viewer than IA.

Please note: I'll need to rebuild the isle-apache image to fix this. I'll be able to push by end of day.

In the meantime, you can:

  • shell into the host server
  • docker exec -it isle-apache bash
  • cd /var/www/html
  • drush -u 1 -y vset islandora_paged_content_djatoka_url "http://islandora-docker.com/adore-djatoka/"
  • drush cc all

I'm now seeing images properly displayed.

Thanks again.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Islandora-Collaboration-Group/ISLE/issues/77#issuecomment-350771598, or mute the thread https://github.com/notifications/unsubscribe-auth/AAqWGU4veJ4YGWMIwOLap6ceUnK2bTteks5s_VRFgaJpZM4Q9dG5 .

-- Peter MacDonald, Library Information Systems Specialist Hamilton College Library Clinton, New York 315 859-4493 pmacdona-hamilton (Skype)

hamhpc commented 6 years ago

Looks like this one is corrected now in the build. Once we went in and changed the name from islandora-docker.com to our test server name this all started working properly for us out of the box. I think it's good to close.

g7morris commented 6 years ago

Closing ticket.Thanks @petermacdonald for posting this one!