GithubHelp home page GithubHelp logo

islandora-devops / isle-dc Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 57.0 44.6 MB

ISLE 8 - Dockerized Islandora 8 Deployment orchestrated with docker-compose

License: MIT License

Shell 27.26% Makefile 71.12% Dockerfile 1.62%

isle-dc's People

Contributors

adam-vessey avatar ajstanley avatar alxp avatar aoelschlager avatar birkland avatar bondjimbond avatar ctgraham avatar dannylamb avatar donrichards avatar emudojo avatar g7morris avatar highermath avatar islandora-community avatar jasonhildebrand avatar jefferya avatar jmvezic avatar joecorall avatar joshdentremont avatar misilot avatar mjordan avatar natkeeran avatar nigelgbanks avatar nikathone avatar noahwsmith avatar pennedav avatar rosiel avatar ruebot avatar tristaan avatar wgilling avatar ysuarez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

isle-dc's Issues

Using .localhost as the default causes issues on Chrome when the site isn't hosted on localhost

Atm we have all the site urls follow this pattern SERVICE_NAME.COMPOSER_PROJECT_NAME.localhost however this causes issues when the site is hosted on a machine other than localhost for Chrome, as Chrome does a bit of magic for localhost urls that the other browsers don't do. Likely the only solution here is to drop .localhost from our urls and just have SERVICE_NAME.COMPOSER_PROJECT_NAME as the urls by default.

Running make in master branch results in 'Stop.'

When I run make in the development branch, make runs and generates the expected files. When I run it in the master branch (commit e48f215), this happens:

mark@mark-ThinkPad-X1-Carbon-6th:~/Documents/hacking/isle-dc$ make
make: *** No targets specified and no makefile found.  Stop.

Any suggestions?

Move alpaca connector private image to official Dockerhub

@birkland https://github.com/Islandora-Devops/isle-dc/blob/development/docker-compose.yml#L243 appears we are still using a private image for the alpaca connector?

Should we be building from https://github.com/Islandora-Devops/isle-alpaca/blob/dev/Dockerfile and pushing to the official Islandora Dockerhub now? I can then update the docker-compose.yml accordingly.

(would love to also assign you here but still can't seem to, are you a member yet? I can send an invite again)

I can do this but just want to be sure we're on the right track.

Setting IP as host causes issues mariadb

If you don't know to change docker-compose.drupal.mariadb.yml this will bite you. There is no documentation pointing out this file needs to be change but is needed if assigning an IP or domain.

mariadb-${COMPOSE_PROJECT_NAME-isle-dc}.${DRUPAL_SITE_HOST-traefik.me}


mariadb-${COMPOSE_PROJECT_NAME-isle-dc}-${DRUPAL_SITE_HOST-traefik.me}
---------------------------------------^

Media migration error - SQLSTATE[40001]: Serialization failure

From @marksandford on Slack:

"I've gotten the test ingest files ready to go and zipped up. Instructions are in the Readme, but it's basically installed as a module and a series of drush commands are run.

One caveat is that I consistently get SQLSTATE[40001]: Serialization failure when running the media migration. Running it again with --update seems to fix it (as described in Readme). Setting mysql to read-committed avoids the problem entirely, but I have no idea what the implications are for that in production, nor do I know if the ISLE config will differ in ways that will avoid the error"

@dannylamb Have you run into this issue yet?

Update Make file for use again once build is working post-merge

  • Review Makefile again once we get build working with MVP3 and 2 merged.

  • Ensure that value of docker_compose_project ?= can be changed from hard-coded islandora to match .env value instead otherwise it appears Docker volumes and container names don't match and cause issues

  • Review @nigelgbanks 's suggestion here #6 (comment) re Minor non-issue. Should be added to .PHONY targets.

  • Update README or documentation with syntax in Make file, benefits of using and scripts / actions it assumes.

Accept PR 16 and work out merge conflicts for latest alpaca

From PR #16

Add this to the README.md

Depends on https://github.com/Islandora-Devops/isle-alpaca/pull/3

Comment in the build sections for and point to ^^ once it's merged (or pull it in and point to a local copy on disk).

## How to Test

From your isle-dc folder:
- `docker-compose down -v`
- `rm -rf codebase && mkdir codebase` to clean the codebase
- If you haven't already done so, `(cd scripts; ./generate_keys.sh)` to generate keys
- `docker-compose up --build -d`
-  `docker exec -it isle_dc_proto_solr bash -c "solr create_core -c islandora"`
- `docker exec -it isle_dc_proto_php bash -c "sh /scripts/islandora/install-islandora.sh"`

You can test by ingesting a repository item, giving it a media and tagging that media as an original file.  This should trigger derivatives.

Admittedly, there's still something super wonky with karaf/camel uploading derivatives, and sometimes you get uploaded files of 0.  I'm still working through that, but you can at least see that the whole system is functioning, albeit a bit impaired.

Write up new README for how to use this merged build manually

  • Write up new README for how to use this build along with paths for materials for Power users
  • For now avoiding using Make file due to oddities in testing, this works so far manually:
cp sample.env to .env
./scripts/drupal/init.sh --codebase islandora
docker-compose pull
docker-compose up -d
docker-compose exec drupal drush uli (once everything is done)

Review Docker Images& Services for S6 inclusion

From the April 23 weekly call, @nigelgbanks raised the idea of discussing potentially using s6-overlay for


The task should be to identify which images and services could benefit from utilizing s6-overlay to help with process management especially child processes handling as well as piping logs to stdout (as needed)

Also reference this issue: Logging to stderr / stdout for all images / containers / services #45

ISLE runs slow on a Mac OSX

I've been running a local setup on my Mac OSX (Catalina) and running into extremely long page load times. The Manage->Extend page takes just shy of 30 seconds to load. Many pages take at least 4 seconds to load. It's a pretty awful developer experience.

@birkland researched adding the delegated flag to the volume mount for the website codebase. It seems promising and I'll submit a PR for that in a few minutes for other folks to try out.

502 error after editing an object

After importing an object via migration_islandora_csv I attempted to edit an object. After doing so I get an empty manifest and a 500 error on the object's page.

Screen Shot 2020-07-20 at 2 23 37 PM

Manifest

{
  "@type": "sc:Manifest",
  "@id": "http://islandora-isle-dc-12-34-56-78.traefik.me/node/839/manifest",
  "label": "IIIF Manifest",
  "@context": "http://iiif.io/api/presentation/2/context.json",
  "sequences": [{
    "@context": "http://iiif.io/api/presentation/2/context.json",
    "@id": "http://islandora-isle-dc-12-34-56-78.traefik.me/node/839/sequence/normal",
    "@type": "sc:Sequence"
  }]
}

Something interesting I saw in watchdog. 2 calls but one called the traefik.me URL and the other localhost.

openseadragon Request for IIIF manifest at https://islandora-isle-dc-12-34-56-78.traefik.me/node/840/manifest returned 0
openseadragon Request for IIIF manifest at http://localhost:8000/node/840/manifest returned 0

config/sync permissions

To export all settings the sync folder needs to be set correctly. Ideally this should be set by default

Screen Shot 2020-07-22 at 10 03 29 AM

To fix

$ chmod 777 -R /var/www/drupal/config/sync

How can we help?

Hi,

The company I work for would like to start working with ISLE 8 ASAP. Is there some way we can help speed up the development? Is there a backlog of work? Can we do a small conference call to talk things through?

Ik would like to hear from you!

Thanks!

Blazegraph container fails to start on Windows

Running make fails with error:

ERROR: for blazegraph  Cannot start service blazegraph: error while mounting volume '/var/lib/docker/volumes/islandora_blazegraph-data/_data': failed to mount local volume: mount /c/Users/Dev/projects/isle-dc/data/blazegraph/data:/var/lib/docker/volumes/islandora_blazegraph-data/_data, flags: 0x1000: no such file or directory
Encountered errors while bringing up the project.
make: *** [Makefile:21: up] Error 1

changing the volume type to default (rather than local) fixes the issue. As no other volumes have type local, it probably makes sense to bring the blazegraph mount in line line with the others.

https causing issues with iiif

After ingesting a large tiff open seadragon shows a 500 error.

Unable to open object Object HTTP o attempting to load TileSource
Unable to open [object Object]: HTTP o attempting to load TileSource

First time visiting a site that implements an insecure https request will cause the media to load within Open Seadragon.

Quick solution: is to go directly to https://islandora-isle-dc.12-34-56-78.traefik.me/cantaloupe/iiif/2 and accept the warning. This should probably be addressed, there is no obvious/simple indicator to the developer/user as to why the failure is happening.

Screen Shot 2020-07-24 at 3 02 19 PM

Screen Shot 2020-07-20 at 8 45 33 AM

Makefile cannot build pre-existing codebases

If you checkout an existing Drupal site into codebase and do make, the build will fail with

Composer could not find a composer.json file in /app
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
make: *** [Makefile:15: drupal_init] Error 1

Drupal ENV ignored

Docker-compose is ignoring values set during the makemake/docker-compose up process. Not sure any other values are being ignored.

docker-compose.env.yml & docker-compose.yml have these values prior and after the make/docker-compose up process.

DRUPAL_DEFAULT_ACCOUNT_EMAIL: [email protected]
DRUPAL_DEFAULT_ACCOUNT_PASSWORD: abc1234567890

Observed the admin user has "[email protected]" with "password" as its password.

The drupal.Dockerfile still using registry.gitlab.com/nikathone/drupal-docker-good-defaults/php-nginx:latest for php and nginx base image

Per @nikathone's comment here #6

"The drupal.Dockerfile still using registry.gitlab.com/nikathone/drupal-docker-good-defaults/php-nginx:latest for php and nginx base image but this will change once we have a CI to build images/nginx-php/Dockerfile."

@nikathone Can we make an official Islandora version of this post-merge? We now have control over the Islandora Dockerhub account to be able to push images. We can also make a new repo accordingly if need be too. Your thoughts?

Drupal Solr Search API module reporting issues now on wodby image post-merge

From #21 (comment)

Re-testing the current setup has revealed now that the current wodby image and the Drupal build are having the following issues.

  • Drupal Report Status now indicating You are using an incompatible Solr schema

  • Solr path needs to be / not /solr.

This feels like something changed in the Drupal settings / code level. Putting back on the TO DO list for us to test / fix.

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.