Nextcloud install notes
Jump to navigation
Jump to search
Notes for installing nextcloud
- cronjobs
in the www-data user crontab
# crontab -e -u www-data */5 * * * * php -f /var/www/html/nextcloud/cron.php
- elasticsearch
how to install it on debian https://itsfoss.gitlab.io/post/how-to-install-elasticsearch-8-on-debian-12-11-or-10-linux/
This needs to allow the search to work from self signed https on local host.
sudo -u www-data php occ config:app:get fulltextsearch_elasticsearch allow_self_signed_cert sudo -u www-data php occ config:app:set fulltextsearch_elasticsearch allow_self_signed_cert --value true sudo -u www-data php occ config:app:get fulltextsearch_elasticsearch allow_self_signed_cert
This resets the password to random.
/usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic -a