Manual install of a nextcloud app
2021, Feb 07
Recently when updating nextcloud version’s I noticed some apps weren’t making it through to the other side.
In particular the nextcloud social app was missing after an update. When I tried to reinstall it from my clouds appstore it was giving me a failed to extract error.
So this is more of a workaround that I’ve been using in the meantime to manually install and activate it.
The steps
You will need ssh access to your cloud server and root.
- Just to clarify
sudo su
to become root. - Then change to your nextcloud installations apps directory.
- You can use
wget
to download the apps tar.gz release file from github. - extract the file with
tar -zxvf
- remove the compressed file
- set proper permissions with
chown
- use
occ
to enable app.- occ lives in your nextcloud installations root folder and is run from there.
sudo -u www-data /var/www/nextcloud/occ