Nextcloud version: 18.0.6 -> 18.0.7
Operating system and version: Ubuntu 16.04
Apache or nginx version: Apache 2.4.18 (backported patched, built 2020-06-15)
PHP 7.3.20
The issue you are facing:
After plesk updated my PHP Version to PHP 7.3.20 login wouldn’t work anymore. I stumbled upon a similar post here and was told to open my own thread for this. So, here we go
Is this the first time you’ve seen this error? Yes
Steps to replicate it:
call login page
login
Receive 503 service unavailable notice.
The output of your Nextcloud log in Admin > Logging:
I can't login.
This happened when Plesk updated to PHP 7.3.20 with Nextcloud 18.0.6
I tried using PHP 7.2.32, but got the same issue.
My phone alerted me that 18.0.7 is available, so I used the command line updater and updated to 18.0.7.
After this, I could log in again and use it just like normal. After 5 minutes, I got the 503 message again.
To reply to your comment in the other thread:
I have Plesk 17.8.11, maybe this is why the php-7.4 repo is missing.I can’t update as my provider won’t give me a new license for the 18 version.
I’d like to add it to plesk, but don’t know exactly where plesk saves its repos.
Sort of. But it is just a workaround, not a fix for the broken PHP 7.3. And a rather dirty one if I have to manually compile a new PHP version every single time an update rolls around.
I am still searching as to what happened for PHP 7.3.19 to be compatible and PHP 7.3.20 breaking the system. This must be fixable without tinkering a custom PHP version, as others report 7.3.20 as working.
And interestingly enough: After I updated Nextcloud, it worked for about 5 minutes, before serving the 503 again.
From time to time a login seems to be possible, but after about a minute or two, I will see the 503 again. I managed to navigate to the settings page and nextcloud reports that it can’t use the opcache module.
But opcache ist installed, also for the newest version of php. It is enabled in plesk and I checked the config files.
Sadly, I wasn’t able to access /info.php yet. Maybe I’ll get some more information there.
For my part, I installed updates within Plesk, I did not change the PHP version. I am using PHP 7.2 and since the update I can not log in anymore. My installation became unusable.
Hi Mark,
I have PHP 7.4.8 FPM/Apache.
With this enabled, I get “Internal Server Error” from the frontend, and the log just tells an Error 500 “GET / HTTP/1.0”…
FPM/Nginx results in absolutely the same problem.
Permission did not change, but checked them, looking good.
max_execution_time is 90, but the frontend error is appearing immediately without load time.
.htaccess is untouched.
memory_limit is 256M which should be enough… tried 512M without effect…
Hi Mark,
as written above: PHP 7.4 is not an option. I don’t get it offered with Plesk Onyx, and I don’t get the license from my hoster to upgrade to Obsidian. 7.3 needs to get fixed.
Additionally, some plugins of nextcloud don’t work well with 7.4 yet.