NextCloud Install App from GitHub: Difference between revisions

From WikiMLT
m (Стадий: 5 [Фаза:Утвърждаване, Статус:Авторизиран]; Категория:Linux Server)
m (Стадий: 6 [Фаза:Утвърждаване, Статус:Утвърден]; Категория:Linux Server)
Line 41: Line 41:
  | Прндл  = Linux Server
  | Прндл  = Linux Server
  | Прндл1 = Web Servers
  | Прндл1 = Web Servers
  | Стадий = 5
  | Стадий = 6
  | Фаза  = Утвърждаване
  | Фаза  = Утвърждаване
  | Статус = Авторизиран
  | Статус = Утвърден
  | ИдтПт  = Spas
  | ИдтПт  = Spas
  | РзбПт  = Spas
  | РзбПт  = Spas

Revision as of 08:06, 15 August 2022

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