Skip to content

Resolve prod configuration #70

@dolsysmith

Description

@dolsysmith

There's not one error I'm seeing, but a pattern of odd behavior:

  • When switching from docker-compose-dev.yml to docker-compose-prod.yml, or vice versa, the Rails startup script doesn't seem to create the correct database. Even after deleting the Docker volumes and the Docker images (for rails and worker), the previous setting seems (somehow!) to persist, and it's necessary tom manually create and migrate the database in the Rails container (bundle exec rails db:create && bundle exec rails db:migrate).
  • I don't think this issue is connected, but when running the prod setup, the Bulkrax import doesn't work as intended in at least one case: when a work has multiple files to be attached. I get an ldp error about a locked resource being unavailable (which is related to Fedora access). I initially thought this was a problem with the Fedora prod setup, but I don't think that's the case. (I don't get the error if I use docker-compose-dev.yml but override the fedora service to use the production settings for the latter.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions