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

TypeError: callback is not a function #5436

Open
1 task done
douxltechnologies opened this issue Dec 13, 2024 · 3 comments
Open
1 task done

TypeError: callback is not a function #5436

douxltechnologies opened this issue Dec 13, 2024 · 3 comments
Labels
bug Something isn't working cannot-reproduce

Comments

@douxltechnologies
Copy link

douxltechnologies commented Dec 13, 2024

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

πŸ›‘οΈ Security Policy

Description

randomly get above error in docker logs

πŸ‘Ÿ Reproduction steps

i happens randomly

πŸ‘€ Expected behavior

no such error should be there

πŸ˜“ Actual Behavior

there re errors but not sure if it affects any services

🐻 Uptime-Kuma Version

1.0

πŸ’» Operating System and Arch

Docker

🌐 Browser

Chrome

πŸ–₯️ Deployment Environment

  • Runtime: Docker 27.3.1
  • Database: embedded
  • Filesystem used to store the database on: EXT4/SSD
  • number of monitors: 37

πŸ“ Relevant log output

Trace: TypeError: callback is not a function
    at Socket.<anonymous> οΏ½[90m(/app/οΏ½[39mserver/server.js:915:17οΏ½[90m)οΏ½[39m
    at process.unexpectedErrorHandler (/app/server/server.js:1905:13)
    at process.emit (node:events:517:28)
    at emit (node:internal/process/promises:149:20)
    at processPromiseRejections (node:internal/process/promises:283:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:32)
If you keep encountering errors, please report to https://github.com/louislam/uptime-kuma/issues
@douxltechnologies douxltechnologies added the bug Something isn't working label Dec 13, 2024
@CommanderStorm
Copy link
Collaborator

We never could reproduce this in

Please consider upgrading to v2

@CommanderStorm CommanderStorm changed the title getting error repeatedly TypeError: callback is not a function Dec 13, 2024
@douxltechnologies
Copy link
Author

but its beta release, is it ok to upgrade it to beta version?

@CommanderStorm
Copy link
Collaborator

You can upgrade to the beta version via this guide: https://github.com/louislam/uptime-kuma/wiki/Migration-From-v1-To-v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cannot-reproduce
Projects
None yet
Development

No branches or pull requests

3 participants