HTTP 503 = Maintenance.
The server is busy upgrading the database (which is a large upgrade in PMS 1.40.0)
Please see the release announcement for details.
When the upgrade is complete, PMS will again open normally.
Be advised, CasaOS is not a supported distribution.