Bad Gateway

this morning i opened my webodm server to get a Bad gateway message. so i figured reboot the server. now the site loads but the Dashboard says “Could not load projects list: error”. any help is appreciated.

I reran the and now everything is back to normal. I also have a lot more disk space. One of the recent updates must have cleaned up some storage bloat.

Same thing happened to my WebODM
I am confident that server restarted overnight (probably some security updates were installed) re-running didn’t solve my issue though.
Could anybody suggest what could I do to fix it?
Thank you.