You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Versions above DEFAULTMAXVERSIONS=50 should expire / be deleted
Actual behaviour
Versions above DEFAULTMAXVERSIONS=50 won't expire/deleted. It seems that the /files_versions/lib/versions.php on line 260 gets the wrong path to the file to expire passed. (See logfile snipped)
Steps to reproduce
Create 50 versions of a file
Create another version of the file to exceed the DEFAULTMAXVERSIONS of 50
Have a look at the PHP error log
Server configuration
Operating system: Debian Squeeze
Web server: NginX 1.4.1
Database: MariaDB 5.5.30
PHP version: 5.4.14
ownCloud version: 4.5.10
Logs
Web server error log
[08-May-2013 12:00:46 UTC] PHP Warning: unlink(/var/www/owncloud/data/xxx/files_versions/xxx/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources.v/var/www/owncloud/data/xxx/files_versions/xxx/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources.v1364899663): No such file or directory in /var/www/owncloud/apps/files_versions/lib/versions.php on line 260
[08-May-2013 12:00:46 UTC] PHP Warning: unlink(/var/www/owncloud/data/xxx/files_versions/xxx/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources.v/var/www/owncloud/data/xxx/files_versions/xxx/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources.v1364904083): No such file or directory in /var/www/owncloud/apps/files_versions/lib/versions.php on line 260
[08-May-2013 12:00:46 UTC] PHP Warning: unlink(/var/www/owncloud/data/xxx/files_versions/xxx/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources.v/var/www/owncloud/data/xxx/files_versions/xxx/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources.v1364905693): No such file or directory in /var/www/owncloud/apps/files_versions/lib/versions.php on line 260
The text was updated successfully, but these errors were encountered:
Expected behaviour
Versions above DEFAULTMAXVERSIONS=50 should expire / be deleted
Actual behaviour
Versions above DEFAULTMAXVERSIONS=50 won't expire/deleted. It seems that the /files_versions/lib/versions.php on line 260 gets the wrong path to the file to expire passed. (See logfile snipped)
Steps to reproduce
Server configuration
Operating system: Debian Squeeze
Web server: NginX 1.4.1
Database: MariaDB 5.5.30
PHP version: 5.4.14
ownCloud version: 4.5.10
Logs
Web server error log
The text was updated successfully, but these errors were encountered: