Skip to content
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

The log is flooded with errors, but everything works perfectly #963

Open
justPoppingIn opened this issue Jan 4, 2025 · 4 comments
Open
Labels
0. Needs triage bug Something isn't working

Comments

@justPoppingIn
Copy link

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Install News plugin
  2. Install RSS Guard
  3. Connect RSS Guard to News plugin of Nextcloud

Expected behaviour

Everything works fine, no errors should appear in the log.

Actual behaviour

It seems, the login of RSS Guard, which pulls the RSS Feeds from News plugin, triggers a PHP error.
The following error floods my log since quite some time (4279 errors in the logs since 28. Dezember 2024, 22:00:23, now is 04. January 2025, 22:00):
{...,"app":"PHP","method":"GET","url":"/nextcloud/index.php/apps/news/api/v1-2/items?id=8&batchSize=100&type=0&getRead=true","message":"Return type of Tensor\Vector::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/nextcloud/apps/suspicious_login/vendor/rubix/tensor/src/Vector.php#2414","userAgent":"RSS Guard/4.0.4 (github.com/martinrotter/rssguard)","version":"30.0.4.1","data":{"app":"PHP"},"id":...}

Server configuration

Web server: Apache

Database: mysql/10.11.8

PHP version: 8.3.6

Nextcloud version: 30.0.4

List of activated apps Enabled: - activity: 3.0.0 - analytics: 5.2.1 - app_api: 4.0.3 - bruteforcesettings: 3.0.0 - calendar: 5.0.8 - cloud_federation_api: 1.13.0 - comments: 1.20.1 - contacts: 6.1.2 - contactsinteraction: 1.11.0 - dashboard: 7.10.0 - dav: 1.31.1 - federatedfilesharing: 1.20.0 - federation: 1.20.0 - files: 2.2.0 - files_downloadlimit: 3.0.0 - files_pdfviewer: 3.0.0 - files_reminders: 1.3.0 - files_sharing: 1.22.0 - files_trashbin: 1.20.1 - files_versions: 1.23.0 - firstrunwizard: 3.0.0 - logreader: 3.0.0 - lookup_server_connector: 1.18.0 - mail: 4.1.1 - news: 25.1.2 - nextcloud_announcements: 2.0.0 - notifications: 3.0.0 - oauth2: 1.18.1 - password_policy: 2.0.0 - phonetrack: 0.8.2 - photos: 3.0.2 - privacy: 2.0.0 - provisioning_api: 1.20.0 - recommendations: 3.0.0 - related_resources: 1.5.0 - richdocuments: 8.5.3 - richdocumentscode: 24.4.1002 - serverinfo: 2.0.0 - settings: 1.13.0 - sharebymail: 1.20.0 - snappymail: 2.38.2 - support: 2.0.0 - survey_client: 2.0.0 - suspicious_login: 8.0.0 - systemtags: 1.20.0 - tasks: 0.16.1 - text: 4.1.0 - theming: 2.5.0 - twofactor_backupcodes: 1.19.0 - updatenotification: 1.20.0 - user_status: 1.10.0 - viewer: 3.0.0 - weather_status: 1.10.0 - webhook_listeners: 1.1.0-dev - workflowengine: 2.12.0 Disabled: - admin_audit: 1.20.0 - circles: 30.0.0 (installed 22.1.1) - encryption: 2.18.0 - files_external: 1.22.0 - files_rightclick: 0.15.1 (installed 1.6.0) - groupfolders: 18.0.8 (installed 18.0.8) - notes: 4.11.0 (installed 4.11.0) - spreed: 20.1.1 (installed 20.1.1) - twofactor_nextcloud_notification: 4.0.0 - twofactor_totp: 12.0.0-dev - user_ldap: 1.21.0
Nextcloud configuration

{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"REMOVED SENSITIVE VALUE",
"REMOVED SENSITIVE VALUE",
"REMOVED SENSITIVE VALUE"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "30.0.4.1",
"overwrite.cli.url": "REMOVED SENSITIVE VALUE/nextcloud",
"htaccess.RewriteBase": "/nextcloud",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"mail_smtpmode": "sendmail",
"mail_sendmailmode": "smtp",
"memcache.local": "\OC\Memcache\APCu",
"maintenance": false,
"theme": "",
"loglevel": 2,
"default_phone_region": "REMOVED SENSITIVE VALUE",
"updater.release.channel": "stable",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"filelocking.enabled": "true",
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"port": 0,
"dbindex": 0,
"password": "REMOVED SENSITIVE VALUE",
"timeout": 1.5
},
"maintenance_window_start": 4,
"app_install_overwrite": [
"news"
]
}
}

Browser

Browser name: Firefox

Browser version: 133.0.3

Operating system: Ubuntu

Browser log No browser log, error is not related to browser.
@justPoppingIn justPoppingIn added 0. Needs triage bug Something isn't working labels Jan 4, 2025
@DerDreschner
Copy link
Contributor

DerDreschner commented Jan 9, 2025

That's a dependency hell issue, as @ChristophWurst tends to say.

The suspicous_login plugin uses RubixML 2.1.1 and the mail plugin uses RubixML 2.5.1. Removing/deactivating the mail plugin should resolve the issue.

Kinda a duplicate of #939 / #780, although other error message mentioned there.

@ChristophWurst
Copy link
Member

That's a dependency hell issue, as @ChristophWurst tends to say.

https://en.wikipedia.org/wiki/Dependency_hell 😉

@justPoppingIn
Copy link
Author

Thank you for looking into the issue and suggesting a solution.
Yesterday, I deactivated the Mail plugin and rebooted the machine, just to be sure.

Sadly, this did not resolve the issue. I still get the same error messages.

Could there be other plugins contributing to the dependency hell?

@ChristophWurst
Copy link
Member

It is a possibility, yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants