-
Notifications
You must be signed in to change notification settings - Fork 6
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
Fedora resources are all 404's; container has database problems #21
Comments
In diving into where this database connection may be, I see some environment variables in the fcrepo container that look promising:
I assume that DB_DRIVER selects the MYSQL values for HOST and PORT (because they're otherwise missing). This would imply there's a fcrepo database in the mariadb container that's busy. In the MariaDB container,
There does not seem to be a database set up for Fedora. |
I had thought that the standard for Fedora was to use Postgres. Could your Fedora be set up to use that, even it if might not exist? |
By default, unless otherwise configured, Fedora will use its This seemed to have worked for years? I merged this 3 weeks ago that updated the FCREPO by a minor version Islandora-Devops/isle-buildkit@740f687 This could have dropped that feature? Or it behaves differently now https://wiki.lyrasis.org/display/FEDORA6x/Database+Cache I would have hoped the automatic tests would have caught that though. |
We don't have an automatic test for the https://github.com/Islandora-Devops/isle-buildkit/tree/main/fcrepo6/tests |
I've added a test, it appears to be working. |
I've actually seen this bug before, some time ago.... |
Seems to be handled by pull #23 |
I'm not sure if these are related.
1 - I can't write to Fedora. When I create a node then click the Fedora URI, it's a 404. When I try to upload a file, if I'm uploading at the default monthly folder which hasn't been created yet (2023-09), I get the error that everyone's been posting in Slack,
upload directory fedora://2023-09 for the file field field_media_file could not be created or is not accessible.
. And - what's potentially even worse, if I take out that folder so I'm writing straight to the top level e.g. fedora://dead_bug.gif, then my file appears to upload and the media saves, though trying to access the file (manually or for derivatives) yeilds a 404.2 - The fedora container has a bunch of logs (only visible in Docker Desktop as far as I can tell) complaining about a lack of database connection:
The text was updated successfully, but these errors were encountered: