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

Pre-generate issue #9

Closed
WaaromZoMoeilijk opened this issue Dec 30, 2016 · 2 comments
Closed

Pre-generate issue #9

WaaromZoMoeilijk opened this issue Dec 30, 2016 · 2 comments

Comments

@WaaromZoMoeilijk
Copy link
Member

Hey, thanks for this app!

When running any command I get this error:

root@cloud:~# sudo -u www-data php /var/www/nextcloud/occ preview:pre-generate

                                                                                                                      
  [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.  
                                                                                                                      

preview:pre-generate

PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\Files\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806
Stack trace:
#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\Files\Filesystem::normalizePath('/usr/files/Ph...')
#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\Files\View->unlockFile('/files/Photos/M...', 1)
#2 [internal function]: OC\Files\View->OC\Files\{closure}()
#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))
#4 [internal function]: Icewind\Streams\CallbackWrapper->stream_close()
#5 {main}
  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806

Anything to do with decryption?

@adamlove86
Copy link

same deal with the snap version:

sudo nextcloud.occ preview:pre-generate
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php

[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.

preview:pre-generate

@rullzer
Copy link
Member

rullzer commented Mar 14, 2017

Fixed with #33.
So for now the app won't work with encryption enabled. This is just to tricky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants