How is Nextcloud update is working?

Hi there,

First of all, I’m not sure if i’m in the right section so I apologise if im’ not.

I’m running Nextcloud on my own server within a Docker image i made myself.

Of course, i don’t require any help about this image cause it’s my business. I just want to know how Nextcloud is working to see if update is needed or not, cause when I stop and restart my container, the homepage is always asking to proceed an update. I rebuilt my image from the latest version on nextcloud but it still asking for update when I restart my image.

I’m pretty sure that it’s a data persistance issue. Anyway, I would appreciate if someone could tell me how nexcloud is checking if update is needed. For the docker part, it’s my problem.

Thanks a lot for this help