I was thinking on upgrade my Ghost instance to version 3. But I’m getting this error when trying to import members (previously subscribers).
Import error; ENOENT: no such file or directory, open 'C:\Projects\_ghost\3.40.5-no-cli\wwwroot\content\data\Members Import 2021-01-25 08:54:30.043.csv'
Ghost can read the supplied file but it’s the actual import that fails. I can import exported site data and upload images without any issues. This is the only thing I found so far that’s failing.
Specs
Ghost 3.40.5 (checked out from source)
OS: Windows 10
Node (LTS) 14.x (tried 12.x as well)
Webserver: IIS (with IISNode)
Error from logs
[2021-01-25 07:54:30] e[31mERRORe[39m "POST /ghost/api/v3/admin/members/upload/" e[31m500e[39m 38ms
e[31m
e[31mENOENT: no such file or directory, open 'C:\Projects\_ghost\3.40.5-no-cli\wwwroot\content\data\Members Import 2021-01-25 08:54:30.043.csv'e[39m
e[1me[37mError ID:e[39me[22m
e[90m8ddb9550-5ee2-11eb-aba9-7bce669d7372e[39m
e[1me[37mError Code: e[39me[22m
e[90mENOENTe[39m
e[90m----------------------------------------e[39m
e[90mInternalServerError: ENOENT: no such file or directory, open 'C:\Projects\_ghost\3.40.5-no-cli\wwwroot\content\data\Members Import 2021-01-25 08:54:30.043.csv'
at new GhostError (C:\Projects\_ghost\3.40.5-no-cli\wwwroot\node_modules\@tryghost\errors\lib\errors.js:10:26)
at _private.prepareError (C:\Projects\_ghost\3.40.5-no-cli\wwwroot\core\server\web\shared\middlewares\error-handler.js:53:19)
at Layer.handle_error (C:\Projects\_ghost\3.40.5-no-cli\wwwroot\node_modules\express\lib\router\layer.js:71:5)
at trim_prefix (C:\Projects\_ghost\3.40.5-no-cli\wwwroot\node_modules\express\lib\router\index.js:315:13)
at C:\Projects\_ghost\3.40.5-no-cli\wwwroot\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\Projects\_ghost\3.40.5-no-cli\wwwroot\node_modules\express\lib\router\index.js:335:12)
at next (C:\Projects\_ghost\3.40.5-no-cli\wwwroot\node_modules\express\lib\router\index.js:275:10)
at Layer.handle_error (C:\Projects\_ghost\3.40.5-no-cli\wwwroot\node_modules\express\lib\router\layer.js:67:12)
at trim_prefix (C:\Projects\_ghost\3.40.5-no-cli\wwwroot\node_modules\express\lib\router\index.js:315:13)
at C:\Projects\_ghost\3.40.5-no-cli\wwwroot\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\Projects\_ghost\3.40.5-no-cli\wwwroot\node_modules\express\lib\router\index.js:335:12)
at next (C:\Projects\_ghost\3.40.5-no-cli\wwwroot\node_modules\express\lib\router\index.js:275:10)
at C:\Projects\_ghost\3.40.5-no-cli\wwwroot\node_modules\express\lib\router\index.js:635:15
at next (C:\Projects\_ghost\3.40.5-no-cli\wwwroot\node_modules\express\lib\router\index.js:260:14)
at next (C:\Projects\_ghost\3.40.5-no-cli\wwwroot\node_modules\express\lib\router\route.js:127:14)
at C:\Projects\_ghost\3.40.5-no-cli\wwwroot\core\server\api\shared\http.js:124:17
Error: ENOENT: no such file or directory, open 'C:\Projects\_ghost\3.40.5-no-cli\wwwroot\content\data\Members Import 2021-01-25 08:54:30.043.csv'e[39m
e[39m