# ImportProcessWorker: Unable to process import: file does not exists

**URL:** https://forum.mattermost.com/t/importprocessworker-unable-to-process-import-file-does-not-exists/18564
**Category:** Command Line Interface
**Created:** [May 6, 2024, 3:39pm UTC](https://forum.mattermost.com/t/importprocessworker-unable-to-process-import-file-does-not-exists/18564 "2024-05-06T15:39:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![TheoSteenekamp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/theosteenekamp/32/7872_2.png) [@TheoSteenekamp](https://forum.mattermost.com/u/TheoSteenekamp)
#### Post date: [May 6, 2024, 3:39pm UTC](https://forum.mattermost.com/t/importprocessworker-unable-to-process-import-file-does-not-exists/18564/1 "2024-05-06T15:39:16Z")

</div>

**Summary**  
We are running a self hosted version of Mattermost in Kubernetes. I am busy importing data from a Slack export  
I followed the guide [Migrate from Slack - Mattermost documentation](https://docs.mattermost.com/onboard/migrate-from-slack.html)

Using mmctl for everything as in the documentation.

Getting to where I need to run the import and after executing the import I get:  
`ImportProcessWorker: Unable to process import: file does not exists.`

**Steps to reproduce**  
Running on self hosted (kubernetes)  
Run upload after authenticating to the Mattermost instance.  
Verified the file is in data/import by going into the container and checking the data directory  
Run the process command  
Job fails due to file does not exist.

I have tried to run the import on the file using local mode as well with the same error message appearing.  
**Expected behavior**  
Import flow should work as according to documentation

**Observed behavior**  
After running the process command and checking in on the job I see:

```auto
ID: edicdj7kc3rp7dfhctgem6g9cr
  Status: error
  Created: 2024-05-06 17:27:44 +0200 CEST
  Started: 2024-05-06 17:27:51 +0200 CEST
  Data: map[error:Error during job execution. — ImportProcessWorker: Unable to process import: file does not exists. import_file:5sibbdyfmty4icudig1nziikzw_mattermost-bulk-import.zip]

```

---

<div class="post-metadata">

### Author: ![john.oliver](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/john.oliver/32/6436_2.png) [@john.oliver](https://forum.mattermost.com/u/john.oliver)
#### Post date: [May 6, 2024, 6:06pm UTC](https://forum.mattermost.com/t/importprocessworker-unable-to-process-import-file-does-not-exists/18564/2 "2024-05-06T18:06:16Z")

</div>

My first thought is a general reminder that a file may exist on a certain path on the host OS, but inside of the container may not be there. Also, are you running SELinux or App Armor or anything like that?

Can you open a shell inside of the container and `ls -lZ` the bulk import file?
