Marketplace URL: Market
market commands install, uninstall, list, and upgrade applications from the ownCloud Marketplace.
market market:install Install apps from the marketplace. If already installed and an update is available the update will be installed. market:uninstall Uninstall apps from the marketplace. market:list Lists apps as available on the marketplace. market:upgrade Installs new app versions if available on the marketplace
The user running the update command, which will likely be your webserver user, requires write permission for the
|If they don’t have write permission, the command may report that the update was successful, but it may silently fail.|
These commands are not available in single-user (maintenance) mode. For more details please see the Maintenance Commands section in the occ core command set.
Applications can be installed both from the ownCloud Marketplace and from a local file archive.
To install an application from the Marketplace, you need to supply the app’s id, which can be found in the app’s Marketplace URL.
For example, the URL for Two factor backup codes is https://marketplace.owncloud.com/apps/twofactor_backup_codes.
So its app id is
sudo -u www-data php occ market:install <ids> [option]
To install an application from a local file archive, you need to supply the path to the archive, and that you pass the
bzip2 archives are supported.
# Install an app from the marketplace. sudo -u www-data php occ market:install twofactor_backup_codes # Install an app from a local archive. sudo -u www-data php occ market:install -l /mnt/data/richdocuments-2.0.0.tar.gz
The target directory has to be accessable to the webserver user and you have to enable the app afterwards with the
This command lists apps available on the marketplace. It returns the ids of the apps.
sudo -u www-data php occ market:list