Updating (The following extra files have been found: .cache)

Hello,

I tried to update Nextcloud from version 27.0.1 to version 27.0.2.
In the check for expected files part I got the error “The following extra files have been found: .cache”

image

I found a .cache folder in ./.cache with an empty motd.legal-displayed file in there. I’ve tried to move it elsewhere and restarted the server, but the error still appears.

Usually Nextcloud complains about unexpected files only if they are found in the Nextcloud document root, where e.g. the occ script resides. Please check that location too. A cache folder is usually being created in a users home directory. You should make sure that the web users home directory, under which the web server is running, is not the Nextcloud document root folder.

Thank you. I missed this, but found it after re-checking

Hello,
I am getting the similar error with my nextcloud instance when I am trying to update from 30.0.0 to 30.0.2. It’s installed on Ubuntu Server 22.04. My extra flies are .reuse and LICENCES. Any help would be much appreciative.
image

If you realy (realy?) need help to remove those files, you can use the → nc-integrity-fix ← script. That one will help you with the removal.


Much and good luck,
ernolf

Thank you…that worked!!!

1 Like