vBulletin 5 데이터베이스 마이그레이션 - 가져오기 스크립트 오류

사용자 이름이 모두 Discourse 가이드라인을 따르도록 정제(sanitize)되어, 기본적으로 모두 문자, 숫자 또는 _로 변경된 상태라 더 이상합니다.

어쨌든 기본값이었던 utf8으로 문자 인코딩을 utf8mb4에서 변경하니 처리는 진행되었지만, 이번에는 잘못된 이메일 관련 오류가 발생하고 있습니다.

ERROR: can't modify frozen String: "24ef401b30f5161e5a0bb27ec49ed921@email.invalid"
/var/www/discourse/script/bulk_import/base.rb:457:in `downcase!'
/var/www/discourse/script/bulk_import/base.rb:457:in `process_user_email'
/var/www/discourse/script/bulk_import/base.rb:726:in `block (2 levels) in create_records'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-3.0.0/lib/patches/db/mysql2/alias_method.rb:8:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-3.0.0/lib/patches/db/mysql2/alias_method.rb:8:in `each'
/var/www/discourse/script/bulk_import/base.rb:723:in `block in create_records'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/pg-1.4.5/lib/pg/connection.rb:196:in `copy_data'
/var/www/discourse/script/bulk_import/base.rb:722:in `create_records'
/var/www/discourse/script/bulk_import/base.rb:351:in `create_user_emails'
script/bulk_import/vbulletin5.rb:151:in `import_user_emails'
script/bulk_import/vbulletin5.rb:66:in `execute'
/var/www/discourse/script/bulk_import/base.rb:100:in `run'
script/bulk_import/vbulletin5.rb:781:in `<main>'

지금 이 문제가 무엇인지 알아볼 예정인데, “비벌크”(단건) 가져오기에서는 일부 잘못된 형식의 이메일을 감지하고 자동으로 대체했기 때문입니다.