Upgrade from 16.0.1 to 17 internal error 500 on Ubuntu 20

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com 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): 16.0.1
Operating system and version (eg, Ubuntu 20): Ubuntu 18.04.5 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4
PHP version (eg, 7.4): PHP 7.3

The issue you are facing:

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

Steps to replicate it:

  1. Upgrade from 16.0.1 to 17.0.10
  2. Internal error 500 after upgrade
  3. Noticed that web console is pointing to /app/file after upgrade but before it was /index.php/login

Nextcloud 16 + 17 have both already been declared End-of-Life, so you won’t get any support on it anymore.

Therefore my usual recommendation is to check the Nextcloud server log file for any error messages and to use the search function of this forum to find answers on your question, like e.g.:

it’s not recommendend (possible) to upgrade directly from 16.0 to 17.X:
(in short: always use the latest point relaease of the previous version before upgrading to a new “major” relaease.)
but it’s possible the cause of this error is sth. else; check the server’s logs and environment.

Hi Pete,

I just don’t remember minor version 17 but I did it in both GUI and command line and 17 is the next version it offers. I agree as well that the error is not even related to the version.

Hi J,

That’s why I’m scrambling to upgrade it to the latest version but the first upgrade is giving me this error right away. Any idea as to how the page would change to /apps/file after upgrade instead of the original /index.php/login?