Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleted files folder is empty in the account has reach more than 90% of storage capacity #2352

Closed
rperezb opened this issue Mar 15, 2013 · 2 comments

Comments

@rperezb
Copy link

rperezb commented Mar 15, 2013

Expected behaviour

Those deleted files should be kept on the "deleted files"

Actual behaviour

If the account limit storage is almost reach this is not happening

Steps to reproduce

  1. Connect to any ownCloud account that is using more than 90% of its storage limit
  2. Delete any file, it is correctly deleted
  3. Go to "Deleted files", the file is not there as it could be expected

Server configuration

acceptance-testing master_on_apache_with_sqlite

version":"5.80.0","versionstring":"6.0 pre alpha

[2013-03-15T08:28:24+00:00] INFO: git[/usr/local/src/owncloud-core] updated to revision 92a8676

[2013-03-15T08:29:07+00:00] INFO: git[/usr/local/src/owncloud-apps] updated to revision 2cf2c834cdd18f4eee98a06be90ac249d499a814

Client configuration

Browser: Chrome

Operating system: mac 10.7.5

Logs

Web server error log

``[Fri Mar 15 11:42:49 2013] [error] [client 33.33.33.1] PHP Fatal error: Call to a member function getRoot() on a non-object in /var/www/lib/files/filesystem.php on line 318, referer: http://33.33.33.10/index.php
[Fri Mar 15 11:42:57 2013] [error] [client 33.33.33.1] PHP Strict Standards: Only variables should be passed by reference in /var/www/apps2/search_lucene/lib/indexer.php on line 133, referer: http://33.33.33.10/index.php/apps/files


#### ownCloud log (data/owncloud.log)

Error search_lucene Encrypted document modification is not supported Trace:\n#0 /var/www/apps2/search_lucene/3rdparty/Zend/Pdf.php(255): Zend_Pdf->__construct('%PDF-1.6?%?????...', NULL) #1 /var/www/apps2/search_lucene/lib/indexer.php(133): Zend_Pdf::parse('%PDF-1.6?%?????...') #2 /var/www/apps2/search_lucene/lib/indexer.php(58): OC_Search_Lucene_Indexer::extractMetadata(Object(Zend_Search_Lucene_Document), '/test1/4 - Brit...', 'application/pdf') #3 [internal function]: OC_Search_Lucene_Indexer::indexFile('/test1/4 - Brit...') #4 /var/www/lib/backgroundjob/worker.php(107): call_user_func(Array, '/test1/4 - Brit...') #5 /var/www/cron.php(107): OC_BackgroundJob_Worker::doNextStep() #6 {main}


@BernhardPosselt
Copy link
Contributor

This is intended: if you reach your storage limit, the old/deleted files are purged. Also a certain amount of space is kept reserved for versions.

@rperezb
Copy link
Author

rperezb commented Mar 18, 2013

Sure, I understand this behavoir. What It caugh my attention was, that having reached the 90% of storage capacity, I deleted any files and, after that, those files were not possible to restore, despite of being stored on the "deletes files"

@lock lock bot locked as resolved and limited conversation to collaborators Aug 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants