NCP Update to v.1.50.0 fails to 503

It’s not very likely, but not impossible. Normally, updating from terminal should have been fine, updating from the web UI was broken (because I missed a very important detail: Restarting php-fpm from within a process started by php is a bad idea :see_no_evil: )

1 Like

is your patch allready uploaded? Tried your commands

sudo bash -c 'source /usr/local/etc/library.sh && clear_opcache' 
sudo service php8.1-fpm restart

and still get

Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

Steps I tried so far:
Install nc 24.0.5 with ncp web panel → nc installation page was working
after initialising (by ncp webpanel) → same error with internal server error

:frowning:

Okey… This doesn’t seem to fully mitigated.

Since my problem happened after rebooting, I tried again. After rebooting, the 503 error returned!
I have to re-run those two lines of command to clear the opcache and restart php-fpm to get it back to work.

Hmm, I got 2 failed service like log2ram and logrotate reported by systemd.
The /var/loggrew too large.

Not sure how it would related with 503 issue but another reboot after fixing those issues, 503 error doesn’t return. I will monitor it for a while.

Thanks all the same!

1 Like