-
Notifications
You must be signed in to change notification settings - Fork 60
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
fcrepo container not listening to port 80? #245
Comments
Adding to @rbos' findings, on this server it is also not possible to upload any "original files". Just tried with a PNG which resulted in the following message in the Drupal log:
So, additional indication this is an issue with fcrepo's availability. |
Oh, I wonder if this is Fedora needing to do the internal upgrade from F5 to F6, or similar. Could you provide the output from boot to crash (I'm assuming these symptoms mean the fedora container has crashed) for Fedora, via |
The fcrepo container is running, and there's a tomcat instance in it. No obvious errors that I saw.
|
Hmm, so is it a permissions problem? My advice is to spin up a new instance of ISLE on a dev box and compare the resulting |
I guess it could be? But the error message makes me think it's trying to access :80 on fcrepo, but there's no service on there listening to :80. So either something is misconfigured to point at the incorrect port, or there should be a service on fcrepo that proxies to tomcat. I'll build a fresh .env from the latest sample.env on our dev server and see what the docker-compose looks like, I guess. |
Here's a list of things to check to save some time and effort. Fedora needs to be exposed (EXPOSE_FEDORA=true) and this is where you set the port. Make this change in your /admin/config/media/file-system If you're checking via pdf viewer you might need to update |
Thanks Don. The PDF viewer is rendering so it's probably OK, but it will be good to check. The likely problem is that the PDF files aren't accessible to the viewer. |
Okay; I had EXPOSE_FEDORA already set, so that wasn't it, and changing "default download method" and restarting didn't change anything, but I did a fresh make down/pull/up, and re-applied our SSL settings to docker-compose.yml, and it seems to be rendering the PDFs now. I think this ticket can be closed, if @mjordan will verify that uploads are working again as well. |
@rbos I was able to upload an image file and docx file. (yay) |
Tentatively closed, then. |
I updated from quite an old build, to 1.0.0-alpha-14, and then to -15 using the "make pull" method, and it went more or less smoothly, and I'm stuck on one issue: PDFs won't display. I also did a "git pull" against the latest isle-dc development branch to get the most recent docker-compose files.
Message: Missing PDF "https://[redacted]/_flysystem/fedora/2022-03/drupal-content-entity-8.0%20%281%29.pdf"
time="2022-03-30T15:11:14Z" level=debug msg="'502 Bad Gateway' caused by: dial tcp 192.168.240.17:80: connect: connection refused"'
every time I try to load the item. So I guess it wants to load the pdf from there via http.docker-compose down
anddocker-compose up
on the theory that the fcrepo container no longer contains an nginx proxy, but that doesn't seem to fix it.Any suggestions?
The text was updated successfully, but these errors were encountered: