gotify / gotify/server

No way to clean up plugin configs

Open
#983 2 comments 0 reactions 0 assignees View on GitHub
a:feature
Dominant language
Go
Stars
15.9k
Forks
873
Avg merge
2d 22h
Merged PRs (30d)
6

Description

**Is your feature request related to a problem? Please describe.**
When working on a plugin, I ended up in a state where there was no application mapped to it. Notifications came through as `/unknown` and no combination of removing or reinstalling the plugin would reinitialize it.
Similarly, deleting the plugin channel from 'apps' leaves it in a weird state. (Possibly the same as above.)

**Describe the solution you'd like**
There should be a way to purge old information and reset a plugin configuration from scratch.
Gotify should display old plugin configurations even when the plugin is missing.

**Describe alternatives you've considered**
I ended up hacking on the db manually.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how plugin configurations are stored and how plugin and app/channel removal are handled in the server. Define the reset and purge behavior, then verify that missing-plugin configurations remain visible and that reinstalling or resetting a plugin removes the broken state.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.