-
Notifications
You must be signed in to change notification settings - Fork 871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ODB update failed #7776
Comments
@weickdev cold you list directories are located under databases on the server? What do you mean when you write that you cannot find any databases? |
The directories under databases are: Under normal circumstances, I can see the dev and GratefulDeadConcerts database on the web studio's list as below. But when I update to 2.2.27, the list is empty. Right now I have to reinstall the server, it works well now. Is it the same as #7756 ? |
@weickdev no it is not related, otherwise, you would see an exception. Could you repeat all steps again? I mean use the previous snapshot, update distribution and check that list of databases is empty or not. I want to check whether the problem was gone or not. |
@Laa OK, I will try both updating, from the snapshot to V2.2.27 and V2.2.28. |
@Laa I update from V2.2.27 and V2.2.28, there are many logs like: Does it matter? |
@Laa I try to update to V2.2.27, I can login my database this time, but there are some exceptions: |
@weickdev it means that you killed the server instead of soft shutdown. In general, we recommend do not kill servers during library updates. But this is interesting for me, data should be restored after the kill, could you send me initial database which you used for an upgrade? |
@weickdev do you use any special settings or only default ones? |
@Laa My Database is 90G. It is too huge that I cannot send it too you.
|
@Laa There isn't any special settings. I only change the JVM parameters
|
@weickdev OK. Yes DB is too big. Could you then send me the content of all logs? |
@Laa Which one do you want? The log updating to V2.2.27 or V2.2.28? |
@weickdev I am a bit confused how did you make updates. Did you update to 2.2.27 and then after that to 2.2.28 or you updated from the initial database to 2.2.27 but then from the same copy of the initial database to 2.2.28? |
@Laa Update from the initial database to 2.2.27, then from the same copy of the initial database to 2.2.28. |
@weickdev OK, could you send both the logs then. |
@Laa OK. But I am running batch edges inserting test, The log was overwritten. I will redo the updating when I finish my test. It may cost 2~3 days. |
@Laa ,today I move the whole orientdb directory to another one, when I start the server, everything is ok. But if I try to connect db, I get this error:
|
@weickdev I suppose you do not have a copy of an original database, do not you? Could you send me logs which you have? |
I had copied all the files under orientdb-community-importers-2.2.28 directory. And databses is under orientdb-community-importers-2.2.28 directory. But now I am re importing all datas, so the logs has been delete. I will retry the moving after the datas are imported. |
@weickdev could you provide information to understand this issue? |
Close issue because of no reply. If you reproduce given issue and have information which is requested in issue feel free to reopen it. |
OrientDB Version: 2.2.27
Java Version: 1.8
OS: Linux
I use the snapshot of 2.2.27 before, I update it to the newest release 2.2.27 version. Then I get those message:
2017-09-26 14:24:53:460 INFO {db=OSystem} Out of dated binary format for WAL segment
/home/work/orientdb/orientdb-community-importers-2.2.27/databases/OSystem/OSystem.0.walin storage
OSystemis detected, new segment will be added [ODiskWriteAheadLog] 2017-09-26 14:25:10:768 INFO {db=dev} Out of dated binary format for WAL segment
/home/work/orientdb/orientdb-community-importers-2.2.27/databases/dev/dev.16083.walin storage
devis detected, new segment will be added [ODiskWriteAheadLog]
After that, there isn't any message. The Server is running, but I cannot find any databases. So how can I restore my datas?
The text was updated successfully, but these errors were encountered: