Repository navigation
Closed
Labels
Description
Steps to reproduce
- Enable encryption
- Create two users "user1", "user2"
- As user1, create a folder "pics" and upload pics
- Share the folder "pics" with "user2"
- Login as "user2"
- On the command line, delete all "gallery" folders for every user (to make sure there are no cached images)
- As "user2", go to the "Pictures" app
- In the section "Shared by user1", click on the album "pics"
- Click on a picture to view it
Expected result
Thumbnails for album "pics" and its contents are shown.
Picture can be viewed.
Actual result
No thumbnails for album "pics" (white)
Inside the album, no pictures are shown.
Note that the above section has an album called "Shared" that works fine.
Versions
ownCloud 7 pre-alpha (git master)
Logs
{"app":"PHP","message":"Undefined variable: message at \/srv\/www\/htdocs\/owncloud\/lib\/public\/util.php#95","level":0,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: Encryption key not found for \"\/user1\/files\/pics\/dsc09812.jpg\" during attempted read via stream","level":4,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: #1 \/srv\/www\/htdocs\/owncloud\/lib\/private\/files\/stream\/oc.php(51): fread(Resource id #222, 8192)","level":4,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: #2 [internal function]: OC\\Files\\Stream\\OC->stream_read(8192)","level":4,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: #3 \/srv\/www\/htdocs\/owncloud\/lib\/private\/image.php(422): exif_imagetype('oc:\/\/\/user1\/file...')","level":4,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: #4 \/srv\/www\/htdocs\/owncloud\/lib\/private\/image.php(384): OC_Image->loadFromFile('oc:\/\/\/user1\/file...')","level":4,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: #5 \/srv\/www\/htdocs\/owncloud\/lib\/private\/image.php(68): OC_Image->load('oc:\/\/\/user1\/file...')","level":4,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: #6 \/srv\/www\/htdocs\/owncloud-apps\/gallery\/lib\/thumbnail.php(70): OC_Image->__construct('oc:\/\/\/user1\/file...')","level":4,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: #7 \/srv\/www\/htdocs\/owncloud-apps\/gallery\/lib\/thumbnail.php(55): OCA\\Gallery\\Thumbnail->create('\/\/pics...', true)","level":4,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: #8 \/srv\/www\/htdocs\/owncloud-apps\/gallery\/ajax\/thumbnail.php(58): OCA\\Gallery\\Thumbnail->__construct('\/\/pics...', 'user1', true)","level":4,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: #9 \/srv\/www\/htdocs\/owncloud\/lib\/base.php(790): require_once('\/srv\/www\/htdocs...')","level":4,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: #10 [internal function]: OC::loadAppScriptFile(Array)","level":4,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: #11 \/srv\/www\/htdocs\/owncloud\/lib\/private\/router.php(129): call_user_func(Array, Array)","level":4,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: #12 \/srv\/www\/htdocs\/owncloud\/lib\/base.php(714): OC_Router->match('\/apps\/gallery\/a...')","level":4,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: #13 \/srv\/www\/htdocs\/owncloud\/index.php(30): OC::handleRequest()","level":4,"time":"2014-02-06T19:40:40+00:00"}
{"app":"index","message":"Exception: #14 {main}","level":4,"time":"2014-02-06T19:40:40+00:00"}
@schiesbn please have a look.
I suppose that it's using the wrong key (keyfile instead of share key) ?
Activity
schiessle commentedon Mar 28, 2014
Fix merged