Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#65255 - [nextcloud]18.0.0-1 Command "upgrade" is not defined.

Attached to Project: Community Packages
Opened by Moth (Moth) - Friday, 24 January 2020, 14:10 GMT
Last edited by Sergej Pupykin (sergej) - Saturday, 19 September 2020, 16:32 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Wanted to install Nextcloud. Related to  FS#65254 : . To work around the latter, I have changed permission mode of `/usr/share/webapps/nextcloud/apps/` by applying `sudo chmod 755 /usr/share/webapps/nextcloud/apps`, but now I have this new bug.

$ sudo pacman -S nextcloud


Packages (1) nextcloud-18.0.0-1


Nextcloud is not installed - only a limited number of commands are available

Command "upgrade" is not defined.

error: command failed to execute correctly

Additional info:
* package version: nextcloud-18.0.0-1

Steps to reproduce:
$ sudo pacman -S nextcloud
This task depends upon

Closed by  Sergej Pupykin (sergej)
Saturday, 19 September 2020, 16:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  hook is not installed currently
Comment by Harald Koch (hkoch) - Thursday, 20 February 2020, 14:02 GMT
I don't know if it is related to your issue, but the upgrade to nextcloud-18.0.0-1 overwrote my config file /etc/webapps/nextcloud/config/config.php - I had to restore from a backup to get nextcloud running again.
Comment by z4nder (z4nder) - Thursday, 23 April 2020, 07:38 GMT
I had the same issue and it seems like this was caused by the pacman hook described in the Arch wiki (
I've removed the hook and the installation worked as expected.