server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: Missing preview thumbnails in photo tab nextcloud 29

Open Cisco30 opened this issue 1 year ago • 7 comments

⚠️ This issue respects the following points: ⚠️

Bug description

Hi Since the Nextcloud 28.0.5 update to Nextcloud 29.0.0, thumbnails are missing in the Photo app when you navigate in it, with the old version I didn't have this problem. The image is still displayed if clicked In the "File" tab the thumbnails are always displayed... THANKS

Steps to reproduce

  1. go to the photo tab
  2. navigate tab
  3. we notice that some thumbnails are missing

Expected behavior

Image previews are missing, it was all present on version 28.0.5 before the move to Nextcloud 29.0.0, the problem is still present on Nextcloud 29.0.2 d25f96aab7bc3448b5f6f3735fb5c9328715ce2e

In the File tab, the thumbnails are all displayed: 2

Here are the only errors I get when analyzing the web page 3 4

Installation method

Community Manual installation with Archive

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 22 to 23)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • [X] Default user-backend (database)
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Configuration report

"system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.seeboxs.com",
            "www.cloud.seeboxs.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.2.2",
        "overwrite.cli.url": "https:\/\/cloud.seeboxs.com",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "default_phone_region": "FR",
        "htaccess.RewriteBase": "\/",
        "trashbin_retention_obligation": "auto, 30",
        "filelocking.enabled": "true",
        "knowledgebaseenabled": false,
        "activity_expire_days": 7,
        "skeletondirectory": "\/var\/www\/extra_nextcloud\/skeleton\/",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": "0",
            "timeout": "0.0"
        },
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "default_language": "fr",
        "default_locale": "fr_FR",
        "updater.release.channel": "stable",
        "maintenance_window_start": 1,
        "maintenance": false,
        "enable_previews": true,
        "enabledPreviewProviders": {
            "1": "OC\\Preview\\BMP",
            "2": "OC\\Preview\\GIF",
            "3": "OC\\Preview\\JPEG",
            "4": "OC\\Preview\\Krita",
            "5": "OC\\Preview\\MarkDown",
            "6": "OC\\Preview\\MP3",
            "7": "OC\\Preview\\OpenDocument",
            "8": "OC\\Preview\\PNG",
            "9": "OC\\Preview\\TXT",
            "10": "OC\\Preview\\XBitmap",
            "11": "OC\\Preview\\Image",
            "12": "OC\\Preview\\HEIC",
            "13": "OC\\Preview\\TIFF",
            "14": "OC\\Preview\\Movie",
            "15": "OC\\Preview\\MP4",
            "16": "OC\\Preview\\PDF"
        },
        "preview_max_x": 1024,
        "preview_max_y": 1024,
        "preview_concurrency_all": 16,
        "preview_concurrency_new": 8,
        "preview_max_filesize_image": 200,
        "preview_max_memory": -1,
        "preview_ffmpeg_path": "\/usr\/bin\/ffmpeg",
        "theme": "",
        "defaultapp": "",
        "loglevel": 2,
        "updatechecker": true,
        "has_internet_connection": true,
        "app_install_overwrite": [
            "twofactor_email",
            "otpmanager",
            "socialsharing_facebook"

List of activated Apps

Enabled:
  - activity: 2.21.1
  - admin_audit: 1.19.0
  - announcementcenter: 6.8.1
  - bruteforcesettings: 2.9.0
  - calendar: 4.7.6
  - camerarawpreviews: 0.8.5
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contacts: 6.0.0
  - contactsinteraction: 1.10.0
  - dashboard: 7.9.0
  - dav: 1.30.1
  - drop_account: 2.5.0
  - external: 5.4.0
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.0
  - files_accesscontrol: 1.19.1
  - files_downloadlimit: 2.0.0
  - files_external: 1.21.0
  - files_pdfviewer: 2.10.0
  - files_reminders: 1.2.0
  - files_sharing: 1.21.0
  - files_trashbin: 1.19.0
  - files_versions: 1.22.0
  - firstrunwizard: 2.18.0
  - guests: 3.1.0
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - mail: 3.7.1
  - maps: 1.4.0
  - nextcloud_announcements: 1.18.0
  - notes: 4.10.0
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - otpmanager: 0.5.3
  - password_policy: 1.19.0
  - passwords: 2024.5.20
  - photos: 2.5.0
  - previewgenerator: 5.5.0
  - provisioning_api: 1.19.0
  - quota_warning: 1.19.0
  - registration: 2.4.0
  - related_resources: 1.4.0
  - richdocuments: 8.4.3
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - socialsharing_diaspora: 3.1.0
  - socialsharing_email: 3.1.0
  - socialsharing_facebook: 3.1.0
  - socialsharing_twitter: 3.1.0
  - spreed: 19.0.3
  - suspicious_login: 7.0.0
  - systemtags: 1.19.0
  - tasks: 0.16.0
  - terms_of_service: 2.4.0
  - text: 3.10.0
  - theming: 2.4.0
  - theming_customcss: 1.16.0
  - twofactor_backupcodes: 1.18.0
  - twofactor_email: 2.7.4
  - twofactor_nextcloud_notification: 3.9.0
  - twofactor_totp: 11.0.0-dev
  - unroundedcorners: 1.1.3
  - updatenotification: 1.19.1
  - user_retention: 1.12.1
  - user_status: 1.9.0
  - viewer: 2.3.0
  - weather_status: 1.9.0
  - workflowengine: 2.11.0
Disabled:
  - circles: 29.0.0-dev (installed 27.0.1)
  - encryption: 2.17.0
  - privacy: 1.13.0 (installed 1.12.0)
  - recommendations: 2.1.0 (installed 1.6.0)
  - support: 1.12.0 (installed 1.11.1)
  - survey_client: 1.17.0 (installed 1.17.0)
  - user_ldap: 1.20.0 (installed 1.19.0)

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Empty file, no errors

Additional info

root@Lenovo-TS150:~# sudo -u www-data php /var/www/nextcloud/occ setupchecks
 dav:
 ✓ DAV System Address Book: No DAV synchronization in progress of the system address book.
 network:
 ✓ WebDAV endpoint: Your web server is correctly configured to allow file synchronization via WebDAV.
 ✓ Protected data directory
 ✓ Internet connection
 ✓ Support for JavaScript source maps
 ✓ Support for JavaScript modules
 ✓ OCS Provider Resolution
 ✓ .well-known URL: Your server is correctly configured to serve `.well-known` URLs.
 ✓ Loading WOFF2 file
 system:
 ✓ Log errors: No errors in logs since Jun 16, 2024, 6:02:50 PM
 ℹBrute Force Attack Slower: Your remote address could not be determined.
 ✓ Cron Errors: The last cron job ran without errors.
 ✓ Last Cron Run: Last background task run 2 minutes ago.
 ✓ Debug Mode: Debug mode is disabled.
 ✓ File Lock
 ✓ Start of maintenance window: The maintenance window for running resource-intensive background tasks is between 1:00 UTC and 7:00 UTC
 ✓ Memcache: Configured
 ✓ Architecture: 64-bit
 ✓ Temporary space available: The temporary directory is correctly configured:
- 187.4 GiB available in /tmp (PHP temporary directory)
 ✓ Push service: Free push service
 notifications:
 ✓ Push notifications - Fair usage policy
 passwords:
 ✓ Check if the server is running background jobs with the same PHP version.: Background jobs are running with the same PHP version.
 ✓ Check if the server is running background tasks with cron.: Background tasks are run with cron.
 security:
 ✓ Owner of application directories: Application directories with the correct owner: “www-data”
 ✓ Old imported administration certificates
 ✓ Code integrity: No corrupted files
 ℹ Transmitted for headers: Your remote address could not be determined.
 ✓ HTTPS and URL access: You access your instance over a secure connection, and your instance generates secure URLs.
 ✓ Legacy server-side encryption: Disabled
 ✓ PHP Version: You are currently running PHP 8.2.20.
 ✓ Random generator: Secure
 ✓ HTTP Headers: Your server is correctly configured to send security headers.
 database:
 ✓ Missing columns in database: None
 ✓ Missing clues from database: None
 ✓ Missing primary keys in database: None
 ✓ Pending bigint database migrations: None
 ✓ Unicode MySQL Compatibility: MySQL is used as a database and is not compatible with 4-byte characters
 ✓ Database version: 11.2.4-MariaDB-deb12
 ✓ Database transaction isolation level: Read committed
 config:
 ✓ Default telephone code: FR
 ✓ Email Test: The test email was sent successfully
 ✓ Overwrite “CLI URL”: The “overwrite.cli.url” option in your config.php is set to “https://cloud.seeboxs.com” which is a correct URL. The suggested URL is “http://localhost”.
 ✓ Access rights to the configuration file: The Nextcloud configuration file is editable
 php:
 ✓ PHP default character set: UTF-8
 ✓ set_time_limit PHP: The function is available.
 ✓ Freetype: Support
 ✓ PHP getenv
 ✓ PHP memory limit: ?
 ✓ PHP Modules
 ✓ PHP opcache: Configured correctly
 ✓ PHP’s “output_buffering” option: Disabled
 ✓ Imagick PHP module

This problem appeared when switching from Nextcloud 28.0.5 to 29.0.0 THANKS

Cisco30 avatar Jun 23 '24 07:06 Cisco30