Giter Club home page Giter Club logo

Comments (9)

McFateM avatar McFateM commented on July 22, 2024

Could this be our race condition in play? Since this was not the first time starting the containers I just did a 'docker-compose up -d' rather than starting them in the prescribed order.

from isle.

g7morris avatar g7morris commented on July 22, 2024

@McFateM This feels like a race condition for sure. Having recently rebuilt and tested on Friday, I did not encounter this as I didn't use docker-compose up -d instead launching each container individually.

from isle.

g7morris avatar g7morris commented on July 22, 2024

I don't know why this matters as most of the solution packs are installed later AFTER the containers spin up.

from isle.

McFateM avatar McFateM commented on July 22, 2024

from isle.

g7morris avatar g7morris commented on July 22, 2024

@McFateM I'm not sure how to do that as an automated call as the script would need to poll tomcat and see if the webapp fedora is running? Perhaps some tomcat folks could advise here.

One can check http://fedora:8080/manager/html and restart the fedora service manually in case of this failure.

I can say from experience I"ve encountered random fedora service stops but not on ISLE (yet).

from isle.

McFateM avatar McFateM commented on July 22, 2024

from isle.

g7morris avatar g7morris commented on July 22, 2024

@McFateM We can include it in the documentation for sure. Will revise this week.

from isle.

DiegoPino avatar DiegoPino commented on July 22, 2024

Hi,

My 2cents

I have seen this issue with failed tuque connections/wrong authentication/XACML problems, but not on fresh ISLE deployments.

A simple way to check if Fedora is running (which won't mean always Islandora is able to actually connect to Fedora, there could be even drupal filter authentication issues that hinder the SP object´s to be deployed?) would be to run a bash script like

#/bin/bash
checkifalive_response=$(curl -sL -w "%{http_code}"   "http://fedora:8080/fedora" -o /dev/null --connect-timeout 3 --max-time 10)

if [ "$checkifalive_response" == "200" ] ;
then
   echo "continue"
else
   echo "KABOOM"
fi

To make sure islandora is connecting to fedora, i would prefer a simple PHP script that actually bootstraps Drupal/tuque and uses a real fedora user. Simply to code.

PS: Nothing here is something I invented, mostly copy and pasted from some random forums. I actually like the idea of services being checked instead of only being assumed running.

from isle.

g7morris avatar g7morris commented on July 22, 2024

Closing ticket as @McFateM 's original request to have plain wording advising the enduser to manually check if the fedora service is running has been added to the alphaquickstartguide.md with this commit Not merged to master yet

from isle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.