All builds failed after update to 16.5.8 #3060
pim opened 6 days ago

After updating to onedev 16.5.8 from an earlier version (that didn't show breaking changes/incompatibilities) my builds no longer seem to work.

Steps like publishing an artifact failed with a 500 on some api request...

Server-log shows many variations on:

2026-08-26 14:22:29,499 ERROR [qtp410562074-9937] i.o.s.rest.JerseyExceptionMapper Error processing api request
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: Error reading directory version from file: /opt/onedev-current/site/projects/6/builds/.onedev-directory-version

I checked and /opt/onedev-current/site/projects/6/builds/.onedev-directory-version was an empty file. My backup had a file that did contain a number and I placed that number in the new file. Now things seem to be working again.

Is this an ok fix or should I do something else?

  • Robin Shen commented 6 days ago

    Upgrading to recent versions does not exhibit the issue. Can you please run a test instance to see if you can reproduce this?

  • pim commented 6 days ago

    On second thought, I'm not 100% sure this was caused by the update. I don't have much time this week so I can't spin up a test instance, sorry. My problem was fixed so I'll close this for now and if anyone else has a similar issue we can reopen it.

    Thank you for your time and quick response!

  • pim changed state to 'Closed' 6 days ago
    Previous Value Current Value
    Open
    Closed
1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
16.5.8
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-3060
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover