mikaela.github.io/n/nextcloud.md

935 B
Raw Blame History

Nextcloud survival instructions

This does not concern you, go away, unless this actually concerns you.

General

  • Install NextCloud desktop. Figure it out yourself, if its not mentioned here.

flatpak

sudo flatpak install flathub com.nextcloud.desktopclient.nextcloud --assumeyes
sudo flatpak override com.nextcloud.desktopclient.nextcloud --filesystem=~/Nextcloud:create

Sysadmin

Go away. This is likely highly specific to an undisclosed location.

cd /var/www/html
# Untested
sudo -u www-data php --define apc.enable_cli=1 occ --help
# Example: self-repair?
sudo -u www-data php --define apc.enable_cli=1 occ maintenance:repair
# Disable maintenance-mode
sudo -u www-data php --define apc.enable_cli=1 occ maintenance:mode --off
# Self-upgrade?
sudo -u www-data php --define apc.enable_cli=1 occ upgrade