Help Center>
CodeArts Deploy>
FAQs>
Custom Application Actions>
Starting or Stopping Nginx>
Invalid Windows Host Path
Updated on 2023-05-04 GMT+08:00
Invalid Windows Host Path
Symptoms
An error message containing has an invalid path is displayed.
"msg": "Get-AnsibleParam: Parameter 'chdir' has an invalid path 'C:\\xxx\nginx\nginx-1.16.1' specified."
Cause Analysis
When the host runs a Windows OS, if the path uses backslashes (\), rather than forward slashes (/), this error will occur.
Solution
Change the backslash (\) in the path to a forward slash (/).
Parent topic: Starting or Stopping Nginx
Starting or Stopping Nginx FAQs
- Nginx Gets Restarted Repeatedly
- Invalid Windows Host Path
- Deploying the Command for Stopping Nginx When Nginx Is Not Started
- Incorrect Format of the Nginx Configuration File
- Configuration File Backup Path Does Not Exist
- Application Deployment Interruption
- Insufficient Permissions
- Parameters Contain Backslashes (\)
- No Host Exists in the Environment.
- Environment Does Not Exist.
- Failed to Deploy an Application on a Windows Host
- Deployment Blocked by Third-Party Antivirus Software
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore