Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| os_nextcloud [2025/04/14 08:48] – [Solved Problems] Júne Park | os_nextcloud [2026/05/19 00:57] (current) – [Force Deletion After Exactly 30 Days] Júne Park | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| <code bash> | <code bash> | ||
| sudo apt install php8.x php8.x-common php8.x-gmp php8.x-mbstring php8.x-readline php8.x-xmlrpc php8.x-bcmath php8.x-curl php8.x-igbinary php8.x-mcrypt php8.x-redis php8.x-zip php8.x-bz2 php8.x-fpm php8.x-imagick php8.x-mysql php8.x-soap php8.x-cli php8.x-gd php8.x-intl php8.x-opcache php8.x-xml | sudo apt install php8.x php8.x-common php8.x-gmp php8.x-mbstring php8.x-readline php8.x-xmlrpc php8.x-bcmath php8.x-curl php8.x-igbinary php8.x-mcrypt php8.x-redis php8.x-zip php8.x-bz2 php8.x-fpm php8.x-imagick php8.x-mysql php8.x-soap php8.x-cli php8.x-gd php8.x-intl php8.x-opcache php8.x-xml | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | sudo apt install php8.3-bcmath php8.3-common php8.3-gd php8.3-imagick php8.3-mcrypt php8.3-readline php8.3-xml php8.3 php8.3-bz2 php8.3-curl php8.3-gmp php8.3-intl php8.3-mysql php8.3-redis php8.3-xmlrpc php8.3-apcu php8.3-cli php8.3-fpm php8.3-igbinary php8.3-mbstring php8.3-opcache php8.3-soap php8.3-zip | ||
| </ | </ | ||
| Line 188: | Line 192: | ||
| ; | ; | ||
| opcache.interned_strings_buffer = 16 | opcache.interned_strings_buffer = 16 | ||
| + | opcache.memory_consumption = 256 | ||
| </ | </ | ||
| </ | </ | ||
| Line 381: | Line 386: | ||
| </ | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Force Deletion After Exactly 30 Days ==== | ||
| + | |||
| + | Locate and open your Nextcloud config.php file (typically found in ''/ | ||
| + | |||
| + | Add or modify the following line inside the '' | ||
| + | |||
| + | <code php> | ||
| + | ' | ||
| + | </ | ||
| + | |||
| + | //(Setting both a minimum and maximum of 30 days guarantees the files will be purged exactly on that day).// | ||
| + | |||
| + | Ensure your Nextcloud background jobs are running. To force the deletion of already expired files from the command line immediately, | ||
| + | |||
| + | <code bash> | ||
| + | sudo -u www-data php / | ||
| + | </ | ||
| + | |||
| ---- | ---- | ||