Skip to content

Display error if metadata directory is missing #6469

@matthias-ronge

Description

@matthias-ronge

Is your feature request related to a problem? Please describe.
If the metadata directory is missing, the application behaves strangely, but no helpful error message appears (or not immediately).

Describe the solution you'd like
There's a health check in case the index is unavailable. A similar check should be performed to determine whether the metadata directory exists. If not, users should see an error message.

Describe alternatives you've considered
This occurred because the newspaper calendar couldn't be started. At a minimum, the metadata directory should be checked before indexing, before creating a process. The calendar icon shouldn't indicate that the DocType isn't configured for creating processes with the newspaper calendar, but rather that no docType was found, or more precisely, that the METS file is missing.

Additional context
The metadata directory is often located on a NAS, and occasionally the mount gets lost. In such a case, the directory disappears.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions