gallery icon indicating copy to clipboard operation
gallery copied to clipboard

Slideshow does not forward to next picture in public shared link

Open dimpflmoser opened this issue 7 years ago • 0 comments

Bug report

Steps to reproduce

  1. Create a shared link of a folder containing images
  2. Open this link in a new browser session (without login)
  3. Change to gallery mode
  4. Click on one image to start slides how
  5. Click on the forward or backward arrow -> nothing happens
  6. I can open every image from the preview grid

Expected behaviour

1, The slideshow should forward to the next picture after some time

  1. Clicking on the forward or revers button will change to the next/previous image

Actual behaviour

  1. slideshow does not show next nor previous image, neither on automatic timeout nor click

Server configuration

Operating system: Linux odroid 3.10.105-145 #1 SMP PREEMPT Wed Aug 16 23:56:49 UTC 2017 armv7l armv7l armv7l GNU/Linux NAME="Ubuntu" VERSION="16.04.3 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.3 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial

Web server: Package: apache2 Version: 2.4.18-2ubuntu3.4

Database: "dbtype": "mysql", "version": "12.0.0.29",

PHP version: Package: php Version: 1:7.0+35ubuntu6

cloud server: Nextcloud or ownCloud

cloud version: (see admin page or version.php)

Updated from an older installation or fresh install:

List of activated apps: Enabled:

  • activity: 2.5.2
  • audioplayer: 2.0.1
  • bruteforcesettings: 1.0.2
  • calendar: 1.5.5
  • comments: 1.2.0
  • contacts: 1.5.3
  • dav: 1.3.0
  • federatedfilesharing: 1.2.0
  • federation: 1.2.0
  • files: 1.7.2
  • files_accesscontrol: 1.2.4
  • files_external: 1.3.0
  • files_markdown: 2.0.1
  • files_pdfviewer: 1.1.1
  • files_sharing: 1.4.0
  • files_texteditor: 2.4.1
  • files_trashbin: 1.2.0
  • files_versions: 1.5.0
  • files_videoplayer: 1.1.0
  • firstrunwizard: 2.1
  • gallery: 17.0.0
  • logreader: 2.0.0
  • lookup_server_connector: 1.0.0
  • mail: 0.7.3
  • nextcloud_announcements: 1.1
  • notes: 2.2.0
  • notifications: 2.0.0
  • oauth2: 1.0.5
  • password_policy: 1.2.2
  • provisioning_api: 1.2.0
  • qownnotesapi: 17.5.0
  • serverinfo: 1.2.0
  • sharebymail: 1.2.0
  • socialsharing_email: 1.0.1
  • survey_client: 1.0.0
  • systemtags: 1.2.0
  • theming: 1.3.0
  • twofactor_backupcodes: 1.1.1
  • updatenotification: 1.2.0
  • user_external: 0.4
  • workflowengine: 1.2.0

The content of config/config.php: { "system": { "updatechecker": false, "instanceid": "REMOVED SENSITIVE VALUE",, "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusted_domains": [ "localhost", "REMOVED SENSITIVE VALUE:8080", "REMOVED SENSITIVE VALUE:8080", "REMOVED SENSITIVE VALUE:4443", "odroid", "10.8.0.1" ], "datadirectory": "/var/www/nextcloud/data", "overwrite.cli.url": "http://localhost/owncloud", "dbtype": "mysql", "version": "12.0.0.29", "dbname": "owncloud", "dbhost": "localhost", "dbtableprefix": "oc_", "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "logtimezone": "UTC", "installed": true, "mail_smtpmode": "smtp", "mail_from_address": "test", "mail_domain": "REMOVED SENSITIVE VALUE", "maintenance": false, "theme": "", "loglevel": 2, "appstore.experimental.enabled": true, "updater.secret": "REMOVED SENSITIVE VALUE", "memcache.local": "\OC\Memcache\APCu", "mail_smtpauthtype": "PLAIN", "mail_smtpsecure": "tls", "mail_smtpauth": 1, "mail_smtphost":"REMOVED SENSITIVE VALUE", "mail_smtpport": "587", "mail_smtpname": "REMOVED SENSITIVE VALUE", "mail_smtppassword": "REMOVED SENSITIVE VALUE" } } Are you using external storage, if yes which one: local folder, smb share, sftp, etc. no

Are you using encryption: yes/no no

Are you using custom gallery.cnf config files: yes/no no

Web server error log

[Tue Sep 19 07:35:03.116413 2017] [ssl:warn] [pid 12724] AH01909: 127.0.0.1:443:0 server certificate does NOT include an ID which matches the server name [Tue Sep 19 07:35:03.116999 2017] [mpm_prefork:notice] [pid 12724] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations [Tue Sep 19 07:35:03.117022 2017] [core:notice] [pid 12724] AH00094: Command line: '/usr/sbin/apache2' [Tue Sep 19 13:46:23.337085 2017] [authz_core:error] [pid 2716] [client 127.0.0.1:52882] AH01630: client denied by server configuration: /var/www/owncloud/data/.ocdata [Tue Sep 19 13:46:55.227126 2017] [authz_core:error] [pid 730] [client 127.0.0.1:52905] AH01630: client denied by server configuration: /var/www/owncloud/data/.ocdata [Tue Sep 19 13:47:28.978816 2017] [authz_core:error] [pid 2759] [client 127.0.0.1:52919] AH01630: client denied by server configuration: /var/www/owncloud/data/.ocdata [Tue Sep 19 13:48:13.100750 2017] [authz_core:error] [pid 2716] [client 127.0.0.1:52935] AH01630: client denied by server configuration: /var/www/owncloud/data/.ocdata [Tue Sep 19 13:48:44.605934 2017] [authz_core:error] [pid 2759] [client 127.0.0.1:52952] AH01630: client denied by server configuration: /var/www/owncloud/data/.ocdata [Tue Sep 19 13:49:48.539311 2017] [authz_core:error] [pid 2780] [client 127.0.0.1:52969] AH01630: client denied by server configuration: /var/www/owncloud/data/.ocdata [Tue Sep 19 13:52:18.723608 2017] [authz_core:error] [pid 2716] [client 127.0.0.1:52997] AH01630: client denied by server configuration: /var/www/owncloud/data/.ocdata

Cloud log

{"reqId":"dYfkKIeuSq66lWi1q86X","level":4,"time":"2017-09-18T20:32:30+00:00","remoteAddr":"127.0.0.1","user":"--","app":"webdav","method":"PUT","url":"/owncloud/public.php/webdav/Jo/2017-07-30_13-00-13.jpg","message":"Exception: {"Message":"HTTP\/1.1 400 expected filesize 2122059 got 131072","Exception":"Sabre\\DAV\\Exception\\BadRequest","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(151): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #21)\n#1 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1095): OCA\\DAV\\Connector\\Sabre\\Directory->createFile('2017-07-30_13-0...', Resource id #21)\n#2 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(525): Sabre\\DAV\\Server->createFile('Jo\/2017-07-30_1...', Resource id #21, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/publicwebdav.php(105): Sabre\\DAV\\Server->exec()\n#8 \/var\/www\/nextcloud\/public.php(76): require_once('\/var\/www\/nextcl...')\n#9 {main}","File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":151,"User":false}","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/60.0.3112.113 Chrome/60.0.3112.113 Safari/537.36","version":"12.0.0.29"} {"reqId":"l1lJYzgdft7mOpSSexQV","level":4,"time":"2017-09-18T22:09:07+00:00","remoteAddr":"127.0.0.1","user":"--","app":"webdav","method":"PUT","url":"/owncloud/public.php/webdav/Jo/DSC_1009.jpg","message":"Exception: {"Message":"HTTP\/1.1 400 expected filesize 5118535 got 2146304","Exception":"Sabre\\DAV\\Exception\\BadRequest","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(151): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #21)\n#1 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1095): OCA\\DAV\\Connector\\Sabre\\Directory->createFile('DSC_1009.jpg', Resource id #21)\n#2 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(525): Sabre\\DAV\\Server->createFile('Jo\/DSC_1009.jpg', Resource id #21, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/publicwebdav.php(105): Sabre\\DAV\\Server->exec()\n#8 \/var\/www\/nextcloud\/public.php(76): require_once('\/var\/www\/nextcl...')\n#9 {main}","File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":151,"User":false}","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/60.0.3112.113 Chrome/60.0.3112.113 Safari/537.36","version":"12.0.0.29"} {"reqId":"bnbZIxuWZQ2TAzUz4dgy","level":4,"time":"2017-09-18T22:10:18+00:00","remoteAddr":"192.168.178.21","user":"--","app":"webdav","method":"PUT","url":"/owncloud/public.php/webdav/Jo/DSC_1018.jpg","message":"Exception: {"Message":"HTTP\/1.1 400 expected filesize 4215810 got 1703936","Exception":"Sabre\\DAV\\Exception\\BadRequest","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(151): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #21)\n#1 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1095): OCA\\DAV\\Connector\\Sabre\\Directory->createFile('DSC_1018.jpg', Resource id #21)\n#2 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(525): Sabre\\DAV\\Server->createFile('Jo\/DSC_1018.jpg', Resource id #21, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/publicwebdav.php(105): Sabre\\DAV\\Server->exec()\n#8 \/var\/www\/nextcloud\/public.php(76): require_once('\/var\/www\/nextcl...')\n#9 {main}","File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":151,"User":false}","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/60.0.3112.113 Chrome/60.0.3112.113 Safari/537.36","version":"12.0.0.29"} {"reqId":"YbbZ1Xon5UvCDgX7ERHf","level":4,"time":"2017-09-18T22:10:18+00:00","remoteAddr":"192.168.178.21","user":"--","app":"webdav","method":"PUT","url":"/owncloud/public.php/webdav/Jo/DSC_1019.jpg","message":"Exception: {"Message":"HTTP\/1.1 400 expected filesize 3729240 got 131072","Exception":"Sabre\\DAV\\Exception\\BadRequest","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(151): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #21)\n#1 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1095): OCA\\DAV\\Connector\\Sabre\\Directory->createFile('DSC_1019.jpg', Resource id #21)\n#2 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(525): Sabre\\DAV\\Server->createFile('Jo\/DSC_1019.jpg', Resource id #21, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/publicwebdav.php(105): Sabre\\DAV\\Server->exec()\n#8 \/var\/www\/nextcloud\/public.php(76): require_once('\/var\/www\/nextcl...')\n#9 {main}","File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":151,"User":false}","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/60.0.3112.113 Chrome/60.0.3112.113 Safari/537.36","version":"12.0.0.29"} {"reqId":"BfddjdCWngiwCmbS3ok1","level":4,"time":"2017-09-19T14:03:26+00:00","remoteAddr":"127.0.0.1","user":"--","app":"webdav","method":"PUT","url":"/owncloud/public.php/webdav/Nathalie/IMG_2985.JPG","message":"Exception: {"Message":"HTTP\/1.1 400 expected filesize 3192079 got 819200","Exception":"Sabre\\DAV\\Exception\\BadRequest","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(151): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #21)\n#1 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1095): OCA\\DAV\\Connector\\Sabre\\Directory->createFile('IMG_2985.JPG', Resource id #21)\n#2 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(525): Sabre\\DAV\\Server->createFile('Nathalie\/IMG_29...', Resource id #21, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/publicwebdav.php(105): Sabre\\DAV\\Server->exec()\n#8 \/var\/www\/nextcloud\/public.php(76): require_once('\/var\/www\/nextcl...')\n#9 {main}","File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":151,"User":false}","userAgent":"Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36","version":"12.0.0.29"}

Client configuration

Browser:

  • firefox
  • chrome
  • internet explorer

Operating system:

  • Linux/Ubuntu
  • Win7

Browser log

dimpflmoser avatar Sep 19 '17 17:09 dimpflmoser