Skip to content

Multiple errors starting new server #160

@mahoromax

Description

@mahoromax

I'm running the docker setup on unraid.

I configured Mailgun and an external mariadb sql instance as per docker/readme.md

But I'm running into multiple errors, that make the docker restart over and over:

  1. apparently not fitting versions inside the docker (:latest)
[...]
 ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)

Your Node version is incompatible with "/app/recipes".

Expected version: 22.18.0
Got: v22.14.0

This is happening because the package's manifest has an engines.node field specified.
To fix this issue, install the required Node version.
 ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)

Your Node version is incompatible with "/app/recipes".

Expected version: 22.18.0
Got: v22.14.0

This is happening because the package's manifest has an engines.node field specified.
To fix this issue, install the required Node version.
**** App key is <redacted>. You can modify `/data/FERDIUM_APP_KEY.txt` to update the app key ****
JWT_USE_PEM is not set to true. Skipping JWT certificate generation.
Database file '/data/ferdium.sqlite' not found. An empty database will be created.

1.1 I'm pulling from this registry /repository, so it should not be outdated versions?
1.2 don't see or specify a engines.node somewhere, so I expect this to be a nodejs error?
1.3 I specificed to user an external sql server (DB_CONNECTION: mysql) so no idea why it is looking for a sql.lite file (it does not exist, and it doesn't create it...)

  1. Mailgun not recognized
Exception: Invalid "mail" config. "Mailgun" is not defined inside "mailers". Make sure to set it inside the "config/mail" file
    at ManagerConfigValidator.validateList (/app/node_modules/.pnpm/@poppinss+utils@4.0.4/node_modules/@poppinss/utils/build/src/ManagerConfigValidator.js:48:19)
    at MailManager.validateConfig (/app/node_modules/.pnpm/@adonisjs+mail@8.2.0_@adonisjs+core@5.9.0_@adonisjs+view@6.2.0_@adonisjs+core@5.9.0__@t_9d1885d29aa19005862d03e587f51bdb/node_modules/@adonisjs/mail/build/src/Mail/MailManager.js:86:19)
    at new MailManager (/app/node_modules/.pnpm/@adonisjs+mail@8.2.0_@adonisjs+core@5.9.0_@adonisjs+view@6.2.0_@adonisjs+core@5.9.0__@t_9d1885d29aa19005862d03e587f51bdb/node_modules/@adonisjs/mail/build/src/Mail/MailManager.js:78:14)
    at Object.callback (/app/node_modules/.pnpm/@adonisjs+mail@8.2.0_@adonisjs+core@5.9.0_@adonisjs+view@6.2.0_@adonisjs+core@5.9.0__@t_9d1885d29aa19005862d03e587f51bdb/node_modules/@adonisjs/mail/build/providers/MailProvider.js:25:20)
    at Bindings.resolve (/app/node_modules/.pnpm/@adonisjs+fold@8.2.0/node_modules/@adonisjs/fold/build/src/Ioc/Bindings.js:47:78)
    at Ioc.resolveBinding (/app/node_modules/.pnpm/@adonisjs+fold@8.2.0/node_modules/@adonisjs/fold/build/src/Ioc/index.js:266:37)
    at Ioc.use (/app/node_modules/.pnpm/@adonisjs+fold@8.2.0/node_modules/@adonisjs/fold/build/src/Ioc/index.js:312:21)
    at Object.<anonymous> (/app/start/events.ts:3:1)
    at Module._compile (node:internal/modules/cjs/loader:1554:14)
    at Module._compile (/app/node_modules/.pnpm/pirates@4.0.7/node_modules/pirates/lib/index.js:129:24)

Mailgun is listed in the readme, so again, no idea why this is not recognized?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions