This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computing:nextcloud [2025/10/25 18:55] – oemb1905 | computing:nextcloud [2026/10/14 15:15] (current) – oemb1905 | ||
|---|---|---|---|
| Line 138: | Line 138: | ||
| To configure cron to refresh php every 5 minutes: | To configure cron to refresh php every 5 minutes: | ||
| - | | + | |
| < | < | ||
| < | < | ||
| Line 212: | Line 212: | ||
| sudo nano / | sudo nano / | ||
| max_excution_time = 240 (for all of them) | max_excution_time = 240 (for all of them) | ||
| + | | ||
| + | For Nextcloud 35.0.1, they started suggesting db optimizations, | ||
| + | |||
| + | <code bash> | ||
| + | [mysqld] | ||
| + | slow_query_log = ON | ||
| + | slow_query_log_file = / | ||
| + | long_query_time = 1 | ||
| + | log_queries_not_using_indexes = ON | ||
| + | min_examined_row_limit = 1000 | ||
| + | log_slow_verbosity = query_plan, | ||
| + | |||
| + | tmp_table_size = 128M | ||
| + | max_heap_table_size = 128M | ||
| + | sort_buffer_size = 2M | ||
| + | table_definition_cache = 2000 | ||
| + | table_open_cache = 32586 | ||
| + | table_open_cache_instances = 8 | ||
| + | open_files_limit = 32768 | ||
| + | |||
| + | innodb_log_file_size = 256M | ||
| + | innodb_buffer_pool_size = 4G | ||
| + | innodb_log_file_size = 256M | ||
| + | innodb_flush_log_at_trx_commit = 1 | ||
| + | innodb_flush_method = O_DIRECT | ||
| + | </ | ||
| - | If you get the missing indexes error on an upgrade, | + | If you get the missing indexes error on an upgrade, |
| sudo -u www-data php occ db: | sudo -u www-data php occ db: | ||
| Line 298: | Line 324: | ||
| sudo -u www-data php occ maintenance: | 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: | On recent versions, you cannot set up smtp on the gui. Use the following adjust as needed: | ||
| Line 312: | Line 339: | ||
| ' | ' | ||
| - | --- // | + | === 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. To disable the external apps error if you are not using it: | ||
| + | |||
| + | sudo -u www-data php occ app:disable app_api | ||
| + | |||
| + | |||
| + | --- // | ||