Skip to content

[BUG] <title> #170

@gabbott507

Description

@gabbott507

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Unifi Network Application will not start.

Image

Here is the compose file I am trying to use:

Image

I noticed if I remove the MEM_LIMIT and MEM_STARTUP environmental variables, there are no errors and the Unifi gets stuck here:

Image

I also found this error in my mongo logs:

Image

Expected Behavior

I am trying to use the official documentation and am just expecting the controller to start with the current compose file.

Steps To Reproduce

To reproduce the error, I simply use the compose file that was shared above and start the stack.

Image

Environment

- OS:Linux Mint 
- How docker service was installed: Using Portainer

CPU architecture

x86-64

Docker creation

I use the GUI in Portainer, not a command.

Container logs

Mongo:

t={"$date":"2025-11-17T22:44:05.416+00:00"} s=I c=CONTROL id=4784929 ctx=initandlisten msg=Acquiring the global lock for shutdown

t={"$date":"2025-11-17T22:44:05.416+00:00"} s=I c=CONTROL id=4784930 ctx=initandlisten msg=Shutting down the storage engine

t={"$date":"2025-11-17T22:44:05.416+00:00"} s=I c=STORAGE id=22320 ctx=initandlisten msg=Shutting down journal flusher thread

t={"$date":"2025-11-17T22:44:05.416+00:00"} s=I c=STORAGE id=22321 ctx=initandlisten msg=Finished shutting down journal flusher thread

t={"$date":"2025-11-17T22:44:05.416+00:00"} s=I c=STORAGE id=22322 ctx=initandlisten msg=Shutting down checkpoint thread

t={"$date":"2025-11-17T22:44:05.417+00:00"} s=I c=STORAGE id=22323 ctx=initandlisten msg=Finished shutting down checkpoint thread

t={"$date":"2025-11-17T22:44:05.417+00:00"} s=I c=STORAGE id=20282 ctx=initandlisten msg=Deregistering all the collections

t={"$date":"2025-11-17T22:44:05.417+00:00"} s=I c=STORAGE id=22317 ctx=initandlisten msg=WiredTigerKVEngine shutting down

t={"$date":"2025-11-17T22:44:05.417+00:00"} s=I c=STORAGE id=22318 ctx=initandlisten msg=Shutting down session sweeper thread

t={"$date":"2025-11-17T22:44:05.417+00:00"} s=I c=STORAGE id=22319 ctx=initandlisten msg=Finished shutting down session sweeper thread

t={"$date":"2025-11-17T22:44:05.417+00:00"} s=I c=STORAGE id=4795902 ctx=initandlisten msg=Closing WiredTiger attr={"closeConfig":"leak_memory=true,"}

t={"$date":"2025-11-17T22:44:05.417+00:00"} s=I c=WTCHKPT id=22430 ctx=initandlisten msg=WiredTiger message attr={"message":{"ts_sec":1763419445,"ts_usec":417761,"thread":"1:0x7bfba7b68cc0","session_name":"close_ckpt","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 2, snapshot max: 2 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 933"}}

t={"$date":"2025-11-17T22:44:05.418+00:00"} s=I c=WTRECOV id=22430 ctx=initandlisten msg=WiredTiger message attr={"message":{"ts_sec":1763419445,"ts_usec":418913,"thread":"1:0x7bfba7b68cc0","session_name":"WT_CONNECTION.close","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG","verbose_level_id":1,"msg":"shutdown checkpoint has successfully finished and ran for 1 milliseconds"}}

t={"$date":"2025-11-17T22:44:05.419+00:00"} s=I c=WTRECOV id=22430 ctx=initandlisten msg=WiredTiger message attr={"message":{"ts_sec":1763419445,"ts_usec":419008,"thread":"1:0x7bfba7b68cc0","session_name":"WT_CONNECTION.close","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG","verbose_level_id":1,"msg":"shutdown was completed successfully and took 1ms, including 0ms for the rollback to stable, and 1ms for the checkpoint."}}

t={"$date":"2025-11-17T22:44:05.420+00:00"} s=I c=STORAGE id=4795901 ctx=initandlisten msg=WiredTiger closed attr={"durationMillis":3}

t={"$date":"2025-11-17T22:44:05.420+00:00"} s=I c=STORAGE id=22279 ctx=initandlisten msg=shutdown: removing fs lock...


Unifi:

[custom-init] No custom files found, skipping...


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions