After upgrade to latest: OpenProject integration stopped working, Errors in Log

I have a setup running with openProject and nextCloud on different os instances (both ubuntu). I upgraded to the latest versions.

After doing so for nextCloud, files app showed internal server error. I disabled the openproject integration and the error disappeared. However, the log continies to show errors/warnings:

[cron] Warning: failed to create instance of background job: OCA\OpenProject\BackgroundJob\RemoveExpiredDirectUploadTokens
from ? by – at Jun 27, 2025, 6:25:01 PM

[index] Error: Call to undefined method GuzzleHttp\Psr7\Utils::redactUserInfo() in file ‘/srv/nextcloud/nextcloud-30.0.12/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php’ line 92
GET /index.php/apps/files/
from 192.168.110.32 by 14B2359C-2DCB-47E9-8985-4E1DBFF1939D at Jun 27, 2025, 6:20:56 PM

[cron] Warning: failed to create instance of background job: OCA\Circles\Cron\Maintenance
from ? by – at Jun 26, 2025, 12:30:01 PM

[integration_openproject] Error: The ‘user_oidc’ app is not enabled or supported
GET /ocs/v2.php/apps/dashboard/api/v2/widget-items?widgets%5B%5D=calendar
from 192.168.110.32 by 14B2359C-2DCB-47E9-8985-4E1DBFF1939D at Jun 26, 2025, 10:16:31 AM

I removed openProject integration and started over again with (confirmed) version 2.9.1. However, I could not enable the app from UI and after enabling with occ the files app stopped working again.

occ app:list:

Enabled:

  • activity: 4.0.0
  • app_api: 5.0.2
  • bruteforcesettings: 4.0.0
  • calendar: 5.3.3
  • cloud_federation_api: 1.14.0
  • comments: 1.21.0
  • contactsinteraction: 1.12.0
  • dashboard: 7.11.0
  • dav: 1.33.0
  • emlviewer: 2.0.1
  • federatedfilesharing: 1.21.0
  • federation: 1.21.0
  • files: 2.3.1
  • files_antivirus: 6.0.2
  • files_downloadlimit: 4.0.0
  • files_external: 1.23.0
  • files_pdfviewer: 4.0.0
  • files_reminders: 1.4.0
  • files_sharing: 1.23.1
  • files_trashbin: 1.21.0
  • files_versions: 1.24.0
  • firstrunwizard: 4.0.0
  • groupfolders: 19.1.1
  • limit_login_to_ip: 4.2.0
  • logreader: 4.0.0
  • lookup_server_connector: 1.19.0
  • nextcloud_announcements: 3.0.0
  • notifications: 4.0.0
  • oauth2: 1.19.1
  • password_policy: 3.0.0
  • photos: 4.0.0-dev.1
  • privacy: 3.0.0
  • profile: 1.0.0
  • provisioning_api: 1.21.0
  • recommendations: 4.0.0
  • related_resources: 2.0.0
  • richdocuments: 8.7.1
  • richdocumentscode: 25.4.202
  • serverinfo: 3.0.0
  • settings: 1.14.0
  • sharebymail: 1.21.0
  • support: 3.0.0
  • survey_client: 3.0.0
  • suspicious_login: 9.0.1
  • systemtags: 1.21.1
  • text: 5.0.0
  • theming: 2.6.1
  • twofactor_admin: 4.8.0
  • twofactor_backupcodes: 1.20.0
  • twofactor_nextcloud_notification: 5.0.0
  • twofactor_totp: 13.0.0-dev.0
  • updatenotification: 1.21.0
  • user_ldap: 1.22.0
  • user_status: 1.11.0
  • viewer: 4.0.0
  • weather_status: 1.11.0
  • webhook_listeners: 1.2.0
  • workflowengine: 2.13.0
    Disabled:
  • admin_audit: 1.21.0
  • circles: 31.0.0 (installed 31.0.0)
  • encryption: 2.19.0

Did anyone experience similar behaviour?

Not the same, but maybe similar.

For me, OpenProject integration also stopped working, and shows

Fehler
	integration_openproject
	
The 'user_oidc' app is not enabled or supported
03.07.2025, 20:39:07

and

Warnung
	integration_openproject
	
OpenProject API error : You did not provide the correct credentials.
03.07.2025, 20:11:28
	
Warnung
	integration_openproject
	
OpenProject API error : Client error: `GET https://example.com//api/v3/users/me` resulted in a `401 Unauthorized` response: {"_type":"Error","errorIdentifier":"urn:openproject-org:api:v3:errors:Unauthenticated","message":"You did not provide th (truncated...)
03.07.2025, 20:11:28

though I did not change anything in regard to the credentials.

The only changes where updates of Nextcloud / OpenProject App and OpenProject itself.

However, the Nextcloud Files app does not show internal server error for me, and I also have not yet tried to re-connect both instances: I googled first to avoid hunting a problem which might just be a bug which is going to be fixed later without requiring local config steps, as this happens not too rarely with new Nextcloud releases…

This way I stumbled across your post.

Maybe I will really try to reconnect the instances and see if I can resolve the issue this way…

Unfortunately from the error message I’m not sure which credentials it’s complaining about - the OP OAuth ID/Secret? The Nextloud OAuth ID/Secret? The Application Password?

Hello @Thomas_Voelker,
welcome to the community of Nextcloud :handshake:

You started a topic in support category. Unfortunately you ignored the template and a lot of information to help you is missing. Please edit your original post and add all required details like Nextcloud version, webserver type and version, os version, related log file content. Use the support template.

Without additional information the community members cannot help you.

Regards,
jtr

Try installing the “OpenID Connect user backend” app - this is what’s referred to as user_oidc in the error message.

It does not seem to be installed in your instance, and it wasn’t in mine. Apparently, the OpenProject Integration App is installable without it, but won’t work in this case - it least it currently looks to me that way.

After installing “OpenID Connect user backend” (without any additional configuration), the OpenProject Integration App started to work fine again (i.e. showing OpenProject Workpackages in the Dashboard, and allowing to link files to Work Packages from within Nextcloud).

Mh - or not… The errors in the UI are gone, but now the log is spammed with:

[integration_openproject] Fehler: Failed to get token: Failed to get external token, login token is not stored

Maybe I need to reset and re-setup the integration…

Unfortunate that it breaks this way with a simple app upgrade, and without - as far as I’m aware - migration instructions.

Probably related to this release of Nextcloud OpenProject Integration: OpenProject integration app for Nextcloud released in version 2.9.0