Can't update data version (OD-1099)
Unknown opened 3 years ago

So I have followed the guide on updating your server: https://docs.onedev.io/upgrade-guide

But despite it running and exiting saying its successfully checked the directory, I still get the following error:

00:18:02 ERROR i.o.s.persistence.DefaultDataManager - Data version mismatch (app data version: 108, db data version: 107)

What am I doing wrong?

I am using the upgrade.sh script in the latest build like it says, https://code.onedev.io/onedev/server/~builds/3271

  • Robin Shen commented 3 years ago

    Obviously you are connecting new program to old database. Are you able to start old version now?

  • Unknown commented 3 years ago

    @robin I have used the AUR package, its replaced the old files... oh wait that is probably the issue xD

  • Unknown commented 3 years ago

    How should I migrate the database without the old files (I still have the data, just not the old code)

  • Robin Shen commented 3 years ago

    You need to download the old code again and configure it to connect to your database.

  • Robin Shen commented 3 years ago

    At this time, I'd suggest to remove ArchLinux installation instructions from installation guide as it is not completely implemented yet. Users following this guide will get in trouble.

  • Unknown commented 3 years ago

    ok this is an issue I should address in issue #1041 for now I will downgrade the package back to the previous version, execute update.sh on it, and then install the package.

  • Unknown commented 3 years ago

    Robin I would rather not undo the typing I have done with the entire arch section, I will PR a warning stating the AUR package is unstable and to use the generic linux install for the time being

  • Robin Shen commented 3 years ago

    ok, a warning is fine.

  • Unknown commented 3 years ago

    I will submit a PR into docs now

  • Robin Shen changed state to 'Closed' 3 years ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen commented 3 years ago

    This is not a bug actually. Closing now

  • Unknown referenced from other issue 3 years ago
issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
Not Found
Issue Votes (0)
Watchers (3)
Reference
OD-1099
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover