# Decrypt-all left many files still encrypted

**URL:** <https://help.nextcloud.com/t/decrypt-all-left-many-files-still-encrypted/99066>\
**Category:** ℹ️ Support\
**Tags:** encryption-server\
**Created:** [November 23, 2020, 1:06pm UTC](https://help.nextcloud.com/t/decrypt-all-left-many-files-still-encrypted/99066 "2020-11-23T13:06:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![markus3](https://help.nextcloud.com/letter_avatar/markus3/32/5_5575768a8748004e209b776fc1b2916d.png) [@markus3](https://help.nextcloud.com/u/markus3)\
**Post date:** [January 5, 2021, 7:22pm UTC](https://help.nextcloud.com/t/decrypt-all-left-many-files-still-encrypted/99066/2 "2021-01-05T19:22:05Z")

</div>

I investigated a bit deeper. There are encrypted files on the disk (I examined the first characters of the file), but the check in source file `DecryptAll.php`, about line 226 `if ($file->isEncrypted() === false) {` is evaluated to true, so the file is not going to be decrypted. In the database table `oc_filecache` the attribute `encrypted` is `0`. I did a `sudo -u www-data /usr/bin/php /var/www/html/owncloud/occ files:scan --all` but the database entry was not updated.  
What am I doing wrong? Any hint?  
Thanks,  
Markus

---

_[View the full topic](https://help.nextcloud.com/t/decrypt-all-left-many-files-still-encrypted/99066)._
