Mattermost import, round 43: I’m getting the import process to run but it’s triggering several HIGHLY verbose errors (all of which seem to have to do with the inability to activate a plugin/generate a webapp bundle) and then failing without import. I’m pasting in a better formatted version of the mess below in the event it points the way to what I need to try next.
{"level":"error","ts":1595014790.6328049,"caller":"mlog/log.go:175","msg":"Unable to activate plugin","plugin_id":"com.mattermost.nps","error":"unable to generate webapp bundle: com.mattermost.nps: unable to copy webapp bundle directory: com.mattermost.nps: stat /mattermost/plugins/com.mattermost.nps/webapp/dist: no such file or directory","errorVerbose":"stat /mattermost/plugins/com.mattermost.nps/webapp/dist: no such file or directory\nunable to copy webapp bundle directory: com.mattermost.nps\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).UnpackWebappBundle\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:404\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).Activate\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:254\ngithub.com/mattermost/mattermost-server/v5/app.(*App).SyncPluginsActiveState\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:116\ngithub.com/mattermost/mattermost-server/v5/app.(*App).InitPlugins\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:196\ngithub.com/mattermost/mattermost-server/v5/app.(*Server).RunOldAppInitialization\n\tgithub.com/mattermost/mattermost-server/v5/app/server_app_adapters.go:175\ngithub.com/mattermost/mattermost-server/v5/app.NewServer\n\tgithub.com/mattermost/mattermost-server/v5/app/server.go:247\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.InitDBCommandContext\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/init.go:36\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.InitDBCommandContextCobra\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/init.go:17\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.slackImportCmdF\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/import.go:50\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:842\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.0.0/command.go:950\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:887\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.Run\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/root.go:15\nmain.main\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/main.go:31\nruntime.main\n\truntime/proc.go:203\nruntime.goexit\n\truntime/asm_amd64.s:1373\nunable to generate webapp bundle: com.mattermost.nps\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).Activate\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:256\ngithub.com/mattermost/mattermost-server/v5/app.(*App).SyncPluginsActiveState\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:116\ngithub.com/mattermost/mattermost-server/v5/app(*App).InitPlugins\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:196\ngithub.com/mattermost/mattermost-server/v5/app.(*Server).RunOldAppInitialization\n\tgithub.com/mattermost/mattermost-server/v5/app/server_app_adapters.go:175\ngithub.com/mattermost/mattermost-server/v5/app.NewServer\n\tgithub.com/mattermost/mattermost-server/v5/app/server.go:247\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.InitDBCommandContext\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/init.go:36\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.InitDBCommandContextCobra\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/init.go:17\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.slackImportCmdF\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/import.go:50\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:842\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.0.0/command.go:950\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:887\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.Run\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/root.go:15\nmain.main\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/main.go:31\nruntime.main\n\truntime/proc.go:203\nruntime.goexit\n\truntime/asm_amd64.s:1373"}
{"level":"error","ts":1595014790.6835897,"caller":"mlog/log.go:175","msg":"Unable to activate plugin","plugin_id":"com.mattermost.nps","error":"unable to generate webapp bundle: com.mattermost.nps: unable to copy webapp bundle directory: com.mattermost.nps: stat /mattermost/plugins/com.mattermost.nps/webapp/dist: no such file or directory","errorVerbose":"stat /mattermost/plugins/com.mattermost.nps/webapp/dist: no such file or directory\nunable to copy webapp bundle directory: com.mattermost.nps\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).UnpackWebappBundle\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:404\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).Activate\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:254\ngithub.com/mattermost/mattermost-server/v5/app.(*App).SyncPluginsActiveState\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:116\ngithub.com/mattermost/mattermost-server/v5/app.(*App).InitPlugins\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:149\ngithub.com/mattermost/mattermost-server/v5/app.(*Server).RunOldAppInitialization.func6\n\tgithub.com/mattermost/mattermost-server/v5/app/server_app_adapters.go:178\ngithub.com/mattermost/mattermost-server/v5/config.(*emitter).invokeConfigListeners.func1\n\tgithub.com/mattermost/mattermost-server/v5/config/emitter.go:35\nsync.(*Map).Range\n\tsync/map.go:333\ngithub.com/mattermost/mattermost-server/v5/config.(*emitter).invokeConfigListeners\n\tgithub.com/mattermost/mattermost-server/v5/config/emitter.go:33\ngithub.com/mattermost/mattermost-server/v5/config.(*commonStore).load\n\tgithub.com/mattermost/mattermost-server/v5/config/common.go:153\ngithub.com/mattermost/mattermost-server/v5/config.(*FileStore).Load\n\tgithub.com/mattermost/mattermost-server/v5/config/file.go:169\ngithub.com/mattermost/mattermost-server/v5/app.(*Server).ReloadConfig\n\tgithub.com/mattermost/mattermost-server/v5/app/config.go:64\ngithub.com/mattermost/mattermost-server/v5/app.NewServer\n\tgithub.com/mattermost/mattermost-server/v5/app/server.go:301\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.InitDBCommandContext\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/init.go:36\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.InitDBCommandContextCobra\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/init.go:17\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.slackImportCmdF\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/import.go:50\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:842\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.0.0/command.go:950\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:887\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.Run\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/root.go:15\nmain.main\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/main.go:31\nruntime.main\n\truntime/proc.go:203\nruntime.goexit\n\truntime/asm_amd64.s:1373\nunable to generate webapp bundle: com.mattermost.nps\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).Activate\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:256\ngithub.com/mattermost/mattermost-server/v5/app.(*App).SyncPluginsActiveState\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:116\ngithub.com/mattermost/mattermost-server/v5/app.(*App).InitPlugins\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:149\ngithub.com/mattermost/mattermost-server/v5/app.(*Server).RunOldAppInitialization.func6\n\tgithub.com/mattermost/mattermost-server/v5/app/server_app_adapters.go:178\ngithub.com/mattermost/mattermost-server/v5/config.(*emitter).invokeConfigListeners.func1\n\tgithub.com/mattermost/mattermost-server/v5/config/emitter.go:35\nsync.(*Map).Range\n\tsync/map.go:333\ngithub.com/mattermost/mattermost-server/v5/config.(*emitter).invokeConfigListeners\n\tgithub.com/mattermost/mattermost-server/v5/config/emitter.go:33\ngithub.com/mattermost/mattermost-server/v5/config.(*commonStore).load\n\tgithub.com/mattermost/mattermost-server/v5/config/common.go:153\ngithub.com/mattermost/mattermost-server/v5/config.(*FileStore).Load\n\tgithub.com/mattermost/mattermost-server/v5/config/file.go:169\ngithub.com/mattermost/mattermost-server/v5/app.(*Server).ReloadConfig\n\tgithub.com/mattermost/mattermost-server/v5/app/config.go:64\ngithub.com/mattermost/mattermost-server/v5/app.NewServer\n\tgithub.com/mattermost/mattermost-server/v5/app/server.go:301\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.InitDBCommandContext\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/init.go:36\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.InitDBCommandContextCobra\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/init.go:17\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.slackImportCmdF\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/import.go:50\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:842\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.0.0/command.go:950\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:887\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.Run\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/root.go:15\nmain.main\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/main.go:31\nruntime.main\n\truntime/proc.go:203\nruntime.goexit\n\truntime/asm_amd64.s:1373"}
{"level":"error","ts":1595014790.6844435,"caller":"mlog/log.go:175","msg":"Unable to activate plugin","plugin_id":"com.mattermost.nps","error":"unable to generate webapp bundle: com.mattermost.nps: unable to copy webapp bundle directory: com.mattermost.nps: stat /mattermost/plugins/com.mattermost.nps/webapp/dist: no such file or directory","errorVerbose":"stat /mattermost/plugins/com.mattermost.nps/webapp/dist: no such file or directory\nunable to copy webapp bundle directory: com.mattermost.nps\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).UnpackWebappBundle\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:404\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).Activate\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:254\ngithub.com/mattermost/mattermost-server/v5/app.(*App).SyncPluginsActiveState\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:116\ngithub.com/mattermost/mattermost-server/v5/app.(*App).InitPlugins.func1\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:184\ngithub.com/mattermost/mattermost-server/v5/config.(*emitter).invokeConfigListeners.func1\n\tgithub.com/mattermost/mattermost-server/v5/config/emitter.go:35\nsync.(*Map).Range\n\tsync/map.go:333\ngithub.com/mattermost/mattermost-server/v5/config.(*emitter).invokeConfigListeners\n\tgithub.com/mattermost/mattermost-server/v5/config/emitter.go:33\ngithub.com/mattermost/mattermost-server/v5/config.(*commonStore).load\n\tgithub.com/mattermost/mattermost-server/v5/config/common.go:153\ngithub.com/mattermost/mattermost-server/v5/config.(*FileStore).Load\n\tgithub.com/mattermost/mattermost-server/v5/config/file.go:169\ngithub.com/mattermost/mattermost-server/v5/app.(*Server).ReloadConfig\n\tgithub.com/mattermost/mattermost-server/v5/app/config.go:64\ngithub.com/mattermost/mattermost-server/v5/app.NewServer\n\tgithub.com/mattermost/mattermost-server/v5/app/server.go:301\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.InitDBCommandContext\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/init.go:36\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.InitDBCommandContextCobra\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/init.go:17\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.slackImportCmdF\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/import.go:50\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:842\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.0.0/command.go:950\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:887\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.Run\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/root.go:15\nmain.main\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/main.go:31\nruntime.main\n\truntime/proc.go:203\nruntime.goexit\n\truntime/asm_amd64.s:1373\nunable to generate webapp bundle: com.mattermost.nps\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).Activate\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:256\ngithub.com/mattermost/mattermost-server/v5/app.(*App).SyncPluginsActiveState\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:116\ngithub.com/mattermost/mattermost-server/v5/app.(*App).InitPlugins.func1\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:184\ngithub.com/mattermost/mattermost-server/v5/config.(*emitter).invokeConfigListeners.func1\n\tgithub.com/mattermost/mattermost-server/v5/config/emitter.go:35\nsync.(*Map).Range\n\tsync/map.go:333\ngithub.com/mattermost/mattermost-server/v5/config.(*emitter).invokeConfigListeners\n\tgithub.com/mattermost/mattermost-server/v5/config/emitter.go:33\ngithub.com/mattermost/mattermost-server/v5/config.(*commonStore).load\n\tgithub.com/mattermost/mattermost-server/v5/config/common.go:153\ngithub.com/mattermost/mattermost-server/v5/config.(*FileStore).Load\n\tgithub.com/mattermost/mattermost-server/v5/config/file.go:169\ngithub.com/mattermost/mattermost-server/v5/app.(*Server).ReloadConfig\n\tgithub.com/mattermost/mattermost-server/v5/app/config.go:64\ngithub.com/mattermost/mattermost-server/v5/app.NewServer\n\tgithub.com/mattermost/mattermost-server/v5/app/server.go:301\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.InitDBCommandContext\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/init.go:36\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.InitDBCommandContextCobra\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/init.go:17\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.slackImportCmdF\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/import.go:50\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:842\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.0.0/command.go:950\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:887\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.Run\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/root.go:15\nmain.main\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/main.go:31\nruntime.main\n\truntime/proc.go:203\nruntime.goexit\n\truntime/asm_amd64.s:1373"}
{"level":"error","ts":1595014790.6897593,"caller":"mlog/log.go:175","msg":"Unable to activate plugin","plugin_id":"com.mattermost.nps","error":"unable to generate webapp bundle: com.mattermost.nps: unable to copy webapp bundle directory: com.mattermost.nps: stat /mattermost/plugins/com.mattermost.nps/webapp/dist: no such file or directory","errorVerbose":"stat /mattermost/plugins/com.mattermost.nps/webapp/dist: no such file or directory\nunable to copy webapp bundle directory: com.mattermost.nps\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).UnpackWebappBundle\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:404\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).Activate\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:254\ngithub.com/mattermost/mattermost-server/v5/app.(*App).SyncPluginsActiveState\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:116\ngithub.com/mattermost/mattermost-server/v5/app.(*App).InitPlugins\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:149\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.InitDBCommandContextCobra\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/init.go:24\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.slackImportCmdF\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/import.go:50\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:842\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.0.0/command.go:950\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:887\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.Run\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/root.go:15\nmain.main\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/main.go:31\nruntime.main\n\truntime/proc.go:203\nruntime.goexit\n\truntime/asm_amd64.s:1373\nunable to generate webapp bundle: com.mattermost.nps\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).Activate\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:256\ngithub.com/mattermost/mattermost-server/v5/app.(*App).SyncPluginsActiveState\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:116\ngithub.com/mattermost/mattermost-server/v5/app.(*App).InitPlugins\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:149\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.InitDBCommandContextCobra\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/init.go:24\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.slackImportCmdF\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/import.go:50\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:842\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.0.0/command.go:950\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:887\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.Run\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/root.go:15\nmain.main\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/main.go:31\nruntime.main\n\truntime/proc.go:203\nruntime.goexit\n\truntime/asm_amd64.s:1373"}
Running Slack Import. This may take a long time for large teams or teams with many messages.
Mattermost Slack Import Log
Users created:
===============
The Integration/Slack Bot user with email slackimportuser_m3d947cb9innpxyfp9f57oze5w@localhost and password 5pkbxq1txpg78pnffzo47xfctr has been imported.
Channels added:
=================
Notes:
=======
- Some messages may not have been imported because they were not supported by this importer.
- Slack bot messages are currently not supported.
- Additional errors may be found in the server logs.
Finished Slack Import.