server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: Editing an image does not work

Open Ducknuke opened this issue 9 months ago • 20 comments

⚠️ This issue respects the following points: ⚠️

Bug description

I click on files and select an image, then click on edit, i.e. on the pen. Then it reloads and then the message appears. “Il n'y a pas d'extension disponible pour afficher ce type de fichier.” image

when I get this error I have a lot of errors messages in the log : image

I have to reload the browser so that I can select any files again and then everything works again except for editing an image

Steps to reproduce

  1. Open an image (.jpg...)
  2. Select the pen at the top right

Expected behavior

  1. Open an image
  2. Select the pen at the top right
  3. Edit your image
  4. Save and close

Installation method

Community Docker image

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Nginx

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?

Encryption is Disabled

What user-backends are you using?

  • [ ] 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": [
            "https:\/\/nextcloud.********.fr\/"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "version": "29.0.0.19",
        "dbtype": "mysql",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "installed": true,
        "default_language": "fr",
        "force_language": "fr",
        "default_locale": "fr_FR",
        "default_phone_region": "FR",
        "force_locale": "fr_FR",
        "default_timezone": "Europe\/Paris",
        "knowledgebaseenabled": true,
        "knowledgebase.embedded": false,
        "allow_user_to_change_display_name": true,
        "remember_login_cookie_lifetime": 1296000,
        "session_lifetime": 86400,
        "davstorage.request_timeout": 30,
        "session_relaxed_expiry": false,
        "session_keepalive": true,
        "auto_logout": false,
        "token_auth_enforced": false,
        "token_auth_activity_update": 60,
        "auth.bruteforce.protection.enabled": true,
        "auth.bruteforce.protection.testing": false,
        "ratelimit.protection.enabled": true,
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpdebug": false,
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": 465,
        "mail_smtptimeout": 10,
        "mail_smtpsecure": "ssl",
        "mail_smtpauth": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_send_plaintext_only": false,
        "mail_smtpstreamoptions": [],
        "mail_sendmailmode": "smtp",
        "overwritehost": "nextcloud.********.fr",
        "overwriteprotocol": "https",
        "overwritewebroot": "",
        "overwritecondaddr": "",
        "overwrite.cli.url": "https:\/\/nextcloud.***********.fr\/",
        "proxy": "",
        "proxyuserpwd": "***REMOVED SENSITIVE VALUE***",
        "proxyexclude": [],
        "allow_local_remote_servers": false,
        "trashbin_retention_obligation": "auto, 60",
        "versions_retention_obligation": "auto",
        "appcodechecker": true,
        "updatechecker": true,
        "updater.server.url": "https:\/\/updates.nextcloud.com\/updater_server\/",
        "updater.release.channel": "stable",
        "has_internet_connection": true,
        "connectivity_check_domains": [
            "www.nextcloud.com",
            "www.startpage.com",
            "www.eff.org",
            "www.edri.org"
        ],
        "check_for_working_wellknown_setup": true,
        "check_for_working_htaccess": true,
        "check_data_directory_permissions": true,
        "config_is_read_only": false,
        "log_type": "file",
        "log_type_audit": "file",
        "logfile": "\/data\/nextcloud.log",
        "logfile_audit": "\/data\/audit.log",
        "logfilemode": 416,
        "loglevel": 2,
        "loglevel_frontend": 2,
        "syslog_tag": "Nextcloud",
        "syslog_tag_audit": "Nextcloud",
        "log.condition": {
            "shared_secret": "***REMOVED SENSITIVE VALUE***",
            "users": [
                "sample-user"
            ],
            "apps": [
                "files"
            ]
        },
        "log.backtrace": false,
        "logdateformat": "F d, Y H:i:s",
        "logtimezone": "Europe\/Paris",
        "log_query": false,
        "log_rotate_size": 104857600,
        "profiler": false,
        "customclient_desktop": "https:\/\/nextcloud.com\/install\/#install-clients",
        "customclient_android": "https:\/\/play.google.com\/store\/apps\/details?id=com.nextcloud.client",
        "customclient_ios": "https:\/\/itunes.apple.com\/us\/app\/nextcloud\/id1125420102?mt=8",
        "customclient_ios_appid": "1125420102",
        "defaultapp": "dashboard,files",
        "appstoreenabled": true,
        "appstoreurl": "https:\/\/apps.nextcloud.com\/api\/v1",
        "appsallowlist": [],
        "apps_paths": [
            {
                "path": "\/app\/www\/public\/apps",
                "url": "\/apps",
                "writable": true
            }
        ],
        "enable_previews": true,
        "preview_concurrency_all": 8,
        "preview_concurrency_new": 4,
        "preview_max_x": 4096,
        "preview_max_y": 4096,
        "preview_max_filesize_image": 50,
        "preview_max_memory": 512,
        "enabledPreviewProviders": [
            "OC\\Preview\\Image",
            "OC\\Preview\\Movie",
            "OC\\Preview\\BMP",
            "OC\\Preview\\GIF",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\MKV",
            "OC\\Preview\\MP4",
            "OC\\Preview\\AVI",
            "OC\\Preview\\Krita",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\MP3",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\PNG",
            "OC\\Preview\\PDF",
            "OC\\Preview\\TXT",
            "OC\\Preview\\XBitmap"
        ],
        "maintenance": false,
        "maintenance_window_start": 1,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "mysql.utf8mb4": true,
        "supportedDatabases": [
            "sqlite",
            "mysql",
            "pgsql",
            "oci"
        ],
        "forbidden_chars": [
            "?",
            "<",
            ">",
            ":",
            "*",
            "|",
            "\""
        ],
        "theme": "",
        "enforce_theme": "",
        "minimum.supported.desktop.version": "2.3.0",
        "external_storage.auth_availability_delay": 1800,
        "files_external_allow_create_new_local": true,
        "filesystem_check_changes": 0,
        "part_file_in_storage": true,
        "filesystem_cache_readonly": false,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "max_filesize_animated_gifs_public_sharing": 10,
        "filelocking.enabled": true,
        "filelocking.ttl": 3600,
        "memcache.locking": "\\OC\\Memcache\\APCu",
        "filelocking.debug": false,
        "upgrade.disable-web": false,
        "upgrade.cli-upgrade-link": "",
        "debug": false,
        "data-fingerprint": "",
        "lookup_server": "https:\/\/lookup.nextcloud.com",
        "gs.enabled": false,
        "gs.federation": "internal",
        "simpleSignUpLink.shown": true,
        "login_form_autocomplete": true,
        "no_unsupported_browser_warning": false,
        "files_no_background_scan": false,
        "diagnostics.logging": true,
        "diagnostics.logging.threshold": 0,
        "profile.enabled": true,
        "enable_file_metadata": true,
        "account_manager.default_property_scope": [],
        "projects.enabled": false,
        "bulkupload.enabled": true,
        "reference_opengraph": true,
        "unified_search.enabled": false,
        "enable_non-accessible_features": true,
        "mail_smtpauthtype": "LOGIN",
        "twofactor_enforced": "false",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [
            "admin",
            "utilisateur"
        ]
    }
}

List of activated Apps

Enabled:
  - activity: 2.21.1
  - admin_audit: 1.19.0
  - bruteforcesettings: 2.9.0
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contactsinteraction: 1.10.0
  - dashboard: 7.9.0
  - dav: 1.30.1
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.0
  - 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
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - maps: 1.4.0
  - nextcloud_announcements: 1.18.0
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - password_policy: 1.19.0
  - photos: 2.5.0
  - previewgenerator: 5.5.0
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - recommendations: 2.1.0
  - related_resources: 1.4.0
  - richdocuments: 8.4.2
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - support: 1.12.0
  - survey_client: 1.17.0
  - suspicious_login: 7.0.0
  - systemtags: 1.19.0
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - twofactor_totp: 11.0.0-dev
  - 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 29.0.0-dev)
  - encryption: 2.17.0
  - text: 3.10.0 (installed 3.9.1)
  - updatenotification: 1.19.1 (installed 1.17.0)
  - user_ldap: 1.20.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

{"reqId":"HB0PHtBWL7JEDksakiM7","level":3,"time":"2024-05-23T16:40:38+02:00","remoteAddr":"192.168.1.254","user":"Romain","app":"no app in context","method":"GET","url":"/ocs/v2.php/teams/resources/files/718799","message":"No provider found for id files","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36","version":"29.0.0.19","exception":{"Exception":"RuntimeException","Message":"No provider found for id files","Code":0,"Trace":[{"file":"/app/www/public/lib/private/Teams/TeamManager.php","line":95,"function":"getProvider","class":"OC\\Teams\\TeamManager","type":"->"},{"file":"/app/www/public/core/Controller/TeamsApiController.php","line":84,"function":"getTeamsForResource","class":"OC\\Teams\\TeamManager","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"listTeams","class":"OC\\Core\\Controller\\TeamsApiController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/ocs/v1.php","line":66,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/ocs/v2.php","line":23,"args":["/app/www/public/ocs/v1.php"],"function":"require_once"}],"File":"/app/www/public/lib/private/Teams/TeamManager.php","Line":77,"message":"No provider found for id files","exception":[],"CustomMessage":"No provider found for id files"},"id":"664f58dd89c32"}

Additional info

No response

Ducknuke avatar May 23 '24 15:05 Ducknuke