-
Notifications
You must be signed in to change notification settings - Fork 79
Setup never finishes, stuck at waiting for server to come up #694
Comments
@lifenautjoe , Is there any way to diagnose what is causing the problem, any particular log I can check ? |
@lifenautjoe, I tried doing a clean install twice. Deleted the server, did all the prerequisites. The installer runs for at least half an hour before my ssh window times out. Without the api getting installed I am unable to check out the app as well, since it gets stuck at the splash screen. |
The Here's something you can do about that. https://stackoverflow.com/questions/7475223/mysql-config-not-found-when-installing-mysqldb-python-interface |
The server should come up within seconds, not minutes. For debugging purposes I would try to use the native docker compose commands to show all logs.
|
@lifenautjoe , thanks for the reply. I tried the solution on stack, that fixed the error part. |
@lifenautjoe I tried the following : first Is that the normal behaviour at the end of install or is it like really stuck ? |
@lifenautjoe I tried accessing the server via browser and it seems to work. Showing the django page. Just one small query, when i go to /admin, what is the default username & password ? |
i got the same your issue stuck at waiting for server to come up.
|
@alsiPanda and @uiboy @lifenautjoe, am kinda stuck with the default username and password, any light would be helpful. |
@Hansmic in my case, I just bypassed the invitation part and registered directly. I did this by making changes in the api and app, edited out the invitation part, can't remember the details but I am sure it involved automatically adding the invite code generated on signup to the user registration, essentially skipping the email part. |
@alsiPanda how were you able to register directly, am having issue with the username and password, what to have access to django webserver. |
@Hansmic assuming you are running locally, you would normally have to get an invitation code before you can complete registration on the app. I bypassed the invitation part in both the api and app code, try searching for 'invite' using notepad++, that's how I found the relevant files and made necessary changes to bypass the invitation. After the registration, you can use the registered username and password to access the admin, I think. My memory is fuzzy about these parts. Another option is to look around in the api code for dummy account creation, that automatically creates an account. It should be under okuna-api GitHub readme, test accounts. You can also send youself the invites using |
@alsiPanda am experiencing an issue, really don't if am l the only one having this problem, is simply the page that state "Please take a moment to read and accept our guidelines" am getting Bad Request, please do you have any idea why am experiencing the issue. |
@Hansmic Most probably, this should be an issue with your connection to api. Have you properly setup the api address in your app ? Check your env file and any other locations mentioned in the setup. |
Yea for the api url, am using external IP address, which i have in env file. eg API_URL": "http://28.34.15.27/", |
@alsiPanda new backend api and frontend install still facing this issue. is there any way I can bypass this issue, really driving me crazy. |
@Hansmic if you only need to bypass that particular page, you will need to change what the next button does in the page preceding the one in question. But then you will also need to manually pass the values to create account bloc . I would still suggest looking at the logcat and terminal. It will tell you what the problem is, if it is in flutter. Or if the problem is in backend, try |
Probably best to move this Community Guidelines discussion to #724. |
@alsiPanda thanks for your remarkable efforts assisting me with this issue, if i may asked, was your backend api url on http or https? |
@alsiPanda Hello, please do you have any ideal how the Request an invite works? |
@alsiPanda Please am having an issue pertaining reporting a post or a community, the server isn't fetching any request, and keeping spinning with the message why are you reporting the post of the community. please i have encounter any issue of that kind or am i alone experiencing this issue. |
I am trying to setup okuna-api on a gcp cloud compute engine. My
python --version
shows3.6.10
and docker & docker-compose are both up to date. When i runpip install -r requirements-cli-only.txt
it works fine. But when i runpip install -r requirements.txt
I get an error as follows :Next is when i run
python okuna-cli.py up-full
the process continues infinitely atWaiting for server to reply...
. The loader keeps spinning, but even after an hour, its still the same. How do I find what is wrong ? Cuz if I do a ctrl+C and check docker, there are no images and no containers.PS: I have omitted sudo here, but when actually running anything I do add sudo before everything.
The text was updated successfully, but these errors were encountered: