server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: Tons of errors generated from /app/www/public/3rdparty/wapmorgan/mp3info/

Open janusn opened this issue 1 year ago • 28 comments

⚠️ This issue respects the following points: ⚠️

Bug description

There are tons of error generated from /app/www/public/3rdparty/wapmorgan/mp3info/

From the section of Security & setup warnings on web interface, Administration->Overview "25718 errors in the logs since 22 March 2024"

Steps to reproduce

  1. login into a Nextcloud Server
  2. click on the user icon on the upper right hand corner
  3. select Administrator Settings
  4. read the section Security & setup warnings

Expected behavior

No error reported from the section Security & setup warnings

Installation method

Community Docker image

Nextcloud Server version

28

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?

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

Configuration report

# occ config:list system
{
    "system": {
        "memcache.local": "\\OC\\Memcache\\APCu",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nc.chubbie.duckdns.org",
            "nextcloud.chubbie.duckdns.org",
            "nc.home.ngs",
            "nextcloud.home.ngs",
            "10.27.0.50"
        ],
        "dbtype": "mysql",
        "version": "28.0.4.1",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/nc.chubbie.duckdns.org",
        "overwritehost": "nc.chubbie.duckdns.org",
        "overwriteprotocol": "https",
        "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": "GB",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 1.5
        },
        "jpeg_quality": "80",
        "preview_max_scale_factor": 1,
        "enabledPreviewProviders": [
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\Krita",
            "OC\\Preview\\Imaginary"
        ],
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [
            "files_excludedirs",
            "files_rightclick"
        ],
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "tls",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "loglevel": 2,
        "theme": "",
        "filelocking.enabled": "true",
        "upgrade.disable-web": true,
        "maintenance_window_start": 1
    }
}

List of activated Apps

# occ app:list
Enabled:
  - activity: 2.20.0
  - circles: 28.0.0
  - cloud_federation_api: 1.11.0
  - comments: 1.18.0
  - contactsinteraction: 1.9.0
  - dashboard: 7.8.0
  - dav: 1.29.1
  - federatedfilesharing: 1.18.0
  - federation: 1.18.0
  - files: 2.0.0
  - files_external: 1.20.0
  - files_pdfviewer: 2.9.0
  - files_reminders: 1.1.0
  - files_rightclick: 1.6.0
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - firstrunwizard: 2.17.0
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - nextcloud_announcements: 1.17.0
  - notifications: 2.16.0
  - oauth2: 1.16.3
  - password_policy: 1.18.0
  - previewgenerator: 5.4.0
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - recommendations: 2.0.0
  - related_resources: 1.3.0
  - serverinfo: 1.18.0
  - settings: 1.10.1
  - sharebymail: 1.18.0
  - support: 1.11.1
  - survey_client: 1.16.0
  - suspicious_login: 6.0.0
  - systemtags: 1.18.0
  - text: 3.9.1
  - theming: 2.3.0
  - twofactor_backupcodes: 1.17.0
  - twofactor_totp: 10.0.0-beta.2
  - updatenotification: 1.18.0
  - user_status: 1.8.1
  - viewer: 2.2.0
  - weather_status: 1.8.0
  - workflowengine: 2.10.0
Disabled:
  - admin_audit: 1.18.0
  - bruteforcesettings: 2.8.0
  - encryption: 2.16.0
  - photos: 2.4.0 (installed 2.3.0)
  - user_ldap: 1.19.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Due to the volume of the file, only the first 100 lines are copied.

{"reqId":"PfWjMnvlJJLyxJnsr7k9","level":2,"time":"2024-02-22T23:15:40+00:00","remoteAddr":"10.27.0.11","user":"janus","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/dashboard/api/v2/widget-items?widgets%5B%5D=activity","message":"Temporary directory /data/temp is not present or writable","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36","version":"28.0.2.5","data":[]}
rsion":"28.0.2.5","data":{"app":"PHP"}}
a":{"app":"PHP"}}
{"reqId":"3IYkbIBtp3KjbJBDdLLS","level":3,"time":"2024-02-22T23:16:10+00:00","remoteAddr":"10.27.0.11","user":"janus","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"touch(): Unable to create file /data/nextcloud.log because Host is down at /app/www/public/lib/private/Log/File.php#66","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"PfWjMnvlJJLyxJnsr7k9","level":3,"time":"2024-02-22T23:16:10+00:00","remoteAddr":"10.27.0.11","user":"janus","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/dashboard/api/v2/widget-items?widgets%5B%5D=activity","message":"touch(): Unable to create file /data/nextcloud.log because Host is down at /app/www/public/lib/private/Log/File.php#66","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:35+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:35+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:35+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:35+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:35+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:35+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:22:36+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:49+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:55+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:55+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:55+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:23:55+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:38+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:38+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:38+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:38+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:41+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:41+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:41+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:41+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:41+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:41+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:41+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:41+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:41+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:42+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:42+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:42+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:42+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:42+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:42+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:42+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:48+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:48+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:48+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:48+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:48+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:48+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:48+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:51+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:51+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:51+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:51+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:51+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:51+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"RKinRYs4GZYZzivjYhwE","level":3,"time":"2024-02-22T23:25:51+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:57+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:57+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:57+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:57+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:57+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:57+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:58+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:58+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:58+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:58+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:58+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:58+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 4 at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:58+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:58+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:58+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:58+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:58+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"I7XPtXasxEwfjfl6CcVx","level":3,"time":"2024-02-22T23:59:58+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"\" at /app/www/public/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387","userAgent":"--","version":"28.0.2.5","data":{"app":"PHP"}}

Additional info

No response

janusn avatar Mar 29 '24 16:03 janusn

I suspect the reason you're seeing this so frequently is because you're using the previewgenerator app.

As to the underlying cause, that's a different matter. I assume you have some MP3 files among your Nextcloud data files?

The spot where this is happening (in a 3rd party library) suggests to me that the codec or layer versions (one or both) are coming up empty on at least one of your MP3 files.

You may be able to figure out what file it is by running previewgenerator manually from the command line with verbosity on (i.e. append -vvv to the command line)

https://github.com/nextcloud/previewgenerator?tab=readme-ov-file#commands

Lastly, there may be opportunity to explore having the mp3info library handle this unexpected situation a bit differently. Currently it looks like there is no fallback default if none of those headers match:

https://github.com/nextcloud/3rdparty/blob/e8a165a3811f1b454694337aaff47c30888ca9fc/wapmorgan/mp3info/src/Mp3Info.php#L374-L388

Cc: @kesselb

joshtrichards avatar Mar 29 '24 20:03 joshtrichards

Upstream PR created to generate an informative exception when this happens: wapmorgan/Mp3Info#36

joshtrichards avatar Mar 29 '24 21:03 joshtrichards

Thanks for your reply.

I suspect the reason you're seeing this so frequently is because you're using the previewgenerator app.

Yes, you are right. I have a crontab running $ occ preview:generate-all -vvv every hour.

As to the underlying cause, that's a different matter. I assume you have some MP3 files among your Nextcloud data files?

Indeed, I see mp3 files in the logs generated from the previewgenerator.

The spot where this is happening (in a 3rd party library) suggests to me that the codec or layer versions (one or both) are coming up empty on at least one of your MP3 files.

You may be able to figure out what file it is by running previewgenerator manually from the command line with verbosity on (i.e. append -vvv to the command line)

Here is a snip of the file output with -vvv flag:

2024-03-30T11:08:24+00:00 Scanning folder /rich/files/Media/Music
2024-03-30T11:08:24+00:00 Scanning folder /rich/files/Media/Music/20 Fingers
2024-03-30T11:08:24+00:00 Scanning folder /rich/files/Media/Music/20 Fingers/Lick It
2024-03-30T11:08:24+00:00 Generating previews for /rich/files/Media/Music/20 Fingers/Lick It/01 Lick It (20 Fingers Radio Mix).mp3
2024-03-30T11:08:24+00:00 Scanning folder /rich/files/Media/Music/20 Fingers/Short Dick Man
2024-03-30T11:08:24+00:00 Generating previews for /rich/files/Media/Music/20 Fingers/Short Dick Man/01 Short Dick Man (Radio Mix).mp3
2024-03-30T11:08:24+00:00 Generating previews for /rich/files/Media/Music/20 Fingers/Short Dick Man/05 Short Dick Man (Club Mix).mp3
2024-03-30T11:08:24+00:00 Scanning folder /rich/files/Media/Music/24kGoldn Ft. Iann Dior
2024-03-30T11:08:24+00:00 Scanning folder /rich/files/Media/Music/24kGoldn Ft. Iann Dior/Single
2024-03-30T11:08:24+00:00 Generating previews for /rich/files/Media/Music/24kGoldn Ft. Iann Dior/Single/12 Mood.mp3
2024-03-30T11:08:24+00:00 Scanning folder /rich/files/Media/Music/AJ Tracey & Not3s
2024-03-30T11:08:24+00:00 Scanning folder /rich/files/Media/Music/AJ Tracey & Not3s/Butterflies
2024-03-30T11:08:24+00:00 Scanning folder /rich/files/Media/Music/ATB x Topic x A7S
2024-03-30T11:08:24+00:00 Scanning folder /rich/files/Media/Music/ATB x Topic x A7S/Your Love (9PM)
2024-03-30T11:08:24+00:00 Generating previews for /rich/files/Media/Music/ATB x Topic x A7S/Your Love (9PM)/01 Your Love (9PM).mp3
2024-03-30T11:08:24+00:00 Scanning folder /rich/files/Media/Music/A_Teens
2024-03-30T11:08:24+00:00 Scanning folder /rich/files/Media/Music/A_Teens/Greatest Hits - A_Teens
2024-03-30T11:08:24+00:00 Generating previews for /rich/files/Media/Music/A_Teens/Greatest Hits - A_Teens/14 The Final Cut.mp3

There is no error in the log.

Excluding mp3 files from previewgenerator seems unrealistic. And it will still generate errors while a user browse the folder with mp3 in it.

janusn avatar Mar 30 '24 11:03 janusn

Yes, you are right. I have a crontab running $ occ preview:generate-all -vvv every hour.

Not the cause of your situation, but generate-all is generally only ran once:

https://github.com/nextcloud/previewgenerator?tab=readme-ov-file#how-to-use-the-app

joshtrichards avatar Mar 31 '24 13:03 joshtrichards

@joshtrichards

The reason I run occ preview:generate-all on cronjob is for files on external storage.

occ preview:pre-generate does not work on external storage.

janusn avatar Mar 31 '24 13:03 janusn

The reason I run occ preview:generate-all on cronjob is for files on external storage. occ preview:pre-generate does not work on external storage.

Oh, gotcha. nextcloud/previewgenerator#218 maybe?

joshtrichards avatar Mar 31 '24 14:03 joshtrichards

Oh, gotcha. nextcloud/previewgenerator#218 maybe?

Good find! Thanks for the info.

I think I have reported this years ago but no fixing was planned at that time.

janusn avatar Mar 31 '24 15:03 janusn

@joshtrichards After consulting the document, I realized it does not apply to external storage. Hence occ preview:pre-generate still do not work on external storage. 😞

janusn avatar Mar 31 '24 15:03 janusn

I have edited the config.php to exclude MP3 files from preview generation. It helps to cut down the errors generated. Now only 63 errors since Mar 30.

janusn avatar Apr 06 '24 22:04 janusn

just tried to manually patch @joshtrichards changes from wapmorgan/Mp3Info#36 and i can confirm the errors flood have stopped without additional issue when reading metadata or listening mp3.

edit: i came here cuz bug is live with NC 29.0.1

Albirew avatar May 23 '24 21:05 Albirew

@joshtrichards wdyt about removing the mp3 preview provider?

kesselb avatar May 24 '24 17:05 kesselb

just tried to manually patch @joshtrichards changes from wapmorgan/Mp3Info#36 and i can confirm the errors flood have stopped without additional issue when reading metadata or listening mp3.

edit: i came here cuz bug is live with NC 29.0.1

did you resolve problem in NC 29.01?

mesro09 avatar May 28 '24 05:05 mesro09

did you resolve problem in NC 29.01?

Yes, after edition, it is indeed solved in my instance of NC29.0.1 (I would still have to patch it again after an update, tho)

Albirew avatar May 28 '24 16:05 Albirew

I just updated my docker Nextcloud to version "Nextcloud Hub 8 (29.0.1)" and started seeing these errors. I did not see these before updating.

image

prairietree avatar Jun 03 '24 14:06 prairietree

Same here. Got thousands of those same errors every second. Just upgraded to 29.0.1 Didn't have an issue on 28.

Don't have preview generator active either.

:~# docker exec -u www-data nextcloud-app-1 php /var/www/html/occ app:list
Enabled:
  - activity: 2.21.1
  - admin_audit: 1.19.0
  - bruteforcesettings: 2.9.0
  - cloud_federation_api: 1.12.0
  - dav: 1.30.1
  - federatedfilesharing: 1.19.0
  - files: 2.1.0
  - files_downloadlimit: 2.0.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
  - groupfolders: 17.0.0
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - password_policy: 1.19.0
  - provisioning_api: 1.19.0
  - recommendations: 2.1.0
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - text: 3.10.0
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - updatenotification: 1.19.1
  - viewer: 2.3.0
  - workflowengine: 2.11.0
Disabled:
  - circles: 29.0.0-dev (installed 25.0.0)
  - comments: 1.19.0 (installed 1.15.0)
  - contactsinteraction: 1.10.0 (installed 1.6.0)
  - dashboard: 7.9.0 (installed 7.5.0)
  - encryption: 2.17.0
  - federation: 1.19.0 (installed 1.15.0)
  - files_external: 1.21.0
  - firstrunwizard: 2.18.0 (installed 2.14.0)
  - nextcloud_announcements: 1.18.0 (installed 1.14.0)
  - photos: 2.5.0 (installed 2.4.0)
  - privacy: 1.13.0 (installed 1.9.0)
  - related_resources: 1.4.0 (installed 1.0.4)
  - support: 1.12.0 (installed 1.8.0)
  - survey_client: 1.17.0 (installed 1.13.0)
  - suspicious_login: 7.0.0 (installed 4.3.0)
  - systemtags: 1.19.0 (installed 1.15.0)
  - twofactor_totp: 11.0.0-dev
  - user_ldap: 1.20.0
  - user_status: 1.9.0 (installed 1.5.0)
  - weather_status: 1.9.0 (installed 1.5.0)
{"reqId":"zF7vEmfGcqriLYhcoFGI","level":3,"time":"2024-06-03T22:07:15+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type bool at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#589","userAgent":"--","version":"29.0.1.1","data":{"app":"PHP"}}
{"reqId":"NFkyuaEJwOGyN0LkZP4e","level":3,"time":"2024-06-03T22:07:15+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type bool at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#589","userAgent":"--","version":"29.0.1.1","data":{"app":"PHP"}}
{"reqId":"zF7vEmfGcqriLYhcoFGI","level":3,"time":"2024-06-03T22:07:15+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type bool at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#590","userAgent":"--","version":"29.0.1.1","data":{"app":"PHP"}}
{"reqId":"NFkyuaEJwOGyN0LkZP4e","level":3,"time":"2024-06-03T22:07:15+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type bool at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#590","userAgent":"--","version":"29.0.1.1","data":{"app":"PHP"}}
{"reqId":"zF7vEmfGcqriLYhcoFGI","level":3,"time":"2024-06-03T22:07:15+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"unpack(): Type N: not enough input, need 4, have 0 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#588","userAgent":"--","version":"29.0.1.1","data":{"app":"PHP"}}
{"reqId":"NFkyuaEJwOGyN0LkZP4e","level":3,"time":"2024-06-03T22:07:15+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"unpack(): Type N: not enough input, need 4, have 0 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#588","userAgent":"--","version":"29.0.1.1","data":{"app":"PHP"}}
{"reqId":"zF7vEmfGcqriLYhcoFGI","level":3,"time":"2024-06-03T22:07:15+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type bool at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#589","userAgent":"--","version":"29.0.1.1","data":{"app":"PHP"}}
{"reqId":"NFkyuaEJwOGyN0LkZP4e","level":3,"time":"2024-06-03T22:07:15+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type bool at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#589","userAgent":"--","version":"29.0.1.1","data":{"app":"PHP"}}
{"reqId":"zF7vEmfGcqriLYhcoFGI","level":3,"time":"2024-06-03T22:07:15+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type bool at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#590","userAgent":"--","version":"29.0.1.1","data":{"app":"PHP"}}
{"reqId":"NFkyuaEJwOGyN0LkZP4e","level":3,"time":"2024-06-03T22:07:15+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type bool at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#590","userAgent":"--","version":"29.0.1.1","data":{"app":"PHP"}}

Not quite sure what app is causing this as im using a very slimmed down nextcloud for just filestorage basically.

Aureliolo avatar Jun 03 '24 20:06 Aureliolo

I got these with 29.0.2 now.

mayonezo avatar Jun 07 '24 09:06 mayonezo

Never noticed those errors. But after NC 29.0.2 update log is full of this error.

XueSheng-GIT avatar Jun 08 '24 06:06 XueSheng-GIT

Same here, errors appear after 29.0.2 upgrade. I don't use the previewgenerator app.

kiv57 avatar Jun 08 '24 08:06 kiv57

Tip: Disable the mp3 preview provider and you don't see the warning anymore in the logs.

kesselb avatar Jun 08 '24 12:06 kesselb

Same here, even though I don't knowingly use the previewgenerator app.

jameskimmel avatar Jun 08 '24 12:06 jameskimmel

Tip: Disable the mp3 preview provider and you don't see the warning anymore in the logs.

As I don't know how do disable it inside the Music app, I disabled the app...

kiv57 avatar Jun 08 '24 12:06 kiv57

I think you can disable mp3 preview by adding an 'enabledPreviewProviders' section in config.php without the ''OC\Preview\MP3',' line as explained here.

manu-p avatar Jun 09 '24 10:06 manu-p

in the meantime, since i don't want to whitelist what preview i want to keep or not, i made a patch file that i reapply after every updates you can save code below into a text file called mp3info.patch in your user folder and apply patch with the command sudo patch /path/to/nextcloud/3rdparty/wapmorgan/mp3info/src/Mp3Info.php < ~/mp3info.patch

--- Mp3Info.old.php	2024-06-08 15:17:44.000000000 +0200
+++ Mp3Info.new.php	2024-06-08 15:15:59.000000000 +0200
@@ -384,6 +384,9 @@
             case 0b11: $this->layerVersion = self::LAYER_1; break;
         }
 
+        if (!isset($this->codecVersion) || !isset($this->layerVersion) || !isset($header_bytes[2])) {
+            throw new \Exception('Unrecognized codecVersion or layerVersion headers!');
+        }
         $this->bitRate = self::$_bitRateTable[$this->codecVersion][$this->layerVersion][$header_bytes[2] >> 4];
         $this->sampleRate = self::$_sampleRateTable[$this->codecVersion][($header_bytes[2] >> 2) & 0b11];
 
@@ -394,6 +397,9 @@
             case 0b11: $this->channel = self::MONO; break;
         }
 
+        if (!isset($this->channel)) {
+            throw new \Exception('Unrecognized channel header!');
+        }
         $vbr_offset = self::$_vbrOffsets[$this->codecVersion][$this->channel == self::MONO ? 0 : 1];
 
         // check for VBR

Albirew avatar Jun 09 '24 17:06 Albirew

I have edited the config.php to exclude MP3 files from preview generation. It helps to cut down the errors generated. Now only 63 errors since Mar 30.

HOW?

expressrussian avatar Jun 10 '24 05:06 expressrussian

I have edited the config.php to exclude MP3 files from preview generation. It helps to cut down the errors generated. Now only 63 errors since Mar 30.

HOW?

Please follow these instructions: Configuration Parameters - Previews

janusn avatar Jun 10 '24 14:06 janusn

the bug is still present in 29.0.3, any update when it will be fixed?

and thx for the tip to disable mp3 - preview generation

lwt-pressy avatar Jun 26 '24 10:06 lwt-pressy

the bug is still present in 29.0.3, any update when it will be fixed? thx [Albirew] for the patch

patachou74 avatar Jun 29 '24 20:06 patachou74

The patch at https://github.com/wapmorgan/Mp3Info/pull/36 (slightly updated today) can be applied if you can't wait for a maintenance release. The file to update/replace in your Nextcloud installation folder is at 3rdparty/wapmorgan/mp3info/src/Mp3Info.php

We'll patch the version we distribute w/ Server in the next maintenance release regardless of the status of the upstream PR merge.

P.S. There's no need to post "me too / still happening" comments. It just creates noise for everyone and wasted time/resources (which slows down development... such as for bug fixes). Just upvote :+1: the initial report above (unless you have something useful to add that'll help resolve an issue of course). The :+1: is how, in part, we prioritize issues. Ironically no one has yet :+1: the initial report above. :)

joshtrichards avatar Jun 29 '24 23:06 joshtrichards

Also existing in 29.0.4. I thought, that should be fixed? I disabled Preview in config.php: 'enable_previews' => true, --> 'enable_previews' => false, this didn't help. I also disabled MP3 Preview in the "EnabledPreviewProviders"-Section - also not better:

  • removed OC\Preview\MP§

It even crashed my instance since disk was full. What can I do?

Tschortsch0815 avatar Jul 19 '24 19:07 Tschortsch0815

What can I do?

Please log a new issue, provide the requested information (don't forget the logs) and we will take a look.

kesselb avatar Jul 19 '24 20:07 kesselb