-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NC 22.2.3] Deprecated event type for OCP\IPreview:PreviewRequested #30639
Comments
Does this still happen if you set the loglevel to |
For sure not, but this will simply suppress messages below
|
You should use the admin_audit app for such things |
@szaimen |
It is integrated into the server: https://github.com/nextcloud/server/tree/master/apps/admin_audit See https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/logging_configuration.html?highlight=admin_audit#admin-audit-log for how to configure it Everything will then be logged to this file. Also, see this PR: nextcloud/logreader#476 |
@szaimen Thank you very much. 👋 I must confess, I didn't read the manual for this specific case. 🙈 I only have been using the logging untill now with Level |
😄 Thanks, I use it too, but |
This is a good comment from other issue: #24380 (comment) |
Hi, please update to 24.0.9 or better 25.0.3 and report back if it fixes the issue. Thank you! My goal is to add a label like e.g. 25-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort! If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+ |
Nextcloud 24.0.9 still presented: {"reqId":"X9Ez064xV7jPfC5H9xPT","level":1,"time":"2023-01-30T15:18:24+00:00","remoteAddr":"255.255.255.255","user":"USER","app":"no app in context","method":"GET","url":"/index.php/core/preview?fileId=4638250&c=e56af70963f1e875f00ea57d18634fb2&x=250&y=250&forceIcon=0&a=0","message":"Deprecated event type for OCP\\IPreview:PreviewRequested: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"24.0.9.2","data":[],"id":"63d7dfc05d75f"} |
Hi, please update to 25.0.7 or better 26.0.2 and report back if it fixes the issue. Thank you! My goal is to add a label like e.g. 26-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort! If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+ |
Seems no such kind of messages appears any more in NC 24. |
How to use GitHub
Steps to reproduce
Expected behaviour
No Deprecated events being used in UI
Actual behaviour
Logs flood with same event
Server configuration detail
Operating system: Linux 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64
Webserver: Apache (fpm-fcgi)
Database: mysql 10.3.32
PHP version: 7.4.27
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, json, ldap, exif, mysqli, pdlib, pdo_mysql, pdo_sqlite, apc, posix, readline, redis, shmop, SimpleXML, snmp, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Phar, Zend OPcache
Nextcloud version: 22.2.3 - 22.2.3.0
Updated from an older Nextcloud/ownCloud or fresh install: Updated
Where did you install Nextcloud from: Official
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
External storages: Local, Webdav
Encryption: no
User-backends:
Talk configuration:
STUN servers
TURN servers
Signaling servers (mode: internal):
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
The text was updated successfully, but these errors were encountered: