This morning I created a new ECS environment and tried to deploy a Laravel project on it.
1 2 3 4 5 6 |
__| __| __| _| ( \__ \ Amazon Linux 2 (ECS Optimized) ____|\___|____/ For documentation, visit http://aws.amazon.com/documentation/ecs 4 package(s) needed for security, out of 18 available |
So far so good, until one of the deployment steps got stuck in Octopus because of the following error.
1 |
Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support. |
While looking for a solution, I’ve noticed that I forgot to install the package libicu on the new ECS machine that was required during the deployment process.
1 2 3 |
$ sudo yum install libicu Loaded plugins: priorities, update-motd, upgrade-helper Package libicu-50.2-4.amzn2.x86_64 already installed and latest version |
After installing the missing package, I was able to deploy again without errors.