Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Healthcheck still active on deleted API #175

Closed
robinmoisson opened this issue Feb 16, 2018 · 6 comments
Closed

Healthcheck still active on deleted API #175

robinmoisson opened this issue Feb 16, 2018 · 6 comments
Labels

Comments

@robinmoisson
Copy link

Hi,
I had an API where I enabled healthchecks for testing purposes, then I deleted the API but I'm still receiving "API down" notifications for this API. Since the API is deleted I can't disable them anymore.

Where can I look to investigate and manually disable them?

Thanks a lot for Konga !

@pantsel
Copy link
Owner

pantsel commented Feb 16, 2018

@robinmoisson , I'm afraid you can't, You will need to remove the hc manually from Konga's db.

This is a bug. I will address it as soon as possible.

Thanks for the feedback

@pantsel pantsel added the bug label Feb 16, 2018
@robinmoisson
Copy link
Author

Dumb question: I assume the database is kongdata/konga.db but how do I connect to it?
sqlite3 konga.db tells me my db is either not a db or corrupted, is it not an sqlite db?

I'm using the default localDisk connection.

@pantsel
Copy link
Owner

pantsel commented Feb 16, 2018

If you're using the localDisk adapter, the database is just a simple file with json syntax,

You just need to open the file with your fav text editor and search for the appropriate json object representing the the health check and remove it.

@robinmoisson
Copy link
Author

Ah, didn't check opening it in a text editor :) That settles it, thanks !

@pantsel
Copy link
Owner

pantsel commented Mar 1, 2018

@robinmoisson,

this issue is fixed on this commit

@pantsel pantsel closed this as completed Mar 1, 2018
@robinmoisson
Copy link
Author

Great @pantsel, thank you for the fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants