nextcloud / gallery

DEPRECATED Gallery app was replaced by Photos
https://github.com/nextcloud/photos
GNU Affero General Public License v3.0
109 stars 58 forks source link

Gallery does not find/show any media file #536

Open stefan-schilling opened 4 years ago

stefan-schilling commented 4 years ago

Bug report

We have uploaded images using the default files app. The files are visible there. But the Gallery app does not pick them up.

Thanks a lot. Stefan

Steps to reproduce

  1. install Nextcloud 16.0.3
  2. upload files using files app (into subfolders)
  3. switch to Gallery app

Expected behaviour

The Gallery app shows the images uploaded.

Actual behaviour

No image shown. Message "No media files found. Please upload" (translation from German)

Server configuration

Operating system: Linux something (hosted environment)

Web server: Apache2

Database: MySQL 5.6.19

PHP version: 7.7.2

Nextcloud configuration

Nextcloud version: (see admin page or version.php) 16.0.3

Updated from an older installation or fresh install: fresh install

List of activated apps:

App list ``` Accessibility 1.2.0 Activity 2.9.1 Collaborative tags 1.6.0 Comments 1.6.0 Deleted files 1.6.0 Federation 1.6.0 File sharing 1.8.0 First run wizard 2.5.0 Gallery 18.3.0 Log Reader 2.1.0 Monitoring 1.6.0 Nextcloud announcements 1.5.0 Notifications 2.4.1 Password policy 1.6.0 PDF viewer 1.5.0 Privacy 1.0.0 Recommendations 0.4.0 Right click 0.13.0 Share by mail 1.6.0 Support 1.0.0 Text editor 2.8.0 Theming 1.7.0 Update notification 1.6.0 Usage survey 1.4.0 Versions 1.9.0 Video player 1.5.0 Viewer 1.0.0 ```

Nextcloud configuration:

Config.php ``` $CONFIG = array ( 'instanceid' => 'instanceid', 'passwordsalt' => 'passwordsalt', 'secret' => 'secret/', 'trusted_domains' => array ( 0 => 'xxx.yyy', ), 'datadirectory' => '/kunden/xxx/webseiten-cloud-data', 'dbtype' => 'mysql', 'version' => '16.0.3.0', 'overwrite.cli.url' => 'https://xxx.yyy', 'dbname' => 'aaa', 'dbhost' => 'xxx.yyy:3306', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'dbuser', 'dbpassword' => 'dbpassword', 'installed' => true, 'tempdirectory' => '/kunden/xxx/webseiten-cloud-tmp', ); ```

Are you using external storage if yes which one: local folder smb share sftp etc. no

Are you using encryption: no

Are you using custom gallery.cnf config files: no

Web server error log

Web server error log ``` Insert your webserver log here ```

Nextcloud log

Nextcloud log ``` the file is empty ```

Client configuration

Browser: Chrome 76.0.3809.100 (64 Bit), Firefox 68.0.1 (64-Bit), Opera 62.0.3331.99

Operating system: Windows 10 64-Bit

Browser log

Browser log network log: 71 requests were made, transferring 29.6 kB javascript console log (incl. verbose messages) ``` jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1 (index):1 [DOM] Password forms should have (optionally hidden) username fields for accessibility: (More info: https://goo.gl/9p2vKq)
​ 10[Violation] Added non-passive event listener to a scroll-blocking event. Consider marking event handler as 'passive' to make the page more responsive. See merged.js?v=7df0e9e4-3:224 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 registerListener @ merged.js?v=7df0e9e4-3:224 (anonymous) @ merged.js?v=7df0e9e4-3:8283 each @ jquery.js:374 each @ jquery.js:139 _setupControls @ merged.js?v=7df0e9e4-3:8281 ZoomablePreview @ merged.js?v=7df0e9e4-3:8124 (anonymous) @ merged.js?v=7df0e9e4-3:7051 (anonymous) @ jquery.js:3256 u @ jquery.js:3099 fireWith @ jquery.js:3211 r. @ jquery.js:3301 (anonymous) @ merged.js?v=7df0e9e4-3:7572 u @ jquery.js:3099 fireWith @ jquery.js:3211 k @ jquery.js:8264 (anonymous) @ jquery.js:8605 merged.js?v=7df0e9e4-3:224 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 registerListener @ merged.js?v=7df0e9e4-3:224 (anonymous) @ merged.js?v=7df0e9e4-3:8283 each @ jquery.js:374 each @ jquery.js:139 _setupControls @ merged.js?v=7df0e9e4-3:8281 ZoomablePreview @ merged.js?v=7df0e9e4-3:8124 (anonymous) @ merged.js?v=7df0e9e4-3:7051 (anonymous) @ jquery.js:3256 u @ jquery.js:3099 fireWith @ jquery.js:3211 r. @ jquery.js:3301 (anonymous) @ merged.js?v=7df0e9e4-3:7572 u @ jquery.js:3099 fireWith @ jquery.js:3211 k @ jquery.js:8264 (anonymous) @ jquery.js:8605 merged.js?v=7df0e9e4-3:224 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 registerListener @ merged.js?v=7df0e9e4-3:224 (anonymous) @ merged.js?v=7df0e9e4-3:8283 each @ jquery.js:374 each @ jquery.js:139 _setupControls @ merged.js?v=7df0e9e4-3:8281 ZoomablePreview @ merged.js?v=7df0e9e4-3:8124 (anonymous) @ merged.js?v=7df0e9e4-3:7051 (anonymous) @ jquery.js:3256 u @ jquery.js:3099 fireWith @ jquery.js:3211 r. @ jquery.js:3301 (anonymous) @ merged.js?v=7df0e9e4-3:7572 u @ jquery.js:3099 fireWith @ jquery.js:3211 k @ jquery.js:8264 (anonymous) @ jquery.js:8605 merged.js?v=7df0e9e4-3:224 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 registerListener @ merged.js?v=7df0e9e4-3:224 (anonymous) @ merged.js?v=7df0e9e4-3:8283 each @ jquery.js:374 each @ jquery.js:139 _setupControls @ merged.js?v=7df0e9e4-3:8281 ZoomablePreview @ merged.js?v=7df0e9e4-3:8124 (anonymous) @ merged.js?v=7df0e9e4-3:7051 (anonymous) @ jquery.js:3256 u @ jquery.js:3099 fireWith @ jquery.js:3211 r. @ jquery.js:3301 (anonymous) @ merged.js?v=7df0e9e4-3:7572 u @ jquery.js:3099 fireWith @ jquery.js:3211 k @ jquery.js:8264 (anonymous) @ jquery.js:8605 merged.js?v=7df0e9e4-3:224 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 registerListener @ merged.js?v=7df0e9e4-3:224 (anonymous) @ merged.js?v=7df0e9e4-3:8283 each @ jquery.js:374 each @ jquery.js:139 _setupControls @ merged.js?v=7df0e9e4-3:8281 ZoomablePreview @ merged.js?v=7df0e9e4-3:8124 (anonymous) @ merged.js?v=7df0e9e4-3:7051 (anonymous) @ jquery.js:3256 u @ jquery.js:3099 fireWith @ jquery.js:3211 r. @ jquery.js:3301 (anonymous) @ merged.js?v=7df0e9e4-3:7572 u @ jquery.js:3099 fireWith @ jquery.js:3211 k @ jquery.js:8264 (anonymous) @ jquery.js:8605 jquery.js:4167 [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 add @ jquery.js:4167 e.event.add @ jquery-migrate.min.js:2 (anonymous) @ jquery.js:4861 each @ jquery.js:374 each @ jquery.js:139 on @ jquery.js:4860 _buttonSetup @ merged.js?v=7df0e9e4-3:7790 init @ merged.js?v=7df0e9e4-3:7648 (anonymous) @ merged.js?v=7df0e9e4-3:7060 (anonymous) @ jquery.js:3256 u @ jquery.js:3099 fireWith @ jquery.js:3211 r. @ jquery.js:3301 (anonymous) @ merged.js?v=7df0e9e4-3:7572 u @ jquery.js:3099 fireWith @ jquery.js:3211 k @ jquery.js:8264 (anonymous) @ jquery.js:8605 jquery.js:4167 [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 add @ jquery.js:4167 e.event.add @ jquery-migrate.min.js:2 (anonymous) @ jquery.js:4861 each @ jquery.js:374 each @ jquery.js:139 on @ jquery.js:4860 _buttonSetup @ merged.js?v=7df0e9e4-3:7790 init @ merged.js?v=7df0e9e4-3:7648 (anonymous) @ merged.js?v=7df0e9e4-3:7060 (anonymous) @ jquery.js:3256 u @ jquery.js:3099 fireWith @ jquery.js:3211 r. @ jquery.js:3301 (anonymous) @ merged.js?v=7df0e9e4-3:7572 u @ jquery.js:3099 fireWith @ jquery.js:3211 k @ jquery.js:8264 (anonymous) @ jquery.js:8605 jquery.js:4167 [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 add @ jquery.js:4167 e.event.add @ jquery-migrate.min.js:2 (anonymous) @ jquery.js:4861 each @ jquery.js:374 each @ jquery.js:139 on @ jquery.js:4860 _buttonSetup @ merged.js?v=7df0e9e4-3:7790 init @ merged.js?v=7df0e9e4-3:7648 (anonymous) @ merged.js?v=7df0e9e4-3:7060 (anonymous) @ jquery.js:3256 u @ jquery.js:3099 fireWith @ jquery.js:3211 r. @ jquery.js:3301 (anonymous) @ merged.js?v=7df0e9e4-3:7572 u @ jquery.js:3099 fireWith @ jquery.js:3211 k @ jquery.js:8264 (anonymous) @ jquery.js:8605 jquery.js:4167 [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 add @ jquery.js:4167 e.event.add @ jquery-migrate.min.js:2 (anonymous) @ jquery.js:4861 each @ jquery.js:374 each @ jquery.js:139 on @ jquery.js:4860 _buttonSetup @ merged.js?v=7df0e9e4-3:7790 init @ merged.js?v=7df0e9e4-3:7648 (anonymous) @ merged.js?v=7df0e9e4-3:7060 (anonymous) @ jquery.js:3256 u @ jquery.js:3099 fireWith @ jquery.js:3211 r. @ jquery.js:3301 (anonymous) @ merged.js?v=7df0e9e4-3:7572 u @ jquery.js:3099 fireWith @ jquery.js:3211 k @ jquery.js:8264 (anonymous) @ jquery.js:8605 jquery.js:4167 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 add @ jquery.js:4167 e.event.add @ jquery-migrate.min.js:2 (anonymous) @ jquery.js:4861 each @ jquery.js:374 each @ jquery.js:139 on @ jquery.js:4860 _initControlsAutoFader @ merged.js?v=7df0e9e4-3:7426 (anonymous) @ merged.js?v=7df0e9e4-3:7062 (anonymous) @ jquery.js:3256 u @ jquery.js:3099 fireWith @ jquery.js:3211 r. @ jquery.js:3301 (anonymous) @ merged.js?v=7df0e9e4-3:7572 u @ jquery.js:3099 fireWith @ jquery.js:3211 k @ jquery.js:8264 (anonymous) @ jquery.js:8605 ```
stefan-schilling commented 4 years ago

Creating this report, I noticed my installation could not access/write to /tmp. Thats why I changed it to a folder in my hosted FS. Uploading a new file now seems to create a preview image, which in turn gets picked up by Gallery app.

Now I need to find out how to create those preview images for all existing images...?

Stefan

szaimen commented 4 years ago

https://apps.nextcloud.com/apps/previewgenerator maybe this?