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

OCCP Stack not working for Windows Machines #151

Open
Igor-SBx opened this issue Nov 18, 2024 · 2 comments
Open

OCCP Stack not working for Windows Machines #151

Igor-SBx opened this issue Nov 18, 2024 · 2 comments

Comments

@Igor-SBx
Copy link

Igor-SBx commented Nov 18, 2024

I've been trying to create the OCCP Stack with my Windows machine but I keep getting this error to create the Amazon Elastic Container Service:

/bin/sh: line 1: /home/appuser/ocpp-gateway/run-server.sh: cannot execute: required file not found

Some other issues like this, mentioned that it was caused by the CRLF file termination on Windows machines, but I tried:

  • Convert CRLF to LF through .gitattributes
  • Convert CRLF to LF by using vscode
  • Clone the git repo and deploy right away, without opening any file in my machine

But none of these steps take any effect, could you please provide guidance?

logs: log-events-viewer-result.csv

@galinsky
Copy link
Collaborator

I'm not sure I understand what you're trying to do. Are you using a Windows machine to deploy the solution to AWS, or are you attempting to run the code locally on your Windows machine?

@Igor-SBx
Copy link
Author

I was trying to deploy OCCP Stack by using cdk following this guide. But the container created in Amazon Elastic Container Service returned this error:

/bin/sh: line 1: /home/appuser/ocpp-gateway/run-server.sh: cannot execute: required file not found

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

No branches or pull requests

2 participants