Difference between revisions of "Nextcloud install notes"

From W9CR
Jump to navigation Jump to search
(Created page with "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...")
(No difference)

Revision as of 12:04, 7 November 2025

Notes for installing nextcloud

  1. cronjobs

in the www-data user crontab

# crontab -e -u www-data

*/5 * * * * php -f /var/www/html/nextcloud/cron.php
  1. 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