Encryption error

Ask all your questions regarding OC 8.2 Please read the Support Forum Rules
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
happyfeet
Starter
Posts: 76
Joined: Mon Jan 14, 2013 12:08 pm
ownCloud version: 5.0.10
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 5.3
Location: Germany
Contact:

Encryption error

Postby happyfeet » Sun Feb 28, 2016 2:46 pm

Hello,

I would encrypt with the occ command the files on the server. But I get this message:

Code: Select all

Encrypt all files with the Default encryption module
====================================================


Create key-pair for every user
------------------------------

This module will encrypt all files in the users files folder initially.
Already existing versions and files in the trash bin will not be encrypted.


 Key-pair created for all users
 [>---------------------------]

Start to encrypt users files
----------------------------


 encrypt files for user Anja (1 of 3): /Anja/files/ownCloud_User_Ma encrypt files for user Anja (1 of 3): /Anja/files/ownCloud_User_Manual.pdf.encrypted.1456659252 ]
 encrypt files for user Anja (1 of 3): /Anja/files/ownCloud_User_Manual.pdf.encrypted.1456663706
 encrypt files for user Anja (1 of 3): /Anja/files/Photos/Paris.jpg
 [---->-----------------------]                                                                  PHP Fatal error:  Call to a member function get() on a non-object in /var/www/owncloud/apps/music/utility/scanner.php on line 289
PHP Stack trace:
PHP   1. {main}() /var/www/owncloud/occ:0
PHP   2. require_once() /var/www/owncloud/occ:11
PHP   3. OC\Console\Application->run() /var/www/owncloud/console.php:69
PHP   4. Symfony\Component\Console\Application->run() /var/www/owncloud/lib/private/console/application.php:100
PHP   5. Symfony\Component\Console\Application->doRun() /var/www/owncloud/3rdparty/symfony/console/Symfony/Component/Console/Application.php:126
PHP   6. Symfony\Component\Console\Application->doRunCommand() /var/www/owncloud/3rdparty/symfony/console/Symfony/Component/Console/Application.php:195
PHP   7. Symfony\Component\Console\Command\Command->run() /var/www/owncloud/3rdparty/symfony/console/Symfony/Component/Console/Application.php:874
PHP   8. OC\Core\Command\Encryption\EncryptAll->execute() /var/www/owncloud/3rdparty/symfony/console/Symfony/Component/Console/Command/Command.php:253
PHP   9. OCA\Encryption\Crypto\Encryption->encryptAll() /var/www/owncloud/core/command/encryption/encryptall.php:122
PHP  10. OCA\Encryption\Crypto\EncryptAll->encryptAll() /var/www/owncloud/apps/encryption/lib/crypto/encryption.php:446
PHP  11. OCA\Encryption\Crypto\EncryptAll->encryptAllUsersFiles() /var/www/owncloud/apps/encryption/lib/crypto/encryptall.php:145
PHP  12. OCA\Encryption\Crypto\EncryptAll->encryptUsersFiles() /var/www/owncloud/apps/encryption/lib/crypto/encryptall.php:202
PHP  13. OCA\Encryption\Crypto\EncryptAll->encryptFile() /var/www/owncloud/apps/encryption/lib/crypto/encryptall.php:233
PHP  14. OC\Files\View->unlink() /var/www/owncloud/apps/encryption/lib/crypto/encryptall.php:258
PHP  15. OC\Files\View->basicOperation() /var/www/owncloud/lib/private/files/view.php:604
PHP  16. OC\Files\View->runHooks() /var/www/owncloud/lib/private/files/view.php:1013
PHP  17. OC_Hook::emit() /var/www/owncloud/lib/private/files/view.php:1136
PHP  18. call_user_func:{/var/www/owncloud/lib/private/hook.php:103}() /var/www/owncloud/lib/private/hook.php:103
PHP  19. OCA\Music\Hooks\File::deleted() /var/www/owncloud/lib/private/hook.php:103
PHP  20. OCA\Music\Utility\Scanner->deleteByPath() /var/www/owncloud/apps/music/hooks/file.php:27


Owncloud.log

Code: Select all

a member function get() on a non-object at \/var\/www\/owncloud\/apps\/music\/utility\/scanner.php#289","level":3,"time":"2016-02-28T13:48:30+01:00","method":"--","url":"--"}
{"reqId":"d3CEsgOOXZmAvfZ2dTeN","remoteAddr":"","app":"OC\\Files\\Cache\\Scanner","message":"!!! Path 'files\/ownCloud_User_Manual.pdf.encrypted.1456663769' is not accessible or present !!!","level":0,"time":"2016-02-28T13:49:32+01:00","method":"--","url":"--"}
{"reqId":"d3CEsgOOXZmAvfZ2dTeN","remoteAddr":"","app":"core","message":"unable to rename, file does not exists : files\/ownCloud_User_Manual.pdf.encrypted.1456663769","level":3,"time":"2016-02-28T13:49:32+01:00","method":"--","url":"--"}
{"reqId":"d3CEsgOOXZmAvfZ2dTeN","remoteAddr":"","app":"OC\\Files\\Cache\\Scanner","message":"!!! Path 'files\/ownCloud_User_Manual.pdf.encrypted.1456659252.encrypted.1456663772' is not accessible or present !!!","level":0,"time":"2016-02-28T13:49:36+01:00","method":"--","url":"--"}
{"reqId":"d3CEsgOOXZmAvfZ2dTeN","remoteAddr":"","app":"core","message":"unable to rename, file does not exists : files\/ownCloud_User_Manual.pdf.encrypted.1456659252.encrypted.1456663772","level":3,"time":"2016-02-28T13:49:36+01:00","method":"--","url":"--"}
{"reqId":"d3CEsgOOXZmAvfZ2dTeN","remoteAddr":"","app":"OC\\Files\\Cache\\Scanner","message":"!!! Path 'files\/ownCloud_User_Manual.pdf.encrypted.1456663706.encrypted.1456663776' is not accessible or present !!!","level":0,"time":"2016-02-28T13:49:41+01:00","method":"--","url":"--"}
{"reqId":"d3CEsgOOXZmAvfZ2dTeN","remoteAddr":"","app":"core","message":"unable to rename, file does not exists : files\/ownCloud_User_Manual.pdf.encrypted.1456663706.encrypted.1456663776","level":3,"time":"2016-02-28T13:49:41+01:00","method":"--","url":"--"}
{"reqId":"d3CEsgOOXZmAvfZ2dTeN","remoteAddr":"","app":"no app in context","message":"Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.","level":3,"time":"2016-02-28T13:49:43+01:00","method":"--","url":"--"}
{"reqId":"d3CEsgOOXZmAvfZ2dTeN","remoteAddr":"","app":"PHP","message":"Call to a member function get() on a non-object at \/var\/www\/owncloud\/apps\/music\/utility\/scanner.php#289","level":3,"time":"2016-02-28T13:49:46+01:00","method":"--","url":"--"}

Server:
Ubuntu 14.04
Database:
Mysql
Client:

OC-Version:
8.2.2
PHP-Version:
5.5.32

Can anyone help me?

tflidd
Forum Moderator
Posts: 7159
Joined: Sat Dec 07, 2013 7:27 pm
ownCloud version: 8.2.3
Webserver: Apache
Database: MySQL
OS: Linux

Re: Encryption error

Postby tflidd » Mon May 30, 2016 5:40 pm

Please report this to the bugtracker: github.com/owncloud/core/issues


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Server 8.2”

Who is online

Users browsing this forum: No registered users and 2 guests