De Wiki inetshell
Saltar a: navegación, buscar

Limpiar tabla oc_activity[editar]

https://central.owncloud.org/t/how-to-empty-the-oc-activity-table/1372/2

DELETE FROM oc_activity WHERE timestamp < 1470009600;

Limpiar papelera y versiones anteriores[editar]

https://doc.owncloud.org/server/8.2/admin_manual/configuration_server/config_sample_php_parameters.html

sudo -u nginx php occ versions:expire
sudo -u nginx php occ trashbin:expire

Aumentar limites de subida de archivos[editar]

https://doc.owncloud.org/server/latest/admin_manual/configuration/files/big_file_upload_configuration.html

php.ini

php_value upload_max_filesize = 16G
php_value post_max_size = 16G
php_value max_input_time 3600
php_value max_execution_time 3600


nginx.conf

client_body_timeout 3600;
client_body_temp_path   /var/nginx/client_body_temp;
client_max_body_size    16g;
client_body_buffer_size 128k;

Restablecer contraseña de usuario[editar]

https://doc.owncloud.org/server/9.0/admin_manual/configuration_user/reset_admin_password.html

sudo -u www-data php /var/www/owncloud/occ user:resetpassword admin