Skip to content

carloscomputer/deactivatemultiplenextcloudapps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

deactivate multiple nextcloud apps at once

deactivate mulitple nextcloud apps at once With the latest upgrade to 24.0.4 I got an error something went not good while upgrading, out of my experience it's belonging to apps they are not supporting the newer versions of Nextcloud. I was looking for a way to deactivate them all in one command.

  1. sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off
  2. I did a list sudo -u www-data php /var/www/nextcloud/occ app:list >> ~/app.list
  3. I edit the list and took out all the version numbers and listing
  4. I wehre running the list througt a variable with for i in $(cat ~/app.list) do sudo -u www-data php /var/www/nextcloud/occ app:disable $i; done
  5. and than sudo -u www-data php /var/www/nextcloud/occ upgrade agian
  6. enable the apps agian for i in $(cat ~/app.list) do sudo -u www-data php /var/www/nextcloud/occ app:enable $i; done

About

deactivate mulitple nextcloud apps at once

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published