New tutor installation

Hello everyone here. Please guide me how to solve this problem.
i have installed a VirtualBox on my laptop (i5 with 12gb ram) and installed Ubuntu inside (ram 6GB)

Following this instruction, Quickstart (1-click install) I installed Tutor:

and when the installation process ended, it displayed me this text

All services initialised.
The Open edX platform is now running in detached mode
Your Open edX platform is ready and can be accessed at the following urls:

http://demo.eliteschool.course
http://studio.demo.eliteschool.course

But when i try to open this link, the Firefox gives an error Server Not Found.
How i can fix it?

Hi,
May be you should add your domains and subdomains to " /etc/hosts " file inside Virtualbox ?

127.0.0.1 localhost # your localhost IP can be different
127. 0.0.1 demo.eliteschool.course studio.demo.eliteschool.course

Murat

thank for your help. But after i added these lines to the file, now it gives 504 Gateway time-out. (nginx)

If you running tutor for test, after

tutor local quickstart

Just choice “n” , but in production mods you must add your domain and subdomain, to the “/etc/hosts” file.

Sure i choose “n” but it still does not work :frowning:

If you choose "n " it should run “http://local.overhang.io” ?

yes.of course i change link and tryed open this link (local.overhang.io) but … it still displayed me 504 gateway time-out. And, yes, i edit hosts file

OK, I see.
I think maybe Virtualbox network settings must be configured… If you running Windows it should be C:\windows\system32\drivers\etc\hosts if I remember correctly…

i talk about ubuntu. Inside windows (virtualbox). And i tried open link on Ubuntu, not on Win

Sorry about we haven’t achieved solutions yet… Last try… for http://10.0.2.2 on browser and. To see that what logs say ?

tutor local logs --tail=200

God Luck!
Murat

Tomorrow i’ll do it. Now i am already uninstall tutor :frowning:

This is the logs

~/tutor$ tutor local logs --tail=200 nginx
docker-compose -f /home/elite/.local/share/tutor/env/local/docker-compose.yml -f /home/elite/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local logs --tail 200 nginx
Attaching to tutor_local_nginx_1
nginx_1          | 2020/08/19 09:19:31 [error] 6#6: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 172.18.0.1, server: local.overhang.io, request: "GET / HTTP/1.1", upstream: "http://172.18.0.9:8000/", host: "local.overhang.io"
nginx_1          | 172.18.0.1 - - [19/Aug/2020:09:19:31 +0000] http://local.overhang.io "GET / HTTP/1.1" 504 176 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0" "-"
nginx_1          | 2020/08/19 09:22:45 [error] 6#6: *4 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 172.18.0.1, server: local.overhang.io, request: "GET / HTTP/1.1", upstream: "http://172.18.0.9:8000/", host: "local.overhang.io"
nginx_1          | 172.18.0.1 - - [19/Aug/2020:09:22:45 +0000] http://local.overhang.io "GET / HTTP/1.1" 504 176 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0" "-"

Hi @vladi,
If Docker and Tutor configurations are OK, and runs properly, I believe that problem is VB network settings. Especially Network adapters… Communication between host and Virtual Machine. I am using native Ubuntu both at home, and cloud without any problem. Thanks…

God Luck!

Hello @qali

I also believe that a problem in this side. But why you mentioned about host machine? I cann’t open edx even on VM.

Please, can any one help me. I still have problem with tutor and Open edX