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:57] – oemb1905 | computing:nextcloud [2026/03/02 05:06] (current) – oemb1905 | ||
|---|---|---|---|
| Line 138: | Line 138: | ||
| To configure cron to refresh php every 5 minutes: | To configure cron to refresh php every 5 minutes: | ||
| - | sudo crontab -e -u www-data | + | |
| < | < | ||
| < | < | ||
| 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 271: | Line 274: | ||
| Enable rotation of logs | Enable rotation of logs | ||
| - | | + | |
| - | This will put the logs on a schedule and remove old errors in due time. | + | 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: | ||
| + | sudo -u www-data php occ maintenance: | ||
| + | |||
| + | On recent versions, you cannot set up smtp on the gui. Use the following adjust as needed: | ||
| + | |||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | |||
| + | === Version 33 Notes === | ||
| + | |||
| + | The new '' | ||
| + | |||
| + | ' | ||
| + | ' | ||
| + | |||
| + | Yes, the code was bad so passing without the underscore tricks the interpreter into finding the correct JSON afterall. Another bug is that the db --include-expensive flag failed as per this bug report: | ||
| + | |||
| + | * [[https:// | ||
| + | |||
| + | There' | ||
| + | |||
| + | sudo -u www-data php occ app:enable files_sharing | ||
| + | sudo -u www-data php occ app:disable files_sharing | ||
| + | |||
| + | After that, there were no MIME errors remaining in the Administration Settings after the 33 upgrade. | ||
| - | --- //[[jonathan@haacksnetworking.org|oemb1905]] | + | --- //[[alerts@haacksnetworking.org|oemb1905]] |