Error Call to undefined method OC\Server::getEventDispatcher() Could not boot files_downloadactivity: Call to undefined method OC\Server::getEventDispatcher()

That array is used, to overwrite the depdency of those packages. Sometimes a package still works for a new Nextcloud version but the maintainer did not change the info.xml file accordingly.

For those cases this mechanism was created. The server will allow that app to be activated, even after an upgrade, once an app is in that array.
Sometimes an app in that array gets an update and keeping it in that array is no longer needed.
It is always a good idea, to completely remove that array before you do a major upgrade. That way all those not supported apps will get deactivated. Now you can try one by one, if activating it with force again does not break your server or does not produce a lot of error messages.
After deinstallation, you should remove it from that array, to prevent installation in future.

I have written a kind of → CLI-Appstore ← , that can maintain your install_overwrite for you, so that you don’t have zombie entries.

Simply install and run:

nc-apps install_overwrite

to re create your install_overwrite array or

nc-apps install_overwrite -u --allow-unstable

if you first want to update all apps and then re create your install_overwrite array, so it will remove all not more needed entries.

Then you can see exactly what not supported apps are activated.

Much luck,
ernolf

2 Likes