Upgrade from 19.0.4 to 19.0.5 using web based updater, now internal server error

Hi all,

This is for my own server: Ubuntu18LTS, MySQL, Nginx, Nextcloud,

Everything was functioning properly before the upgrade. Mature server that has gone through several web based upgrades

I used the web based updater to update from .4 -> .5 Now I am getting this error on the homepage in the browser:

## Internal Server Error

The server was unable to complete your request.

If this happens again, please send the technical details below to the server administrator.

More details can be found in the server log.

### Technical details

* Remote Address: 192.168.1.1
* Request ID: eON7n2LVKkC14wGBAs

It did go through the whole update properly before the error.

I did remove and reinstall the 19.0.5 fresh into the webfolder and moved the existing config.php file in fresh install, still same error.

I tried the new install of 19.0.4 & 20.0.2, still same error.

Stuck, don’t know what to do now.

Any assistance would be greatly appreciated.

Do you still have the Server log?
Issue might be with your router config… I see your ip listed as 192.168.1.1

I rebooted my router just now, and checked the port forwards, all good there

For the nginx error log:

2020/11/21 09:43:30 [error] 10483#10483: *5623 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Interface 'OCA\Files_External\Lib\Config\IBackendProvider' not found in /var/www/nextcloud/apps/sharepoint/lib/Backend/Provider.php on line 31" while reading response header from upstream, client: 192.168.1.1, server: nextcloud.internalinstall.com, request: "GET /index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock:", host: "nextcloud.internalinstall.com"
2020/11/21 09:43:30 [notice] 10484#10484: signal process started
2020/11/21 09:43:35 [error] 10485#10485: *5625 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Interface 'OCA\Files_External\Lib\Config\IBackendProvider' not found in /var/www/nextcloud/apps/sharepoint/lib/Backend/Provider.php on line 31" while reading response header from upstream, client: 70.75.223.11, server: nextcloud.internalinstall.com, request: "PROPFIND /remote.php/dav/calendars/PaulJ/personal/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock:", host: "nextcloud.internalinstall.com"
2020/11/21 09:43:35 [error] 10486#10486: *5626 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Interface 'OCA\Files_External\Lib\Config\IBackendProvider' not found in /var/www/nextcloud/apps/sharepoint/lib/Backend/Provider.php on line 31" while reading response header from upstream, client: 70.75.223.11, server: nextcloud.internalinstall.com, request: "PROPFIND /remote.php/dav/addressbooks/users/PaulJ/contacts/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock:", host: "nextcloud.internalinstall.com"
2020/11/21 09:43:35 [error] 10485#10485: *5630 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Interface 'OCA\Files_External\Lib\Config\IBackendProvider' not found in /var/www/nextcloud/apps/sharepoint/lib/Backend/Provider.php on line 31" while reading response header from upstream, client: 70.75.223.11, server: nextcloud.internalinstall.com, request: "PROPFIND /remote.php/dav/addressbooks/users/PaulJ/contacts/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock:", host: "nextcloud.internalinstall.com"
2020/11/21 09:43:35 [error] 10485#10485: *5629 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Interface 'OCA\Files_External\Lib\Config\IBackendProvider' not found in /var/www/nextcloud/apps/sharepoint/lib/Backend/Provider.php on line 31" while reading response header from upstream, client: 70.75.223.11, server: nextcloud.internalinstall.com, request: "REPORT /remote.php/dav/calendars/PaulJ/personal/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock:", host: "nextcloud.internalinstall.com"

What does this mean?

I have rebooted the server as well.

Try to restart Nginx, take the last official nginx configuration and write upstream like this :

upstream php-handler {
       server 127.0.0.1:9000;
       #server unix:/var/run/php/php7.2-fpm.sock;
   }

The latest nginx config : Nginx config Nextcloud

Hi Thank you

Now I am getting 502 bad gateway error

I changed from:

upstream php-handler {
    #server 127.0.0.1:9000;
    server unix:/run/php/php7.3-fpm.sock;
}

to:

upstream php-handler {
    server 127.0.0.1:9000;
    #server unix:/run/php/php7.3-fpm.sock;
}

I also restarted the nginx service.

Any other ideas?

I’m not sure that its “better”. I dont think that my proposition was very useful but you can try.

Search your www.conf configuration (/etc/php/7.7/fpm/pool.d/www.conf on my server) and comment 'listen = /run/php/php7.3-fpm.sock ', then uncomment ‘listen =127.0.0.1:9000’ (or write this line if it not exists). Restart php and nginx.