App Remove Button not working

Hello everyone,

I tried to remove an app from my Nextcloud via the Disabled Apps screen (~settings/apps/disabled).
However, the button simply does nothing on click, error message from browser console:

vue.runtime.esm.js:3065 
 TypeError: Cannot read properties of undefined (reading 'then')
    at o.remove (AppManagement.js:219:62)
    at click (AppItem.vue:12:1996)
    at hn (vue.runtime.esm.js:3033:30)
    at o.n (vue.runtime.esm.js:1832:20)
    at hn (vue.runtime.esm.js:3033:30)
    at e.$emit (vue.runtime.esm.js:3732:17)
    at click (NcButton.mjs:232:18)
    at hn (vue.runtime.esm.js:3033:30)
    at HTMLButtonElement.n (vue.runtime.esm.js:1832:20)
    at Pr.i._wrapper (vue.runtime.esm.js:7500:35)

I tried it both on Firefox 132.0.2 (64-Bit) and Microsoft Edge
Version 130.0.2849.56 (Official build) (64-bit).
Our server is with a shared hosting provider so I don’t have access to the command line.
Nextcloud Hub 9 (30.0.2)

Please advise.

1 Like

There is a bug report for this already:

and a fix:

it will be back-ported to NC 30, and should be in the next release update 30.0.3: [stable30] fix(app-store): Add back legacy store API used for update and removal by backportbot[bot] · Pull Request #49216 · nextcloud/server · GitHub (scheduled first week of December).

You can apply a patch manually:
https://docs.nextcloud.com/server/latest/admin_manual/issues/applying_patch.html
(be careful, make backups, keep in mind, that some patches have dependencies, are not fully tested, …).

2 Likes

Thank you! I tried looking on Github but must have missed it.