Comments (9)
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.
@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.
I don't know why this matters as most of the solution packs are installed later AFTER the containers spin up.
from isle.
from isle.
@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.
from isle.
@McFateM We can include it in the documentation for sure. Will revise this week.
from isle.
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.
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)
- Staging install instructions: clarify or improve "commit locally to git" HOT 2
- Documentation: How to build a Multisite in ISLE HOT 3
- Drush crashes due to IMI use of Composer in install-local-migrate process at Step 10 HOT 5
- Development needed for Cantaloupe upgrade from 4.0.3 to 4.1.5 HOT 2
- Restore production `/var/www/html/sites/default/files` in `install-local-migrate.md` HOT 1
- Run standalone fedora image with AWS RDS configuration.
- Documentation: small fixes to install-environments.md HOT 1
- Documentation: update the final terminal output of install_solution_packs.sh HOT 1
- Error Message needs attention HOT 1
- Insufficient TemporaryStore disk space halting FEDORA HOT 4
- WARC tools missing from ISLE-apache Dockerfile HOT 4
- No documentation about configuring to send mail HOT 13
- Documentation update: docs/update/update.md needs "master" changed to "main" HOT 3
- Traefik should get an upgrade to 2.0
- Removing forced permissions check on ISLE apache image every time container restarts HOT 1
- Migration instructions have an odd step. HOT 5
- cache.server.source.ttl_seconds set twice in cantaloupe.properties HOT 1
- Tailing fedoragsearch logs: path needs correction HOT 4
- Staging Migration: Software Dependencies for both Ubuntu and CentOS are missing two steps HOT 1
- Should there be a warning that the docs are for ISLE7 / Islandora 7 and not for ISLE2 / Islandora 2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isle.