This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computing:nextcloud [2023/12/16 18:11] – oemb1905 | computing:nextcloud [2024/07/13 04:12] (current) – oemb1905 | ||
---|---|---|---|
Line 244: | Line 244: | ||
sudo -u www-data php updater.phar | sudo -u www-data php updater.phar | ||
| | ||
- | Use redis for everything except local memcache which uses apcu. Also, in this configuration, | + | Use redis for everything except local memcache which uses apcu. Also, in this configuration, |
- | sudo apt install | + | sudo apt install |
+ | sudo apt install | ||
+ | sudo apt-get install | ||
+ | sudo apt-get install php8.3-{xml, | ||
Then, right underneath the ''' | Then, right underneath the ''' | ||
Line 268: | Line 271: | ||
RewriteRule ^\.well-known/ | RewriteRule ^\.well-known/ | ||
RewriteRule ^\.well-known/ | RewriteRule ^\.well-known/ | ||
+ | | ||
+ | Enable rotation of logs | ||
- | --- //[[jonathan@haacksnetworking.org|oemb1905]] | + | ' |
+ | |||
+ | Delete the log contents (removes errors from admin settings GUI) | ||
+ | |||
+ | sudo -u www-data truncate nextcloud.log | ||
+ | |||
+ | This will put the logs on a schedule and remove old errors in due time. When I put Nextcloud behind a reverse proxy, I had to change the following in the primary config: | ||
+ | |||
+ | sudo nano / | ||
+ | ' | ||
+ | array ( | ||
+ | 0 => ' | ||
+ | 1 => ' | ||
+ | ), | ||
+ | ' | ||
+ | ' | ||
+ | |||
+ | This ensures that the upstream subnet and node is trusted and that external url requests don't try to access the subnet directly. There are other notes in the proxmox tutorial since that is when I set up the reverse proxy setup. There is now a recommended maintenance window setting: | ||
+ | |||
+ | ' | ||
+ | |||
+ | Mimetype migrations | ||
+ | |||
+ | sudo -u www-data php occ maintenance: | ||
+ | |||
+ | --- //[[webmaster@haacksnetworking.org|oemb1905]] |