Internal server error on nextcloud snap update 21.01

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 20.0.1snap
Operating system and version (eg, Ubuntu 20.04): Ubuntu 21.04
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me

The issue you are facing:
After the last automatic NC snap update I could no longer enter through web interface of any kind. It says ‘internal server error’
Still my system is in use through mobile app

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____:


I had same problem!

In my case I found (systemctl status apache2.service)
PHP Fatal error: Uncaught OC\HintException: [0]: Memcache \OC\Memcache\Redis not available for distributed cache

and installed missing packet:
sudo apt install php7.4-redis

nextcloud web interface is up again! :wink:


Sorry for the delayed answer!

The suggested solution did not work on my system. Still have the same trouble ;-(