Hi guys,
we eventually started a migration test of our greenlight instance and
got some errors - hope somebody can help us to get it running:
* setup:
I updated the old gl to last v2 and the new gl to last v3 version.
Both work as expected with their own data - the new one only has one
test room of admin for now.
When trying to migrate following the guide, we geht the errors below for
a lot of users and rooms, the roles seem to work allthough.
I hope someone can help to get this fixed.
thanks and
best wishes
Martin
--
* general: we get this warning:
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/net-protocol-0.1.3/lib/net/protocol.rb:68:
warning: already initialized const
ant Net::ProtocRetryError
/usr/local/lib/ruby/2.7.0/net/protocol.rb:66: warning: previous
definition of ProtocRetryError was here
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/net-protocol-0.1.3/lib/net/protocol.rb:208:
warning: already initialized cons
tant Net::BufferedIO::BUFSIZE
/usr/local/lib/ruby/2.7.0/net/protocol.rb:206: warning: previous
definition of BUFSIZE was here
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/net-protocol-0.1.3/lib/net/protocol.rb:504:
warning: already initialized cons
tant Net::NetPrivate::Socket
/usr/local/lib/ruby/2.7.0/net/protocol.rb:503: warning: previous
definition of Socket was here
warning: parser/current is loading parser/ruby27, which
recognizes2.7.6-compliant syntax, but you are running 2.7.7.
Please see
https://github.com/whitequark/parser#compatibility-with-ruby-mri.
* roles: they seem to have worked well
Successfully migrated Role:
ID: 6
Name: Manager
Provider: greenlight
Successfully migrated Role:
ID: 7
Name: Sci
Provider: greenlight
Successfully migrated Role:
ID: 8
Name: Edu
Provider: greenlight
Successfully migrated Role:
ID: 9
Name: External
Provider: greenlight
Roles migration complete.
* users: we got 187 identical errors with no information as shown below
- a few thousand users have worked though. The name is anonymized and
does not include any strange characters.
Unable to migrate User:
UID: gl-ncbrnizwbmuu
Name: X, X
Provider: ldap
Errors: ["SomethingWentWrong"]
* rooms (please note we already set the client_max_body_size 2g; -
tryed 512m and then 2g - in http, server, and all locations. as setting
in one of them did not solve the issue - anyway also all those did not help)
Unable to migrate Room:
UID: hocheXXXr
Name: X X
Provider: ldap
rake aborted!
JSON::ParserError: 859: unexpected token at '<html>
<head><title>413 Request Entity Too Large</title></head>
<body>
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx</center>
</body>
</html>
'