star7th / star7th/coolmonitor

Raw query failed. Code: `1555`. Message: `UNIQUE constraint failed: MonitorStatus.id`

Open
#43 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
877
Forks
107
PR merge metrics
No merged PRs in 30d

Description

Image

我现在安装的是docker里最新的版本
日志保留1天,还是会出现误报;
辛苦修复一下这个id冲突

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported UNIQUE constraint failure in the latest Docker version with one-day log retention, using the issue screenshot and the MonitorStatus.id error as the starting evidence. Trace where that record is created and how retained status data is removed; done means the reproduction no longer produces an id conflict or false alert.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, sqlite, typescript
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.