Unable to create user with CLI


#1

Hello,
I am getting following error when I was trying to create user with cli:

panic: Unable to find i18n directory

goroutine 1 [running]:
main.initDBCommandContextCobra(0x18a2300, 0x10cee40, 0xc421163380)
        /var/lib/jenkins/jobs/msr/jobs/d/jobs/enterprise-release/workspace/src/github.com/mattermost/platform/cmd/platform/init.go:18 +0xcc
main.userCreateCmdF(0x18a2300, 0xc420019f80, 0x0, 0x6, 0x0, 0x0)
        /var/lib/jenkins/jobs/msr/jobs/d/jobs/enterprise-release/workspace/src/github.com/mattermost/platform/cmd/platform/user.go:213 +0x43
github.com/mattermost/platform/vendor/github.com/spf13/cobra.(*Command).execute(0x18a2300, 0xc420019e60, 0x6, 0x6, 0x18a2300, 0xc420019e60)
        /var/lib/jenkins/jobs/msr/jobs/d/jobs/enterprise-release/workspace/src/github.com/mattermost/platform/vendor/github.com/spf13/cobra/command.go:647 +0x3f8
github.com/mattermost/platform/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x189fee0, 0x18a2960, 0x0, 0x0)

Thanks,


#2

Hi @azizzainul,

Thank you for your report,

Our devs are aware of this issue and there is a ticket to deploy a fix soon.