Strange SQL problems; unable to run occ files:scan #5452
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
feature: encryption (server-side)
feature: filesystem
feature: sharing
Trying to address an error I've had for several days. Client upload failing on certain files, which seem "stuck" - unable to change or delete through client or web interface. It seems to be some kind of SQL issue. Nextcloud log in Admin > Logging has the following message repeated many times:
OC\Encryption\Exceptions\DecryptionFailedException: Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.
Thinking it might be that the files had become improperly locked somehow, I followed the instructions here to remove all locks. The command seemed to run successfully but the problem persisted.
Next I tried
sudo -u www-data php occ files:scan —all
and got the following output: https://pastebin.com/YfERsfpM. Ran it again and got this: https://pastebin.com/sXQyt8qpI originally posted this on the Nextcloud forums and was advised to post here instead.
Server configuration
Operating system: Linux ******** 4.4.0-79-generic #100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64
Web server: Apache/2.4.18 (Ubuntu) (apache2handler)
Database: mysql 5.7.18
PHP version: 7.0.15-0ubuntu0.16.04.4
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imagick, intl, json, exif, mcrypt, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache
Nextcloud version: 11.0.2 (stable) - 11.0.2.7
Updated from an older Nextcloud/ownCloud or fresh install: Fresh install
Where did you install Nextcloud from: Package
Signing status:
Signing status
List of activated apps:
App list
Enabled:
Disabled:
The content of config/config.php:
Config report
Are you using external storage, if yes which one:
Are you using encryption: yes
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Client configuration
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898
Operating system:
Logs
Web server error log
Web server error log
``` Insert your webserver log here ```Nextcloud log (data/nextcloud.log)
Nextcloud log
``` The file is large and contains some personal information, PM me and I'll be happy to share ```Browser log
Browser log
``` Insert your browser log here, this could for example include:The text was updated successfully, but these errors were encountered: