Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Plugins
  1. OpenProject
  2. Forums
  3. Plugins
  4. SOLVED: Nextcloud integration session expires, no access to files

SOLVED: Nextcloud integration session expires, no access to files

Added by Hans Erasmus over 1 year ago

Hi all

I managed to get my Nextcloud 28 connected to OpenProject successfully, and all was working like a charm! That was yesterday. I remember during my tests that at some point I had to log into Nextcloud and 'grant access' to OP. This tells me there is some cookie that was set. So yesterday everything worked excellently. However, I came back today, wanted to check out a few more things, and I ran into this error:

{
 "headers": {
   "normalizedNames": {},
   "lazyUpdate": null
 },
 "status": 500,
 "statusText": "Internal Server Error",
 "url": "https://projects.example.com/api/v3/work_packages/235/file_links?filters=[{%22storage%22:{%22operator%22:%22=%22,%22values%22:[%222%22]}}]",
 "ok": false,
 "name": "HttpErrorResponse",
 "message": "Http failure response for https://projects.example.com/api/v3/work_packages/235/file_links?filters=[{%22storage%22:{%22operator%22:%22=%22,%22values%22:[%222%22]}}]: 500 Internal Server Error",
 "error": {
   "_type": "Error",
   "errorIdentifier": "urn:openproject-org:api:v3:errors:InternalServerError",
   "message": "An internal error has occurred. unexpected token at '<?xml version=\"1.0\"?>\n<ocs>\n <meta>\n  <status>failure</status>\n  <statuscode>996</statuscode>\n  <message>Internal Server Error\n</message>\n </meta>\n <data/>\n</ocs>\n'"
 }
}

As you can clearly see, I have no access to my Nextcloud Storages. Checking from the admin pages, the integration shows all green.

All of my services run behind an HAProxy loadbalancer with SSL termination. So Nextcloud reaches OpenProject on HTTPS, but via the load balancer, and vice versa. I don't know if I need to set something special here? I also have both services connected via LDAP. So the same user is logged into both OP and NC via LDAP.

This baffles me as this was fully functional and might I say, working really nicely yesterday. But this session expiration thing is a kind of a deal-breaker, seeing as you cannot get to your work done 'yesterday'.

Any way I can fix this? TIA for any help.


Replies (7)

RE: Nextcloud integration session expires, no access to files - Added by Hans Erasmus over 1 year ago

Anyone have any ideas?

RE: Nextcloud integration session expires, no access to files - Added by Hans Erasmus over 1 year ago

This was an issue with NC 28. I installed the latest 27 version and it seems the app is working as expected.

RE: SOLVED: Nextcloud integration session expires, no access to files - Added by Markus Kahl over 1 year ago

Hello Hans,

do you still have the OpenProject logs for this time by any chance?
It woudl be interesting to know what the backend error message for the internal server error was.

RE: RE: Nextcloud integration session expires, no access to files - Added by Martin Patz over 1 year ago

I ran into the same issue after upgrading to NC28.

Versions

  • OpenProject: 13.1.2 (also tried with 13.0.0)
  • Nextcloud Hub 7 (28.0.1)
  • OpenProject Integration 2.5.1

Logs

E, [2024-01-12T19:06:13.874406 #122] ERROR -- : [d5391390-ac38-4744-a874-b1301a293e21] user=5 unexpected token at '<?xml version="1.0"?>
<ocs>
 <meta>
  <status>failure</status>
  <statuscode>996</statuscode>
  <message>Internal Server Error
</message>
 </meta>
 <data/>
</ocs>
': unexpected token at '<?xml version="1.0"?>
<ocs>
 <meta>
  <status>failure</status>
  <statuscode>996</statuscode>
  <message>Internal Server Error
</message>
 </meta>
 <data/>
</ocs>
'

Solution

sadly, downgrading simply to NextCloud 27 is not an option for me. Any ideas? Is there an issue that tracks this?

RE: SOLVED: Nextcloud integration session expires, no access to files - Added by Markus Kahl over 1 year ago

There is a Nextcloud issue for the bug. It's been closed in the meantime. But I have no idea if that actually means the bug has been fixed and when it will be released.

https://github.com/nextcloud/server/issues/42394

RE: SOLVED: Nextcloud integration session expires, no access to files - Added by Neigh Sanlo about 1 year ago

Nice source for me.

There is a Nextcloud issue for the bug. It's been closed in the meantime. But I have no idea if that actually means the bug has been fixed and when it will be released.

https://github.com/nextcloud/server/issues/42394 battleship online

RE: RE: SOLVED: Nextcloud integration session expires, no access to files - Added by Deleted user 10 months ago

Have you learned any more information yet?

There is a Nextcloud issue for the bug. It's been closed in the meantime. But I have no idea if that actually means the bug has been fixed and when it will be released.

https://github.com/nextcloud/server/issues/42394 geometry dash

  • (1 - 7/7)
Loading...