NextCloud Install App from GitHub

From WikiMLT

In­stall oc­Down­loader app on NextCloud 24

In the cur­rent case I was in need to try out the parched ver­sion 1.9 (not merged pull re­quest) of oc­Down­loader which is com­pat­i­ble with Nex­Cloud 24. So the first step is to get the down­load­able link from the tar­get repos­i­to­ry.

Then go in­to the NextCloud's apps di­rec­to­ry and clone the repos­i­to­ry. Re­move the ex­ist­ing oc­Down­loader app and clone the tar­get one.

cd /var/www/<nextcloud>/apps
sudo rm -R ocdownloader
sudo git clone https://github.com/JasonPoon-cn/ocdownloader.git
sudo chown -R www-data:www-data ocdownloader

Fi­nal­ly go in­to the NextCloud's doc­u­ment root di­rec­to­ry and run the up­dater script.

sudo -u www-data php occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Updating <ocdownloader> ...
Updated <ocdownloader> to 1.9.0
Starting code integrity check...
Finished code integrity check
Update successful
Turned off maintenance mode
Resetting log level

Ref­er­ences