我正在尝试通过创建一个新的 discourse 来迁移一个旧的 discourse,但我遇到了麻烦

See Restore a backup from command line (which I believe will tell you how to restore from the command line). That will give you the full error message.