-
Unknown
changed fields 3 years ago
Name Previous Value Current Value Priority
Normal
Critical
-
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
-
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
-
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.
-
Name Previous Value Current Value Type
Bug
Discussion
-
Name Previous Value Current Value Priority
Critical
Normal
-
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.
-
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.
-
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
-
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.
-
Previous Value Current Value Open
Closed
| Type |
Question
|
| Priority |
Normal
|
| Assignee |
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!!!