Android: turn on airplane mode without switching off WiFi
adb shell settings put global airplane_mode_radios "cell"
adb shell settings put global airplane_mode_radios "cell"
Add this in /path/to/nextcloud/config/config.php:
'simpleSignUpLink.shown' => false,
On Ubuntu we need to edit with www-data user rights:
sudo -u www-data nano config.php
By default, a log file named nextcloud.log will be created in the directory which has been configured by the datadirectory parameter in config/config.php.
truncate /nextcloud.log --size 0
sudo -u www-data php occ maintenance:mode --on
sudo -u www-data php occ maintenance:mode --off
Maintenance mode mode be off.
sudo -u www-data php occ trashbin:cleanup <user1> <user2> ... <userN>
sudo -u www-data php occ trashbin:cleanup --all-users
cd /var/www/<nextcloud_dir>
sudo -u www-data php updater/updater.phar
in case we get a list of disabled app:
Disabled incompatible app: calendar Disabled incompatible app: contacts Disabled incompatible app: notes Disabled incompatible app: ocsms
simply reinstall them one by one manually:
sudo -u www-data php occ app:install calendar
To disable IPv6 and avoid the module loaded in memory just edit /etc/modprobe.d/ipv6.conf:
alias net-pf-10 off alias ipv6 off options ipv6 disable_ipv6=1 blacklist ipv6