Skip to content

'INIT' is not recognized as an internal or external command #8464

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

Closed
vishallanke opened this issue Sep 6, 2021 · 10 comments
Closed

'INIT' is not recognized as an internal or external command #8464

vishallanke opened this issue Sep 6, 2021 · 10 comments
Labels
Needed: more information A reply from issue author is required Support Support question

Comments

@vishallanke
Copy link

vishallanke commented Sep 6, 2021

Details

Actual Result

I have successfully followed all the steps. However, I am getting below error in last step

$ inv docker.up  --init
'INIT' is not recognized as an internal or external command,
operable program or batch file.

I am working on Windows 10.
Docker and other requirements are installed.

Is there any other way if inv docker.up --init is not working ?

Expected Result

http://localhost:9000/ should be accessible

@astrojuanlu
Copy link
Contributor

Hi @vishallanke, what shell are you using on Windows? Maybe you could try with WSL2 instead. We do not test these instructions on Windows.

@vishallanke
Copy link
Author

@astrojuanlu
Thanks a lot. Let me check. I am using bash(gitbash), tried on powersheel
With WSL, it wont work. Let me check with WSL2.
I am going to try with AWS Linux.

Quick question - nothing related to defect
We have AWS Subscription and we would like to configure local instance of readthedocs.
So, we would expect that after installation we will get http://// some URL and able to use readthedoc to host/create docs.
So, am I on right track https://docs.readthedocs.io/en/stable/development/install.html
If not, can you just navigate me to the correct documentation where I can look

@humitos humitos added the Support Support question label Sep 8, 2021
@humitos
Copy link
Member

humitos commented Sep 8, 2021

Let me check with WSL2.

Were you able to make it work? Any feedback that you can share about the guide?

We have AWS Subscription and we would like to configure local instance of readthedocs.
So, we would expect that after installation we will get http://// some URL and able to use readthedoc to host/create docs. So, am I on right track docs.readthedocs.io/en/stable/development/install.html

The guide that you are following is for development purposes and it's strictly not recommended for production environments. Unfortunately, we don't have a guide for production.

@vishallanke
Copy link
Author

vishallanke commented Sep 15, 2021

1 - These steps are not working - https://docs.readthedocs.io/en/stable/development/install.html on Windows
2 - We also tried https://haha.readthedocs.io/en/latest/install.html on AWS Ubuntu. But, then there are lots of errors. Looks like that steps are outdated. We tried to resolve the technical issues but then its taking too much time. So due to some other high prio tasks, we decide to look into this later.

Here, our purpose is to setup readthedeoc locally and do some PoC before we roll out

@vishallanke vishallanke reopened this Sep 15, 2021
@humitos
Copy link
Member

humitos commented Sep 15, 2021

1 - These steps are not working - docs.readthedocs.io/en/stable/development/install.html on Windows

What were the problems that you found here?

2 - We also tried haha.readthedocs.io/en/latest/install.html on AWS Ubuntu

This is not an official guide. I wouldn't recommend you to follow it.

@vishallanke
Copy link
Author

Error - inv docker.up --init
'INIT' is not recognized as an internal or external command,
operable program or batch file.

@humitos
Copy link
Member

humitos commented Sep 15, 2021

Right, that's the same output from the description of the issue. Then you said that you were about to test with WSL and that's the feedback that I'm interested in.

Our instructions do not work on Windows without WSL, and I don't think we will make them work without WSL. However, we recently had a successful case of a setup following those instructions on WSL.

@vishallanke
Copy link
Author

Can I follow these steps on Linux ?
or there are different set of steps ?

@astrojuanlu
Copy link
Contributor

@vishallanke the steps are meant for Linux, I just opened #8494 to clarify that.

The 'INIT' is not recognized as an internal or external command, message seems to come from cmd.exe, which means that you are running the steps in a Windows terminal, not a Linux-like terminal. To confirm, you can attach a screenshot that shows the whole window.

When you have WSL2 up and running, you should run these instructions from inside WSL2, which gives you a Bash terminal on an Ubuntu-like system. You can read more on the Ubuntu docs.

@humitos humitos added the Needed: more information A reply from issue author is required label Oct 27, 2021
@no-response
Copy link

no-response bot commented Nov 10, 2021

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. Thanks!

@no-response no-response bot closed this as completed Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needed: more information A reply from issue author is required Support Support question
Projects
None yet
Development

No branches or pull requests

3 participants