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

[Bug]: Plausible Analytics compose file mail service does not work on ARM #4131

Open
lamtonylam opened this issue Nov 4, 2024 · 6 comments · Fixed by #3878
Open

[Bug]: Plausible Analytics compose file mail service does not work on ARM #4131

lamtonylam opened this issue Nov 4, 2024 · 6 comments · Fixed by #3878
Assignees

Comments

@lamtonylam
Copy link

Error Message and Logs

Plausible Analytics compose file mail service does not work on ARM

exec /usr/local/bin/docker-entrypoint.sh: exec format error
On mail service logs

Steps to Reproduce

  1. Use ARM-cpu based VPS
  2. Try to launch Plausible with the provided compose file https://raw.githubusercontent.com/coollabsio/coolify/main/templates/compose/plausible.yaml

Example Repository URL

No response

Coolify Version

v4.0.0-beta.360

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

No response

Additional Information

No response

@lamtonylam lamtonylam added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Nov 4, 2024
@peaklabs-dev
Copy link
Member

peaklabs-dev commented Nov 4, 2024

A fix for this issue has been implemented and will be available in an upcoming release. Thank you for your patience.

For now you can copy the new template here: https://github.com/coollabsio/coolify/blob/next/templates/compose/plausible.yaml

@peaklabs-dev peaklabs-dev added 🐞 Confirmed Bug Verified issues that have been reproduced by the team. and removed 🔍 Triage Issues that need assessment and prioritization. labels Nov 4, 2024
@lamtonylam
Copy link
Author

@peaklabs-dev
I still get the error with mail service

Saved configuration files to /data/coolify/services/p4woggskso4o8g4s48wskks8.
Creating Docker network.
3d28169aa8d531354247238bf24eae156bda65437911c0079223e5f8c78d2798
Starting service.
Pulling images.
 plausible-db Pulling 
 plausible-events-db Pulling 
 plausible Pulling 
 mail Pulling 
 plausible Pulled 
 mail Pulled 
 plausible-events-db Pulled 
 plausible-db Pulled 
Starting containers.
 Volume "p4woggskso4o8g4s48wskks8_plausible-postgres-data"  Creating
 Volume "p4woggskso4o8g4s48wskks8_plausible-postgres-data"  Created
 Volume "p4woggskso4o8g4s48wskks8_plausible-events-data"  Creating
 Volume "p4woggskso4o8g4s48wskks8_plausible-events-data"  Created
 Container mail-p4woggskso4o8g4s48wskks8  Creating
 Container plausible-db-p4woggskso4o8g4s48wskks8  Creating
 Container plausible-events-db-p4woggskso4o8g4s48wskks8  Creating
 Container mail-p4woggskso4o8g4s48wskks8  Created
 Container plausible-db-p4woggskso4o8g4s48wskks8  Created
 Container plausible-events-db-p4woggskso4o8g4s48wskks8  Created
 Container plausible-p4woggskso4o8g4s48wskks8  Creating
 Container plausible-p4woggskso4o8g4s48wskks8  Created
 Container plausible-events-db-p4woggskso4o8g4s48wskks8  Starting
 Container mail-p4woggskso4o8g4s48wskks8  Starting
 Container plausible-db-p4woggskso4o8g4s48wskks8  Starting
 Container mail-p4woggskso4o8g4s48wskks8  Started
 Container plausible-db-p4woggskso4o8g4s48wskks8  Started
 Container plausible-events-db-p4woggskso4o8g4s48wskks8  Started
 Container plausible-db-p4woggskso4o8g4s48wskks8  Waiting
 Container plausible-events-db-p4woggskso4o8g4s48wskks8  Waiting
 Container mail-p4woggskso4o8g4s48wskks8  Waiting
 Container mail-p4woggskso4o8g4s48wskks8  Error
 Container plausible-db-p4woggskso4o8g4s48wskks8  Healthy
 Container plausible-events-db-p4woggskso4o8g4s48wskks8  Healthy
dependency failed to start: container mail-p4woggskso4o8g4s48wskks8 is unhealthy

Logs from mail service

exec /usr/local/bin/docker-entrypoint.sh: exec format error

@github-actions github-actions bot removed 🐛 Bug Reported issues that need to be reproduced by the team. 🐞 Confirmed Bug Verified issues that have been reproduced by the team. labels Nov 8, 2024
@pshemek
Copy link

pshemek commented Nov 19, 2024

I still have the same issue with v4.0.0-beta.370 on arm64 VPS 😞

@peaklabs-dev, maybe it should be reopened...?

@pshemek
Copy link

pshemek commented Nov 21, 2024

@lamtonylam I worked it around by editing the compose file and replacing the mail service image with image: navanchauhan/smtp, following this hint: BytemarkHosting/docker-smtp#10 (comment)

It should be fine as soon as #4333 is fixed.

@lamtonylam
Copy link
Author

@pshemek Thank you! That did the trick

@peaklabs-dev
Copy link
Member

The problem here is that the SMTP image is outdated and does not have an arm version available. So the problem is with the SMTP image and not with Coolify. I will think of a solution because there are several ways to solve this - we could enable emulation so we can run AMD images on ARM (probably our best bet because it is Coolify related) or we could switch to an alternative mail server image. Maybe I will start maintaining and updated version of the outdated mail server (I know there was a few already but just to be sure). Will have to give this some thought over the weekend though. If you guys have other suggestions let me know.

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

Successfully merging a pull request may close this issue.

3 participants