Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #5034

Open
1 task done
babyhagey74 opened this issue Aug 20, 2024 · 0 comments
Open
1 task done

Error #5034

babyhagey74 opened this issue Aug 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@babyhagey74
Copy link

πŸ“‘ I have found these related issues/pull requests

I am unable to find any issues.

πŸ›‘οΈ Security Policy

Description

image
^ Above shows the full error $

I just randomly got this error.

πŸ‘Ÿ Reproduction steps

  1. I first started Uptime Kuma
  2. I then went and added a monitor
  3. Then the error came up, saying about SQLite or something

πŸ‘€ Expected behavior

For the monitor to do its heartbeat, like all other monitors. I did the 'push' one.

πŸ˜“ Actual Behavior

2024-08-20T09:09:22Z [MONITOR] WARN: Monitor #8 'idk': Failing: No heartbeat in the time window | Interval: 60 seconds | Type: push | Down Count: 0 | Resend Interval: 0

🐻 Uptime-Kuma Version

1.23.13

πŸ’» Operating System and Arch

Alpine Linux, v3.20.2

🌐 Browser

Opera GX

πŸ–₯️ Deployment Environment

  • Runtime: nodejs v18.20.4, Docker 27.1.2 (i think)
  • Database: sqlite
  • Filesystem used to store the database on: disk
  • number of monitors: 2

πŸ“ Relevant log output

2024-08-20T09:07:06Z [MANAGE] INFO: Delete Monitor: 1 User ID: 1
2024-08-20T09:07:06Z [DB] INFO: Delete Monitor completed in : 28 ms
2024-08-20T09:07:10Z [MANAGE] INFO: Delete Monitor: 4 User ID: 1
2024-08-20T09:07:10Z [DB] INFO: Delete Monitor completed in : 15 ms
2024-08-20T09:08:22Z [MANAGE] INFO: Resume Monitor: 8 User ID: 1
2024-08-20T09:08:22Z [MONITOR] INFO: Added Monitor: undefined User ID: 1
2024-08-20T09:08:46Z [MANAGE] INFO: Delete Monitor: 8 User ID: 1
2024-08-20T09:08:46Z [DB] INFO: Delete Monitor completed in : 1 ms
2024-08-20T09:08:53Z [MONITOR] INFO: Get Monitor: 6 User ID: 1
2024-08-20T09:09:01Z [MANAGE] INFO: Resume Monitor: 6 User ID: 1
2024-08-20T09:09:01Z [MONITOR] INFO: Get Monitor: 6 User ID: 1
2024-08-20T09:09:22Z [MONITOR] WARN: Monitor #8 'idk': Failing: No heartbeat in the time window | Interval: 60 seconds | Type: push | Down Count: 0 | Resend Interval: 0
Trace: [Error: insert into `heartbeat` (`down_count`, `duration`, `important`, `monitor_id`, `msg`, `status`, `time`) values (0, 0, true, 8, 'No heartbeat in the time window', 0, '2024-08-20 09:09:22.301') - SQLITE_CONSTRAINT: FOREIGN KEY constraint failed] {
  errno: 19,
  code: 'SQLITE_CONSTRAINT'
}
    at safeBeat (/home/container/server/model/monitor.js:1034:25)
2024-08-20T09:09:22Z [MONITOR] ERROR: Please report to https://github.com/louislam/uptime-kuma/issues
@babyhagey74 babyhagey74 added the bug Something isn't working label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant