# "Update all" button in Apps doesn't work

**URL:** <https://help.nextcloud.com/t/update-all-button-in-apps-doesnt-work/215178>\
**Category:** ℹ️ Support\
**Tags:** beta, github\_issue\_exists, nc31\
**Created:** [January 17, 2025, 8:59am UTC](https://help.nextcloud.com/t/update-all-button-in-apps-doesnt-work/215178 "2025-01-17T08:59:08Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![davide](https://help.nextcloud.com/user_avatar/help.nextcloud.com/davide/32/493_2.png) [@davide](https://help.nextcloud.com/u/davide)\
**Post date:** [January 17, 2025, 8:59am UTC](https://help.nextcloud.com/t/update-all-button-in-apps-doesnt-work/215178/1 "2025-01-17T08:59:08Z")

</div>

Hi \*

it’s been a couple of releases that update all button doesn’t work and does nothing. Single update button seems ok.

## The Basics

- Nextcloud Server version _(e.g., 29.x.x)_:  
[Nextcloud Hub 10] (31.0.0 beta 4) on a shared OVH hosting

Firefox inspector reports:  
Uncaught (in promise) TypeError: e.update is not a function  
updateAll AppList.vue:329  
i index.js:24  
n index.js:24  
promise callback\*73958/S/i/\</\< index.js:40  
i index.js:58  
i index.js:57  
updateAll AppList.vue:328  
updateAll AppList.vue:328  
VueJS 4  
click NcButton.mjs:231  
VueJS 33

Thanks!

---

<div class="post-metadata">

**Author:** ![Ch3ck3rM0n](https://help.nextcloud.com/user_avatar/help.nextcloud.com/ch3ck3rm0n/32/68911_2.png) [@Ch3ck3rM0n](https://help.nextcloud.com/u/Ch3ck3rM0n)\
**Post date:** [February 7, 2025, 5:31am UTC](https://help.nextcloud.com/t/update-all-button-in-apps-doesnt-work/215178/2 "2025-02-07T05:31:28Z")

</div>

I am having the same issue on my 31.0.0 RC3 and earlier releases. Could you fix it?

---

<div class="post-metadata">

**Author:** ![Sanook](https://help.nextcloud.com/user_avatar/help.nextcloud.com/sanook/32/13847_2.png) [@Sanook](https://help.nextcloud.com/u/Sanook)\
**Post date:** [February 7, 2025, 7:07am UTC](https://help.nextcloud.com/t/update-all-button-in-apps-doesnt-work/215178/3 "2025-02-07T07:07:52Z")

</div>

For this purpose, I have set up a cron job that automatically updates all apps once a day.

[https://docs.nextcloud.com/server/stable/admin\_manual/configuration\_server/occ\_command.html#apps-commands](https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/occ_command.html#apps-commands)

---

<div class="post-metadata">

**Author:** ![davide](https://help.nextcloud.com/user_avatar/help.nextcloud.com/davide/32/493_2.png) [@davide](https://help.nextcloud.com/u/davide)\
**Post date:** [February 7, 2025, 7:46am UTC](https://help.nextcloud.com/t/update-all-button-in-apps-doesnt-work/215178/4 "2025-02-07T07:46:36Z")

</div>

that is a great workaround 🙂 Thanks for the suggestion!

---

<div class="post-metadata">

**Author:** ![Ch3ck3rM0n](https://help.nextcloud.com/user_avatar/help.nextcloud.com/ch3ck3rm0n/32/68911_2.png) [@Ch3ck3rM0n](https://help.nextcloud.com/u/Ch3ck3rM0n)\
**Post date:** [February 7, 2025, 8:24am UTC](https://help.nextcloud.com/t/update-all-button-in-apps-doesnt-work/215178/5 "2025-02-07T08:24:14Z")

</div>

That’s not fixing the issue but I like the workaround and implement it too.

For all upcoming people with this problem, I added just this with “ **crontab -e** ”:

> “\* 1 \*/1 \* \* sudo -u www-data /var/www/nextcloud/occ app:update --all”  
> (it is updating at 01:00 a.m. every day)

---

<div class="post-metadata">

**Author:** ![bb77](https://help.nextcloud.com/letter_avatar/bb77/32/5_5575768a8748004e209b776fc1b2916d.png) [@bb77](https://help.nextcloud.com/u/bb77)\
**Post date:** [February 7, 2025, 9:39am UTC](https://help.nextcloud.com/t/update-all-button-in-apps-doesnt-work/215178/6 "2025-02-07T09:39:37Z")

</div>

> [@Ch3ck3rM0n](#):
>
> 1 \*/1 \* \* sudo -u www-data /var/www/nextcloud/occ app:update --all  
> (it is updating at 01:00 a.m. every day)

I don’t like to pick on well-intentioned posts, but unfortunately there are a couple of problems with your command that will cause it to not work as intended, and probably not work at all.

1. There is a missing `*`, the correct syntax would be `1 */1 * * *`. However, this would still not work as intended, as it would run the command on the first minute of _every_ hour. To run it every night at 01:00, the correct expression would be `0 1 * * *`.

2. cron won’t be able to run the `occ` script directly without further adjustments, i.e. it needs to be run with `php’.

3. This is more of a nit-pick and not a strict requirement for it to work, but I would recommend adding the command to the crontab of `www-data` rather than using `sudo -u www-data` in the crontab of the root user.

Here’s a working example to run it every night at 01:00 on Debian/Ubuntu based systems:

Open the crontab of `www-data` in edit mode…

```auto
crontab -u www-data -e

```

…and add the following line:

```auto
0 1 * * * php -f /var/www/nextcloud/occ app:update --all

```

…or even better, add it with the full path to the `php` binary:

```auto
0 1 * * * /usr/bin/php -f /var/www/nextcloud/occ app:update --all

```

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/5_5575768a8748004e209b776fc1b2916d.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [February 20, 2025, 9:16am UTC](https://help.nextcloud.com/t/update-all-button-in-apps-doesnt-work/215178/7 "2025-02-20T09:16:11Z")

</div>

I started to see these issues as well for NC31RC4, so I created a bug report (it was working on NC 30 however):

> <https://github.com/nextcloud/server/issues/50915>
>
> \### ⚠️ This issue respects the following points: ⚠️
> 
> \- \[x\] This is a \*\*bug\*\*, no…t a question or a configuration/webserver/proxy issue.
> \- \[x\] This issue is \*\*not\*\* already reported on \[Github\](https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3Abug) OR \[Nextcloud Community Forum\](https://help.nextcloud.com/) \_(I've searched it)\_.
> \- \[x\] Nextcloud Server \*\*is\*\* up to date. See \[Maintenance and Release Schedule\](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
> \- \[x\] I agree to follow Nextcloud's \[Code of Conduct\](https://nextcloud.com/contribute/code-of-conduct/).
> 
> \### Bug description
> 
> When trying to update all apps at the same time, the update all button does not create any reaction at all.
> 
> Side note: You can still update the apps individually.
> 
> \### Steps to reproduce
> 
> 1. Go to apps section
> 2. Select on the left "Updates"
> 3. Click on the \`update all\` button
> 4. Nothing happens.
> 
> In the browser console, this error pops up:
> 
> !\[Image\](https://github.com/user-attachments/assets/ebdadd6e-e786-44af-a1d9-266b45b66be4)
> 
> In the network tab, all resources were loaded without error. When clicking on the update all button, no additional lines pop up.
> 
> \### Expected behavior
> 
> Apps should start to update.
> 
> But there is no reaction at all.
> On NC 30, I did not have this problem, so it isn't directly linked to: https://github.com/nextcloud/server/issues/49866
> 
> However, for NC 31, there are other reports on the forum: https://help.nextcloud.com/t/update-all-button-in-apps-doesnt-work/215178
> 
> \### Nextcloud Server version
> 
> 31
> 
> \### Operating system
> 
> Other
> 
> \### PHP engine version
> 
> PHP 8.2
> 
> \### Web server
> 
> Nginx
> 
> \### Database engine version
> 
> MariaDB
> 
> \### Is this bug present after an update or on a fresh install?
> 
> Upgraded to a MAJOR version (ex. 31 to 32)
> 
> \### Are you using the Nextcloud Server Encryption module?
> 
> Encryption is Disabled
> 
> \### What user-backends are you using?
> 
> \- \[x\] Default user-backend \_(database)\_
> \- \[\] LDAP/ Active Directory
> \- \[\] SSO - SAML
> \- \[\] Other
> 
> \### Configuration report
> 
> \`\`\`json
> {
> "system": {
> "instanceid": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "passwordsalt": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "secret": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "trusted\_domains": \[
> "nextcloud.aspekte.net",
> "\[2a01:4f8:160:329a::237\]"
> \],
> "datadirectory": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "overwrite.cli.url": "https:\\/\\/nextcloud.aspekte.net",
> "overwriteprotocol": "https",
> "htaccess.RewriteBase": "\\/",
> "dbtype": "mysql",
> "version": "31.0.0.15",
> "dbname": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbhost": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbtableprefix": "oc\_",
> "dbuser": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbpassword": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "logtimezone": "UTC",
> "installed": true,
> "updater.release.channel": "beta",
> "loglevel": 0,
> "log\_rotate\_size": 10485760,
> "maintenance": false,
> "allow\_user\_to\_change\_display\_name": true,
> "theme": "",
> "memcache.local": "\\\\OC\\\\Memcache\\\\APCu",
> "memcache.locking": "\\\\OC\\\\Memcache\\\\Redis",
> "redis": {
> "host": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "port": 0
> },
> "mail\_from\_address": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "mail\_smtpmode": "sendmail",
> "mail\_domain": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "mail\_smtpdebug": true,
> "mail\_smtphost": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "app\_install\_overwrite": \[
> "checksum",
> "user\_external",
> "radio",
> "files\_automatedtagging",
> "bookmarks",
> "gpxedit",
> "health",
> "metadata",
> "gpxmotion",
> "checksum\_api",
> "maps",
> "files\_staticmimecontrol",
> "flowupload",
> "news"
> \],
> "mysql.utf8mb4": true,
> "default\_phone\_region": "DE",
> "maintenance\_window\_start": 1,
> "allow\_local\_remote\_servers": true,
> "debug": false,
> "mail\_sendmailmode": "pipe"
> }
> }
> \`\`\`
> 
> \### List of activated Apps
> 
> \`\`\`shell
> 
> \`\`\`
> 
> \### Nextcloud Signing status
> 
> \`\`\`shell
> Enabled:
> - activity: 4.0.0
> - app\_api: 5.0.2
> - bookmarks: 15.0.5
> - bruteforcesettings: 4.0.0
> - calendar: 5.1.0
> - checksum: 1.2.5
> - cloud\_federation\_api: 1.14.0
> - comments: 1.21.0
> - contacts: 7.0.0-rc.2
> - contactsinteraction: 1.12.0
> - cospend: 3.0.11
> - dashboard: 7.11.0
> - dav: 1.33.0
> - deck: 1.15.0-beta.2
> - end\_to\_end\_encryption: 1.17.0-beta.4
> - federatedfilesharing: 1.21.0
> - federation: 1.21.0
> - files: 2.3.1
> - files\_accesscontrol: 2.0.0
> - files\_automatedtagging: 2.0.0
> - files\_downloadlimit: 4.0.0
> - files\_external: 1.23.0
> - files\_pdfviewer: 4.0.0
> - files\_reminders: 1.4.0
> - files\_sharing: 1.23.1
> - files\_trashbin: 1.21.0
> - files\_versions: 1.24.0
> - firstrunwizard: 4.0.0
> - flow\_notifications: 2.0.0
> - forms: 5.0.0-alpha.2
> - integration\_discourse: 2.3.0
> - logreader: 4.0.0
> - lookup\_server\_connector: 1.19.0
> - mail: 4.2.0-rc.3
> - maps: 1.6.0
> - news: 25.2.1-beta.2
> - nextcloud\_announcements: 3.0.0
> - notifications: 4.0.0
> - oauth2: 1.19.1
> - password\_policy: 3.0.0
> - photos: 4.0.0-dev.1
> - polls: 8.0.0-alpha8
> - privacy: 3.0.0
> - profile: 1.0.0
> - provisioning\_api: 1.21.0
> - recommendations: 4.0.0
> - related\_resources: 2.0.0
> - serverinfo: 3.0.0
> - settings: 1.14.0
> - sharebymail: 1.21.0
> - systemtags: 1.21.1
> - text: 5.0.0
> - theming: 2.6.1
> - twofactor\_backupcodes: 1.20.0
> - twofactor\_totp: 13.0.0-dev.0
> - updatenotification: 1.21.0
> - user\_status: 1.11.0
> - viewer: 4.0.0
> - weather\_status: 1.11.0
> - webhook\_listeners: 1.2.0
> - workflow\_script: 2.0.0
> - workflowengine: 2.13.0
> \`\`\`
> 
> \### Nextcloud Logs
> 
> \`\`\`json
> When clicking on the update all button, there is no activity at all in the nextcloud.log.
> \`\`\`
> 
> \### Additional info
> 
> \_No response\_

---

<div class="post-metadata">

**Author:** ![mike-rosenlof](https://help.nextcloud.com/letter_avatar/mike-rosenlof/32/5_5575768a8748004e209b776fc1b2916d.png) [@mike-rosenlof](https://help.nextcloud.com/u/mike-rosenlof)\
**Post date:** [February 20, 2025, 3:34pm UTC](https://help.nextcloud.com/t/update-all-button-in-apps-doesnt-work/215178/8 "2025-02-20T15:34:52Z")

</div>

I see something similar in my current 30.0.06, but have seen it on earlier versions. The ‘update all’ button in my case will update one app and only one. The single update button works fine. It happened just this morning, I think the apps were Contacts and Calendar. I think.

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/5_5575768a8748004e209b776fc1b2916d.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [February 20, 2025, 5:38pm UTC](https://help.nextcloud.com/t/update-all-button-in-apps-doesnt-work/215178/9 "2025-02-20T17:38:40Z")

</div>

I have linked a [different topic](https://github.com/nextcloud/server/issues/49866) in my bug report which is different (because it existed before). If that is similar, then it will be addressed at some point, you can give it a thumbs up to show you are affected as well.  
If yours is different, you can open a new independent bug report.

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [February 28, 2025, 5:39pm UTC](https://help.nextcloud.com/t/update-all-button-in-apps-doesnt-work/215178/10 "2025-02-28T17:39:15Z")

</div>

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