Skip to content

Crash when plugin missing config.json #1187

@adamoutler

Description

@adamoutler

Is there an existing issue for this?

The issue occurs in the following browsers. Select at least 2.

  • Firefox
  • Chrome
  • Edge
  • Safari (unsupported) - PRs welcome
  • N/A - This is an issue with the backend

Current Behavior

When a folder exists in plugins eg. /front/plugin/problem-folder without config.json, the backend will not start. This can occur by git stashing changes for a new plugin.

Expected Behavior

The backend will handle it more gracefully than crashing and not starting.

Steps To Reproduce

  1. mkdir /app/front/plugins/foo
  2. restart the system

app.conf

docker-compose.yml

What installation are you running?

Production (netalertx)

app.log

No response

Debug enabled

  • I have read and followed the steps in the wiki link above and provided the required debug logs and the log section covers the time when the issue occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Docker 🐋Docker relatedWaiting for reply⏳Waiting for the original poster to respond, or discussion in progress.bug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions