-
Notifications
You must be signed in to change notification settings - Fork 116
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
migrate mesh 0.22.0 to 0.27.2 #546
Comments
As mentioned in the gitter channel. Please execute the following steps:
|
Migrate tasks appears in a log file. But i have a error
Mesh stopped after migration successfully |
url for complete log https://framabin.org/p/?7f1c2745093707de#Y21UDoWJSavQMYG4J9WpMg3A1i6HEYfpuMsuR7Q3JwU= A+, |
in gitter, it is three options
|
I try first option.
|
@lilian-benoit I was able to reproduce the issue. The problem happens if you have at least two nodes in your system which have an empty segment field. This can happen if you:
It may also be possible to produce this issue if the segment field is not set to required and just left empty. If you upgrade this data state to 0.24.x you will see the error. It should however be possible to update the nodes (draft and published versions) and set the missing value in version 0.22.x - If you update the nodes the error should not happen when launching 0.24.x. I however have not yet confirmed this in my setup. I'll also work on a fix to resolve this problem in 0.24.x. |
if my understand is good, i must verify value of segment field of all my nodes |
@lilian-benoit Right - in both versions: draft and published |
@Jotschi Two document was on error with segment field null and all folder (same root folder). I updated all nodes but I had same error on migration |
@lilian-benoit In that case the error might still be happening due to older version which will also be migrated and still have the "wrong" data in them. I'll add a dedicated test for this case and see whether that reveals the issue. You could try to move your nodes around and delete the affected nodes and see whether that resolves the issue. |
@philippguertler mesh/core/src/main/java/com/gentics/mesh/core/data/impl/GraphFieldContainerEdgeImpl.java Line 52 in a59482c
|
@lilian-benoit I fixed a bug in the changelog entry that was supposed to update the database. The fix will be included in the next release. |
Gentics Mesh Version, operating system, or hardware.
I have two instances but i will migrate one first instance.
Operating System
JVM
Problem
orientdb haven't migrate after startup. It see releaseimpl in orientdb's studio. But normally Releases is renamed to Branches (v0.23.0)
Reproducer
I have backuped directory graphdb
I have started mesh with new war
2018-11-13 08:41:35:219 WARNI Requested command 'Committing the active transaction to create the new type 'BranchRootImpl' as subclass of 'V'. The transaction will be reopen right after that. To avoid this behavior create the classes outside the transaction' must be executed outside active transaction: the transaction will be committed and reopen right after it. To avoid this behavior execute it outside a transaction [OrientGraph]
To be sure, i stopped mesh
I have restored directory graphdb
I have started mesh with new war.
mesh's log => https://framabin.org/p/?9fc41ac37d0e4b39#+Q1+NqMQXtKBoq/oDNIdWJD0o1jZXyNquZI5A54zYiI=
orientdb's log => https://framabin.org/p/?5593e50b86b3f321#QNj+pOMGH1zPd9P+A2zeXhr0lbcE4ObBLJLYKJ0DBoI=
Expected behaviour and actual behaviour
orientdb should be migrate.
I should see branchimpl in orientdb's studio
I launched endpoint /api/v1/admin/consistency/check. Result is InternalServeError.
The text was updated successfully, but these errors were encountered: