Invalid Hash after upgrade to 29.0.7

I am using NCP with Nextcloud 29. I have updated to Nextlcoud 29.0.7 via ncp.
After successfull update i see an error in Administration->Overview about files with invalid hashes.

Output of occ integrity:check-core

  - INVALID_HASH:
    - core/js/mimetypelist.js:
      - expected: a57779b4957bedf9bac2a5791b27957ca3e2bfe7b91fd641bb0cc56801588e0778610a26141a1393d83d77bc04be67ae625c70a7ad4afb2a7f14cb64c66ee31b
      - current: 6708ef6622265e520a795c833b226a66b627c98d70d9faf537b4047e86e403a84b646da59d2b8c47f8220eb4696d3e18f87863b7f71e49112cd18335252ecb27
  - EXTRA_FILE:
    - core/img/filetypes/dwb.svg:
      - expected: 
      - current: 43731dd5f17a048112ea5109b40b02ec019b3ee2324385a0f448e3bd2264cb13dc160ab018d893f92f8e2f168fd09009b51578c8c6b97a02a1617c67ac087701
    - core/img/filetypes/drawio.svg:
      - expected: 
      - current: 92e0974cf869bf8ab969c3442dc2b80d55fde36441d22924db74916a06b407520aa2a9dc39336f9157195ebede697ffac0e639360879255ab91932d406e1897d

I have already tried the following things, but this has not solved the problem:

  • Replace the file for which the hash was reported as invalid.
  • Executing of the repair commands
occ maintenance:mimetype:update-js
occ maintenance:mimetype:update-db

In my case there were several apps that were being reported as version 0, so the solution in my case was to manually go thru the app store (because they didn’t all show up in the “Your apps” page) and on all of your installed apps that report they are version 0, click the “Disable” button, which will cause it to change over to “Download and enable” (As if it wasn’t actually installed in the first place). Then you can just reinstall it.

You can read my process of working thru the issue over here:

That said, the error came back after I updated to 30.0 earlier today and I can’t find any apps showing version 0, so I’m not sure what’s going on at the moment.

I tried the command you posted of:

occ maintenance:mimetype:update-db

I did actually get some output, but I still have the error even after clicking the link on the Admin overview page to “rescan”.

I may not have expressed myself clearly enough. The commands did not solve the problem.
I wanted to document the things I have already tried.

According your post i found several same issues/post on other versions. It seems that in some cases the new version has not the correct checksum information.
I don’t know if its possible to fix that manually.
I found no apps with version 0.

Same topic:

The problem is still open.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.