Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ms-users docker image throwing error #82

Open
pooja-deoria opened this issue Sep 1, 2021 · 0 comments
Open

ms-users docker image throwing error #82

pooja-deoria opened this issue Sep 1, 2021 · 0 comments

Comments

@pooja-deoria
Copy link

When running with
image: makeomatic/ms-users:9.3.0-8.0.4
volumes:
- ${PWD}/test/configs:/src/configs:ro
environment:
NODE_ENV: 'production'
NCONF_FILE_PATH: '["/src/configs/ms-users/config.js"]'
MS_USERS__LOGGER__DEFAULT_LOGGER: 'true'
MS_USERS__INIT_ADMIN_ACCOUNTS_DELAY: '1'

Its crashing and throwing the error:

ms-users_1 | fs.js:968
ms-users_1 | binding.stat(pathModule.toNamespacedPath(path));
ms-users_1 | ^
ms-users_1 |
ms-users_1 | Error: ENOENT: no such file or directory, stat '/src/configs/ms-users/config.js'
ms-users_1 | at Object.fs.statSync (fs.js:968:11)
ms-users_1 | at paths.reduce (/src/node_modules/ms-conf/lib/load-config.js:81:22)
ms-users_1 | at Array.reduce ()
ms-users_1 | at resolveAbsPaths (/src/node_modules/ms-conf/lib/load-config.js:80:31)
ms-users_1 | at globFiles (/src/node_modules/ms-conf/lib/load-config.js:105:3)
ms-users_1 | at loadConfiguration (/src/node_modules/ms-conf/lib/load-config.js:153:5)
ms-users_1 | at reload (/src/node_modules/ms-conf/lib/index.js:15:32)
ms-users_1 | at Object.loadStore [as get] (/src/node_modules/ms-conf/lib/index.js:64:19)
ms-users_1 | at Object. (/src/lib/users.js:142:30)
ms-users_1 | at Module._compile (module.js:660:30)
ms-users_1 | at Object.Module._extensions..js (module.js:671:10)
ms-users_1 | at Module.load (module.js:573:32)
ms-users_1 | at tryModuleLoad (module.js:513:12)
ms-users_1 | at Function.Module._load (module.js:505:3)
ms-users_1 | at Module.require (module.js:604:17)
ms-users_1 | at require (internal/module.js:11:18)

Similar things is happening with other tags of docker image as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant