diff options
author | 2021-08-23 18:14:35 +0000 | |
---|---|---|
committer | 2021-08-23 18:14:35 +0000 | |
commit | ed38c4d6f8812bf4cc4f98f166f50b7c46e3c59d (patch) | |
tree | bfa0881f4db730262791d3096ef2863a9b1eb3a5 /.nvmrc | |
parent | Merge pull request #1 from k0staa/master (diff) | |
download | ferdium-server-ed38c4d6f8812bf4cc4f98f166f50b7c46e3c59d.tar.gz ferdium-server-ed38c4d6f8812bf4cc4f98f166f50b7c46e3c59d.tar.zst ferdium-server-ed38c4d6f8812bf4cc4f98f166f50b7c46e3c59d.zip |
Update entrypoint.sh
Fixed error causing Ferdi-server's Adonis APP_KEY not to be read from FERDI_APP_KEY.txt on container restart, which was causing the following error:
```
RuntimeException: E_MISSING_APP_KEY: Make sure to define appKey inside config/app.js file before using Encryption provider
> More details: https://err.sh/adonisjs/errors/E_MISSING_APP_KEY
RuntimeException: E_MISSING_APP_KEY: Make sure to define appKey inside config/app.js file before using Encryption provider
> More details: https://err.sh/adonisjs/errors/E_MISSING_APP_KEY
at Function.missingAppKey (/app/node_modules/@adonisjs/generic-exceptions/src/RuntimeException.js:54:12)
at new Encryption (/app/node_modules/@adonisjs/framework/src/Encryption/index.js:33:33)
at Object.closure (/app/node_modules/@adonisjs/framework/providers/AppProvider.js:257:14)
at Ioc._resolveBinding (/app/node_modules/@adonisjs/fold/src/Ioc/index.js:231:68)
at Ioc.make (/app/node_modules/@adonisjs/fold/src/Ioc/index.js:807:19)
at /app/node_modules/@adonisjs/fold/src/Ioc/index.js:318:19
at Array.map (<anonymous>)
at Ioc._makeInstanceOf (/app/node_modules/@adonisjs/fold/src/Ioc/index.js:317:44)
at Ioc.make (/app/node_modules/@adonisjs/fold/src/Ioc/index.js:799:19)
at AuthManager.getScheme (/app/node_modules/@adonisjs/auth/src/Auth/Manager.js:86:16)
at Auth.authenticator (/app/node_modules/@adonisjs/auth/src/Auth/index.js:118:40)
at new Auth (/app/node_modules/@adonisjs/auth/src/Auth/index.js:68:39)
at Context.<anonymous> (/app/node_modules/@adonisjs/auth/providers/AuthProvider.js:151:14)
at Context.wrappedCallback [as auth] (/app/node_modules/macroable/index.js:132:61)
at Server._handleException (/app/node_modules/@adonisjs/framework/src/Server/index.js:253:63)
at /app/node_modules/@adonisjs/framework/src/Server/index.js:441:14
```
Diffstat (limited to '.nvmrc')
0 files changed, 0 insertions, 0 deletions