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

Docker image broken #45

Closed
Niek opened this issue Mar 1, 2022 · 5 comments
Closed

Docker image broken #45

Niek opened this issue Mar 1, 2022 · 5 comments
Labels

Comments

@Niek
Copy link
Contributor

Niek commented Mar 1, 2022

The docker image is not working, because of PM2 issues:

PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (23)

I worked around by ditching PM2 completely and using this in my docker compose file:

command: taskforce --name "${TASKFORCE_CONNECTION}" --passwd "${REDIS_PASSWORD}"
@manast
Copy link
Contributor

manast commented Mar 1, 2022

Thanks for reporting, I will take a look at it.

@C0rellana
Copy link

Hi, I have the same problem, any news?

@marcusglowe
Copy link

This appears to be a pm2 error that was just fixed in 4.4. Unitech/pm2#5189

@marcusglowe
Copy link

note, i wasn't able to get this to work with an upgraded pm2, probably because of some busted args, so I just removed pm2 and i'm hoping taskforce is stable enough for our local dev needs. Here's the fork: https://github.com/Create-Inc/taskforce-connector

@manast manast closed this as completed in 1aa1e5d May 31, 2022
github-actions bot pushed a commit that referenced this issue May 31, 2022
# [1.19.0](v1.18.0...v1.19.0) (2022-05-31)

### Bug Fixes

* **dockerfile:** update pm2 fixes [#45](#45) ([1aa1e5d](1aa1e5d))

### Features

* add ping support ([3805b5a](3805b5a))
@github-actions
Copy link

🎉 This issue has been resolved in version 1.19.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

No branches or pull requests

4 participants