-
Notifications
You must be signed in to change notification settings - Fork 131
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
Deployment Errors on the new Amazon Linux 2023 #83
Comments
There is a lot of errors in Amazon Linux 2023. nodejs cant install |
Couple of workarounds that worked for me, might be helpful for others on Amazon Linux 2023 Predis - Install via PECL.platform/hooks/prebuild/install_phpredis.sh
SupervisorA bit tricker now that amazon-linux-extras has been removed. Installed via pip and then kept alive with systemd and an additional two configuration files (one for Supervisor one for Systemd) .platform/hooks/prebuild/install_phpredis.sh
.platform/files/supervisord.conf
.platform/files/supervisord.service
I've used sudo throughout for consistency with these files, but I think they run as root by default on Amazon Linux. Hope it's helpful! |
Any risk in using systemd to do this since its already on-rack? Currently playing with these configurations to hit a sweet spot:
Only issue is if the queue changes, you'd need to basically dump all the services and re-add them since it doesn't seem to just scan them at is. Would love if someone familiar with systemd could chime in |
Just found out earlier that I've been getting an error when I tried deploying a new Laravel application. When I checked the logs, it says something like this.
This is the current code which is causing the issue:
When I checked on Google, it says here that it was because I used the Amazon Linux 2023 image instead of AL2.
I hope you can update this to fix the issue.
The text was updated successfully, but these errors were encountered: