[SUPPORT] Uptime Kuma - CorneliousJD Repo


Recommended Posts

On 11/6/2021 at 8:44 AM, MarekNosek said:

But as you said I am suspecting the problem to be elsewhere, because I have nextcloud docker containers "crashing" on me from time to time as well. And I am kinda lost and do not know how to troubleshoot it .

You will for sure want to start by checking the logs (click the docker container icon and click the logs button) when a crash happens to see what the last thing it logged was, it should give you some insight as to what is crashing or why hopefully.

 

I can say that I run both Nextcloud and Uptime Kuma (as well as about 25-30 other containers) without crashes for months on end, so it definately seems to be something on your end.

 

Once you get some logs feel free to post the relevant info here and I'll take a peek and see if there's anything I can help you on.

Link to comment
3 hours ago, CorneliousJD said:

last thing it logged was

There is nothing unusual. It shows the last checks done. No error. 

On the other hand docker stats show O% while the container is "officially running". 

903080496_Screenshot2021-11-08at17_57_44.thumb.png.e3f1016dd56e26643f3225bd35305080.png

 

and the "docker container tops show : "Error response from daemon: container is not running"

 

 

3 hours ago, CorneliousJD said:

it definately seems to be something on your end.

 

No doubt. I am not even trying to blame anyone else :) . I would just love to make it work as it is supposed to be. It just drives me nuts that I have no idea where to look for problems. 

 

Nov  7 23:40:04 Darwin flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
### [PREVIOUS LINE REPEATED 91 TIMES] ###
Nov  8 01:16:01 Darwin kernel: traps: monitor[4838] general protection fault ip:154eae741eb2 sp:7fff7b56f728 error:0 in libglib-2.0.so.0.6600.2[154eae720000+82000]
Nov  8 01:16:16 Darwin flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
Nov  8 01:16:16 Darwin crond[2906]: exit status 139 from user root /usr/local/emhttp/plugins/dynamix/scripts/monitor &> /dev/null
Nov  8 01:16:16 Darwin sSMTP[5518]: Creating SSL connection to host
Nov  8 01:16:16 Darwin sSMTP[5518]: SSL connection using TLS_AES_256_GCM_SHA384
Nov  8 01:16:16 Darwin sSMTP[5518]: Authorization failed (535 5.7.8  https://support.google.com/mail/?p=BadCredentials h1sm14329134wmb.7 - gsmtp)
Nov  8 01:17:16 Darwin flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
### [PREVIOUS LINE REPEATED 70 TIMES] ###
Nov  8 02:30:13 Darwin crond[2906]: exit status 1 from user root /usr/local/sbin/mover &> /dev/null
Nov  8 02:30:24 Darwin flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
### [PREVIOUS LINE REPEATED 381 TIMES] ###
Nov  8 09:05:01 Darwin kernel: php7[2654]: segfault at 152ca3cc2420 ip 0000152c937a1e72 sp 00007fff413831d0 error 4 in opcache.so[152c9377e000+5b000]
Nov  8 09:05:01 Darwin kernel: Code: 2f 3c 02 74 7b 0f b6 43 1f 3c 04 75 a3 48 63 4b 10 4c 89 c2 48 83 e9 50 48 c1 f9 04 89 c8 48 d3 e2 c1 e8 06 48 09 14 c7 eb 8e <66> 0f 1f 44 00 00 48 63 4b 0c 0f b6 73 1c 48 83 e9 50 48 c1 f9 04
Nov  8 09:05:12 Darwin flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update
### [PREVIOUS LINE REPEATED 517 TIMES] ###
Nov  8 18:01:41 Darwin kernel: docker0: port 6(veth0e7656b) entered disabled state
Nov  8 18:01:41 Darwin kernel: veth03f5459: renamed from eth0
Nov  8 18:01:41 Darwin avahi-daemon[6821]: Interface veth0e7656b.IPv6 no longer relevant for mDNS.
Nov  8 18:01:41 Darwin avahi-daemon[6821]: Leaving mDNS multicast group on interface veth0e7656b.IPv6 with address fe80::a812:e3ff:fe3b:8a1f.
Nov  8 18:01:41 Darwin kernel: docker0: port 6(veth0e7656b) entered disabled state
Nov  8 18:01:41 Darwin kernel: device veth0e7656b left promiscuous mode
Nov  8 18:01:41 Darwin kernel: docker0: port 6(veth0e7656b) entered disabled state
Nov  8 18:01:41 Darwin avahi-daemon[6821]: Withdrawing address record for fe80::a812:e3ff:fe3b:8a1f on veth0e7656b.
Nov  8 18:01:41 Darwin kernel: docker0: port 6(veth7914760) entered blocking state
Nov  8 18:01:41 Darwin kernel: docker0: port 6(veth7914760) entered disabled state
Nov  8 18:01:41 Darwin kernel: device veth7914760 entered promiscuous mode
Nov  8 18:01:41 Darwin kernel: docker0: port 6(veth7914760) entered blocking state
Nov  8 18:01:41 Darwin kernel: docker0: port 6(veth7914760) entered forwarding state
Nov  8 18:01:41 Darwin kernel: eth0: renamed from veth11cb461
Nov  8 18:01:41 Darwin kernel: IPv6: ADDRCONF(NETDEV_CHANGE): veth7914760: link becomes ready
Nov  8 18:01:42 Darwin avahi-daemon[6821]: Joining mDNS multicast group on interface veth7914760.IPv6 with address fe80::b465:25ff:fe8b:a5ff.
Nov  8 18:01:42 Darwin avahi-daemon[6821]: New relevant interface veth7914760.IPv6 for mDNS.
Nov  8 18:01:42 Darwin avahi-daemon[6821]: Registering new address record for fe80::b465:25ff:fe8b:a5ff on veth7914760.*.
Nov  8 18:02:16 Darwin flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php update

 

 

I do appreciate your help. If anything seems odd, let me know. Thank you bunch !!!

Link to comment
2 minutes ago, MarekNosek said:

I do appreciate your help. If anything seems odd, let me know. Thank you bunch !!!

 

I'm not a big unraid expert myself but there's so many people here willing to help.

Since this is affecting multiple containers crashing on you, it may be worthwhile to post your system diagnostics to the general help/support page and note that multiple docker containers are crashing regularly and that you're seeking help trying to narrow down what to look for and what it may be.

Link to comment
  • 1 month later...

I'm usually pretty keen on figuring out the simplest of things (which I think this should be one) but, alas, here I am to ask...

 

How can I determine which version of Uptime Kuma I'm running?

 

Normally I'd console into the docker, do a ps -aux to find the executable and then do something like <executable name> -v

 

However, this container has no ps, so I'm scratching my head.

 

Thanks in advance.

Link to comment
  • 1 month later...
On 12/8/2021 at 12:39 PM, kcgodwins said:

I'm usually pretty keen on figuring out the simplest of things (which I think this should be one) but, alas, here I am to ask...

 

How can I determine which version of Uptime Kuma I'm running?

 

Normally I'd console into the docker, do a ps -aux to find the executable and then do something like <executable name> -v

 

However, this container has no ps, so I'm scratching my head.

 

Thanks in advance.

Go to the Uptime Kuma GUI and navigate to the Settings page. Select 'About' and you should see the version there.

  • Like 1
Link to comment
  • 3 weeks later...

 

Hello,

 

Been running UptimeKuma for a bit now, looking at the catch drive with

inotifywait -e create,modify,attrib,moved_from,moved_to --timefmt %c --format '%T %_e %w %f' -mr /mnt/cache/

and I'm seen a bunch of kuma.db-wal

Wed Feb  9 11:32:15 2022 MODIFY /mnt/cache/appdata/uptimekuma/ kuma.db-wal
Wed Feb  9 11:32:15 2022 MODIFY /mnt/cache/appdata/uptimekuma/ kuma.db-wal
Wed Feb  9 11:32:15 2022 MODIFY /mnt/cache/appdata/uptimekuma/ kuma.db-wal
Wed Feb  9 11:32:15 2022 MODIFY /mnt/cache/appdata/uptimekuma/ kuma.db-wal
Wed Feb  9 11:32:15 2022 MODIFY /mnt/cache/appdata/uptimekuma/ kuma.db-wal
Wed Feb  9 11:32:15 2022 MODIFY /mnt/cache/appdata/uptimekuma/ kuma.db-wal
Wed Feb  9 11:32:15 2022 MODIFY /mnt/cache/appdata/uptimekuma/ kuma.db-wal

 

anyone know what this kuma.db.-wal is?

Edited by Tolete
Link to comment
1 minute ago, Tolete said:

 

Hello,

 

Been running UptimeKuma was a bit now, looking at the catch drive with

inotifywait -e create,modify,attrib,moved_from,moved_to --timefmt %c --format '%T %_e %w %f' -mr /mnt/cache/

and I'm seen a bunch of kuma.db-wal

Wed Feb  9 11:32:15 2022 MODIFY /mnt/cache/appdata/uptimekuma/ kuma.db-wal
Wed Feb  9 11:32:15 2022 MODIFY /mnt/cache/appdata/uptimekuma/ kuma.db-wal
Wed Feb  9 11:32:15 2022 MODIFY /mnt/cache/appdata/uptimekuma/ kuma.db-wal
Wed Feb  9 11:32:15 2022 MODIFY /mnt/cache/appdata/uptimekuma/ kuma.db-wal
Wed Feb  9 11:32:15 2022 MODIFY /mnt/cache/appdata/uptimekuma/ kuma.db-wal
Wed Feb  9 11:32:15 2022 MODIFY /mnt/cache/appdata/uptimekuma/ kuma.db-wal
Wed Feb  9 11:32:15 2022 MODIFY /mnt/cache/appdata/uptimekuma/ kuma.db-wal

 

anyone know what this kuma.db.-wal is?

Thats just part of SQLite and how it functions. 

 

Iirc it's similar to journal

Link to comment
1 hour ago, CorneliousJD said:

Thats just part of SQLite and how it functions. 

 

Iirc it's similar to journal

 

Understood, thank you. 

Looking to cut down on the constant writes. Wondering if the heartbeat interval for each of the 'monitor' is the culprit in this case?

causing the modification to the kuma.db-wal

Edited by Tolete
Link to comment
  • 3 months later...

How to configure Kuma if i need to check photo.mysite.com but getting auth.mysite.com becose of authelia installed maybe to change somethink in Nginx Proxy Manager 

for request from kuma will not go to auth or its need to be done in config GET of Kuma ?

Edited by Masterwishx
Link to comment
11 hours ago, Masterwishx said:

How to configure Kuma if i need to check photo.mysite.com but getting auth.mysite.com becose of authelia installed maybe to change somethink in Nginx Proxy Manager 

for request from kuma will not go to auth or its need to be done in config GET of Kuma ?

 

This is beyond the scope of unraid-specific support, you'll likely have better luck posting in their project page/github for assistance with this one, sorry!

Link to comment
  • 1 month later...

Question regarding Cloudflare Tunnels and this application: 

  • I've setup the container, and its setup on its own IP address - local access is not an issue.
  • I've got the tunnel built and its talking/showing connected
  • I cannot access the site remotely

Am I wrong in thinking that the tunnel connection should not necessitate me creating an A record in my domain and port forwarding for this connection?

Link to comment
10 hours ago, dieselpwr3d said:

Question regarding Cloudflare Tunnels and this application: 

  • I've setup the container, and its setup on its own IP address - local access is not an issue.
  • I've got the tunnel built and its talking/showing connected
  • I cannot access the site remotely

Am I wrong in thinking that the tunnel connection should not necessitate me creating an A record in my domain and port forwarding for this connection?

 

This would appear to be unrelated to the container and is a Cloudflare tunnel issue so not something I can really offer any support on.

 

I reverse proxy 3 uptime kuma's with Nginx reverse proxy without any issues at all.

Cloudflare is my dynamic DNS provider and I have a letsencrypt wildcard cert on my domain, makes reverse proxy setups dead-simple for me, have never dealt with their tunnels.

Link to comment
  • 4 months later...

Cloudflare 'bot fighting mode' blocking some of the monitors.
 

-------------------------------------------
Matched service:Export event JSON
Service:Bot fight mode
Action taken:JS Challenge
-------------------------------------------
Request details
Ray ID:
IP address:
ASN:AS701 UUNET
Country:United States
User agent:Uptime-Kuma/1.18.5
HTTP Version:HTTP/1.1
Method:GET
Host:sub.mydomain.com
Path:/
Query string:Empty query string
-------------------------------------------

 

-any any suggestions?

-firewall rules don't seem to help as Cloudflare 'bot fighting mode' overrides firewall rules.

Link to comment
  • 1 month later...

Ouch latest update seems to have wiped out everything I had.

 

I saw mention that there were back up files but those were empty also.

 

Any recommendations on this moving forward so we don't lose all data.

 

Also when I went to click on the Web gui it went to the "Create your admin account" asking for username, password, repeat password.

 

 

Edited by chip
Link to comment
2 hours ago, chip said:

Ouch latest update seems to have wiped out everything I had.

 

I saw mention that there were back up files but those were empty also.

 

Any recommendations on this moving forward so we don't lose all data.

 

Also when I went to click on the Web gui it went to the "Create your admin account" asking for username, password, repeat password.

 

 

Looks like this is just on your end - i just force-updated all my instances of uptime-kuma and have no issues.

 

you should be taking backups of all your appdata at regular invervals as well -- if you are you could restore from that?

Link to comment
  • 3 weeks later...
On 3/8/2023 at 6:16 AM, nerbonne said:

@CorneliousJD any chance you can add read only Path "/var/run" to the template so you can natively check docker containers.

 

 

Sure, just pushed an update to the template, should be live in a few hours for new installs from CA.

If you already have it installed you can just add the path you have from your screenshot for the same effect.

Link to comment
  • 1 month later...
On 3/9/2023 at 7:45 AM, CorneliousJD said:

 

Sure, just pushed an update to the template, should be live in a few hours for new installs from CA.

If you already have it installed you can just add the path you have from your screenshot for the same effect.

Thank you for this!

 

For some reason a recent Uptime Kuma or Unifi Controller update broke them talking to eachother for webpage status.

 

Found-out the docker host connection was now added. Woot!

 

image.thumb.png.b772b5e57bd3c0e45f231941fb44b3e3.png

Link to comment
  • 4 months later...

I have an idea, but not sure how to implement this (and whether it's possible at all):

When Unraid server shuts down\restarts - it sends some API command to Kuma so that it changes some websites to the Maintenance mode. And when back online (and Docker engine started) - send command that Maintenance ended (normal mode).

 

I have Kuma on an external server (VPS), so it still works when Unraid, hosting services is down

Link to comment
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.