Skip to content

Container is Unhealthy After a Few Days #198

@fender324

Description

@fender324

Describe the bug

I'm running v5.1.7 of the omada controller on a raspberry pi 3. The container will run fine for a few days, but eventually it becomes unhealthy.

To Reproduce
Steps to reproduce the behavior:

  1. Start the container
  2. Wait a few days
  3. Container reports unhealthy and can no longer connect
  4. A restart of the container fixes the issue.

Expected behavior

The container to run without an error after a few days.

How you're launching your container

I'm running portainer, but I started the container initial from the command line using the example usage from the readme for armv7i.

docker run -d
--name omada-controller
--restart unless-stopped
-p 8088:8088
-p 8043:8043
-p 8843:8843
-p 29810:29810/udp
-p 29811:29811
-p 29812:29812
-p 29813:29813
-p 29814:29814
-e MANAGE_HTTP_PORT=8088
-e MANAGE_HTTPS_PORT=8043
-e PORTAL_HTTP_PORT=8088
-e PORTAL_HTTPS_PORT=8843
-e SHOW_SERVER_LOGS=true
-e SHOW_MONGODB_LOGS=false
-e SSL_CERT_NAME="tls.crt"
-e SSL_KEY_NAME="tls.key"
-e TZ=Etc/UTC
-v omada-data:/opt/tplink/EAPController/data
-v omada-work:/opt/tplink/EAPController/work
-v omada-logs:/opt/tplink/EAPController/logs
mbentley/omada-controller:5.1-armv7l

Container Logs

The full log is attached, but below is the log right before it stopped working (a couple of days ago).

04-06-2022 22:10:14.301 INFO [check-update-work-group-0] [] c.t.s.o.m.b.b(95): Checking Device Last Firmware...
04-06-2022 22:10:15.481 INFO [check-update-work-group-0] [] c.t.s.o.m.b.e(128): Checking last firmwares of managed devices succeed.
tail: '/opt/tplink/EAPController/logs/server.log' has become inaccessible: No such file or directory
tail: '/opt/tplink/EAPController/logs/server.log' has appeared;  following new file
04-07-2022 00:39:20.779 WARN [quartzScheduler_Worker-2] [] j.u.c.ThreadPoolExecutor$DiscardPolicy(113): FaceBookPeriodVerify Schedule ThreadPool is full, Discarding task.
04-07-2022 17:43:
45.054 INFO [maintenance-history-data-retention-283] [] c.t.s.o.m.d.c.a(40): clear omadac data with omadacId [dda303cad95d0aa6bcdcba4d6f23e64e]
04-07-2022 17:43:45.165 INFO [manager-data-retention-pool-0] [] c.t.s.c.u.l.LocalUpgradeFileCache(147): delete expired upgrade file, number = 0
04-07-2022 19:32:20.595 WARN [quartzScheduler_Worker-2] [] j.u.c.ThreadPoolExecutor$DiscardPolicy(113): FaceBookPeriodVerify Schedule ThreadPool is full, Discarding task.
04-07-2022 22:10:14.241 INFO [check-update-work-group-0] [] c.t.s.o.m.b.e(164): Cloud Access Not Enable, cancel sync cloud user.
04-07-2022 22:10:14.281 INFO [check-update-work-group-0] [] c.t.s.o.m.b.e(118): Start checking last firmwares of managed devices.
04-07-2022 22:10:14.282 INFO [check-update-work-group-0] [] c.t.s.o.m.b.b(95): Checking Device Last Firmware...
04-07-2022 22:10:15.415 INFO [check-update-work-group-0] [] c.t.s.o.m.b.e(128): Checking last firmwares of managed devices succeed.
tail: '/opt/tplink/EAPController/logs/server.log' has been replaced;  following new file
04-08-2022 07:39:05.958 WARN [quartzScheduler_Worker-1] [] j.u.c.ThreadPoolExecutor$DiscardPolicy(113): FaceBookPeriodVerify Schedule ThreadPool is full, Discarding task.
04-08-2022 07:39:07.664 INFO [quartzScheduler_Worker-1] [] c.t.s.o.c.b.c(61): cloud schedule queue is full, discard.
04-08-2022 17:43:45.056 INFO [maintenance-history-data-retention-307] [] c.t.s.o.m.d.c.a(40): clear omadac data with omadacId [dda303cad95d0aa6bcdcba4d6f23e64e]
04-08-2022 17:43:45.159 INFO [manager-data-retention-pool-0] [] c.t.s.c.u.l.LocalUpgradeFileCache(147): delete expired upgrade file, number = 0
04-08-2022 22:10:14.244 INFO [check-update-work-group-0] [] c.t.s.o.m.b.e(164): Cloud Access Not Enable, cancel sync cloud user.
04-08-2022 22:10:14.285 INFO [check-update-work-group-0] [] c.t.s.o.m.b.e(118): Start checking last firmwares of managed devices.
04-08-2022 22:10:14.286 INFO [check-update-work-group-0] [] c.t.s.o.m.b.b(95): Checking Device Last Firmware...
04-08-2022 22:10:15.510 INFO [check-update-work-group-0] [] c.t.s.o.m.b.e(128): Checking last firmwares of managed devices succeed.
tail: '/opt/tplink/EAPController/logs/server.log' has been replaced;  following new file
04-09-2022 17:43:45.049 INFO [maintenance-history-data-retention-331] [] c.t.s.o.m.d.c.a(40): clear omadac data with omadacId [dda303cad95d0aa6bcdcba4d6f23e64e]
04-09-2022 17:43:45.171 INFO [manager-data-retention-pool-0] [] c.t.s.c.u.l.LocalUpgradeFileCache(147): delete expired upgrade file, number = 0
04-09-2022 21:54:54.462 INFO [https-jsse-nio-8043-exec-3] [] c.t.s.o.c.d.a.l(210): connect failure list is empty
04-09-2022 21:55:08.301 INFO [https-jsse-nio-8043-exec-7] [] c.t.s.o.c.d.a.l(210): connect failure list is empty
04-09-2022 22:10:14.254 INFO [check-update-work-group-0] [] c.t.s.o.m.b.e(164): Cloud Access Not Enable, cancel sync cloud user.
04-09-2022 22:10:14.286 INFO [check-update-work-group-0] [] c.t.s.o.m.b.e(118): Start checking last firmwares of managed devices.
04-09-2022 22:10:14.288 INFO [check-update-work-group-0] [] c.t.s.o.m.b.b(95): Checking Device Last Firmware...
04-09-2022 22:10:15.540 INFO [check-update-work-group-0] [] c.t.s.o.m.b.e(128): Checking last firmwares of managed devices succeed.
04-09-2022 22:14:57.339 WARN [https-jsse-nio-8043-exec-6] [] o.s.w.s.m.s.DefaultHandlerExceptionResolver(207): Resolved [org.springframework.http.converter.HttpMessageNotWritableException: No converter for [class java.util.LinkedHashMap] with preset Content-Type 'application/javascript;charset=UTF-8']
04-10-2022 04:07:56.083 WARN [SessionValidationThread-1] [] c.t.s.o.i.p.c.a.c(69): omadacId=dda303cad95d0aa6bcdcba4d6f23e64e deleteSessionById sessionId=7f0edc7f12514b4dae0c4751dd604560 not exist.
tail: '/opt/tplink/EAPController/logs/server.log' has become inaccessible: No such file or directory
tail: '/opt/tplink/EAPController/logs/server.log' has appeared;  following new file
04-10-2022 14:20:01.642 WARN [quartzScheduler_Worker-1] [] j.u.c.ThreadPoolExecutor$DiscardPolicy(113): FaceBookPeriodVerify Schedule ThreadPool is full, Discarding task.
04-10-2022 14:23:10.875 WARN [quartzScheduler_Worker-1] [] j.u.c.ThreadPoolExecutor$DiscardPolicy(113): FaceBookPeriodVerify Schedule ThreadPool is full, Discarding task.

Additional context

output.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions