Error when trying to update to 16.0.5

When I try to update my NC installation 16.0.4 to 16.0.5 via web interface, the following message appears after initializing when I click on start update:

Check for expected files

The following extra files have been found:

  • index.nginx-debian.html

What am I need to do?

Is that file in your nextcloud folder? Try to check where it came from. I think it can be deleted, but to be sure move it to a save place. Then retry the update.

1 Like

How can I check »where it came from«? find returned the following information:

pi@raspberrypi:/ $ sudo find -name index.nginx-debian.html
find: ‘./proc/7936’: Datei oder Verzeichnis nicht gefunden
./var/www/html/index.nginx-debian.html

So, I am wondering what does it mean that in ./proc/7936 the file or directory has not been found.

The file index.nginx-debian.html only contains a welcome letter:

<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
    body {
        width: 35em;
        margin: 0 auto;
        font-family: Tahoma, Verdana, Arial, sans-serif;
    }
</style>
</head>
<body>
<h1>Welcome to nginx!</h1>
<p>If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.</p>

<p>For online documentation and support please refer to
<a href="http://nginx.org/">nginx.org</a>.<br/>
Commercial support is available at
<a href="http://nginx.com/">nginx.com</a>.</p>

<p><em>Thank you for using nginx.</em></p>
</body>
</html>

Same issue here but with different files:

The following extra files have been found:

  • nc_data
  • favicon.ico
  • css
  • test
  • img

“nc_data” is the datapath I vsync through my NAS hourly to be able to restore cropped files if anything happens.

Any help on this? All previous updates went smooth for me, so this is the first time the online update failed… (updating from 16.0.3 --> 16.0.5).

Try to move the /var/www/html/index.nginx-debian.html file somewhere else. Is your nextcloud installed into that directory? /var/www/html/

I fixed the issue through this approach:

https://help.nextcloud.com/t/update-problem-check-for-expected-files/6104/18?u=m_d_t

Since my NC data folder was included in the “not expected” list, I added it manually, however, this produced a further issue during the update, since the back-up of my 125GBs took endless time which stopped the web updater.

Therefore, I moved the NC data folder to a different location and adjusted the correct path in config.php and then the webupdate worked like a charme.

Bottom line: You may add files “to be expected” as described under the link I attached above, however, it does not work for you NC data folder.