Latest version (8.0.15) non-updatable and lost all data (OD-1322)
Unknown opened 3 years ago

Hello,

Just a heads up that when i attempted to update from 8.0.15 I got an error saying it could not remove files, and I lost all my data.

This time was the ONLY time I forgot to backup before attempting to update, because I was in a rush, which means I have lost about 2 weeks of data, including all code I have wrote over the past 2 weeks, about 40-50 hours of work gone.

REMEMBER TO BACK UP!!!

  • Unknown changed fields 3 years ago
    Name Previous Value Current Value
    Priority
    Normal
    Critical
  • Unknown commented 3 years ago

    the onedev directory was deleted, so before you ask me to use the automatic backup, its gone too.

  • Unknown commented 3 years ago

    I will have to withdraw as a public instance for this mistake, I am no longer trustworthy to be a public instance.

    I backup every 2 weeks, all the onedev data, and also every update I backup beforehand, today was the day the 2 week backup had to be done, and I updated onedev today and I waas an idiot and forgot the backup in a rush we all forget things, but I forgot the most vital thing.

    I attempted to undo the removal through recovery by the inode journal, but the tools keep trying to recover the broken data, not the working data.

  • OneDev referenced from other issue 3 years ago
  • Unknown commented 3 years ago

    Another issue is that the data (site) is stored in the same directory as the source code, this wouldn't have happened if the site data was not stored within the same directory, see issue #1323

  • Robin Shen commented 3 years ago

    Not sure how you did the upgrade. With the official upgrade procedure, it should be impossible to lost data, as OneDev never delete the installation directory and user data. Also it will take a database backup automatically before upgrade.

  • Robin Shen changed fields 3 years ago
    Name Previous Value Current Value
    Type
    Bug
    Discussion
  • Robin Shen changed fields 3 years ago
    Name Previous Value Current Value
    Priority
    Critical
    Normal
  • Unknown commented 3 years ago

    I have no clue,

    All I saw was "failed to delete file" and then after attempting to recover, the site directory was gone... everything else was there...

  • Robin Shen commented 3 years ago

    Since OneDev's release, it never lost any data as far as I know. Also it will never delete the site directory with the official upgrade procedure.

  • Robin Shen commented 3 years ago

    If you want to offer reliable public OneDev instance, you'd better stick to the official installation and upgrade procedure, and also make sure to get a snapshot before any upgrade.

  • Unknown commented 3 years ago

    Welp,

    I think its best to split paths without any hard feelings.

    It is obvious we have completely different ideas, I stay conventional, packaged installations, which follows the linux filesystem, and you want it to stay simple, despite the obvious issue arrised about having data and code in the same directory.

    Its been fun, and I have tried my hardest to get the package to work.

    Can you please confirm you are against the idea of packaging onedev clearly to prevent misunderstanding?

    Apart from that it has been nice meeting you, I will submit a PR to remove my community instance, no repositories were ever added by others, but people did contribute on my repositories, so at least it was a good shot at a community instance.

    Nice meeting you, Polarian

  • Robin Shen commented 3 years ago

    Do not judge that "it is obvious issue arrised about having data and code in the same directory". It is your own problem, not a problem for all others using OneDev official installation and guide.

    Yes I am against package installation, and thank you for all other good suggestions. Nice to meet you too and good luck with the split.

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

    I have submitted a request for the removal of onedev from the AUR.

    Have a good night, Polarian

issue 1/1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (3)
Reference
OD-1322
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover