Search code examples
djangodockerdivio

Divio App trouble to create project directory and clone repository


Please help I have trouble with Divio App trying to making it work. When I press "set up project" it gives me this

*

Creating workspace
cloning project repository
Cloning into '/c/Users/Ubisoft/Documents/iloveit'...
Bad owner or permissions on /home/divio/.ssh/config
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
There was an error trying to run a command. This is most likely
not an issue with divio-cli, but the called program itself.
Try checking the output of the command above.
The command was:
  git clone git@git.divio.com:iloveit.git /c/Users/Ubisoft/Documents/iloveit

*

and in windows power shell it gives me this

Creating workspace

cloning project repository
Cloning into '/c/Users/Ubisoft/Documents/iloveit'...
Bad owner or permissions on /home/divio/.ssh/config
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
------------------------------------------------------------------------------------------------------------------------
There was an error trying to run a command. This is most likely
not an issue with divio-cli, but the called program itself.
Try checking the output of the command above.
The command was:
  git clone git@git.divio.com:iloveit.git /c/Users/Ubisoft/Documents/iloveit

divio@app-1.0.0 /c/Users/Ubisoft/Documents
$

I also tried this from virtual MacOS and getting this message:

https://i.sstatic.net/QccvY.png

I also tried to mess arouond with creating SSH keys but didn't work out.

Can someone provide me step by step explanation how to make this wonderful app work?


Solution

  • For anyone who may face this issue. On my MacOS virtual machine I managed to find solution. Looks like it is Internet Service Provider blocking port 22 something like that. Okay looks like problem resolved. I used VPN and without any hastle with SSH I got different result. Looks like it is working now not finished creating project yet but promising:

    Creating workspace
    
    cloning project repository
    Cloning into '/Users/johnwick/Documents/best-project'...
    Locking the website...
    remote: Counting objects: 785, done.
    remote: Compressing objects: 100% (739/739), done.
    Unlocking the website...(385/785), 1.05 MiB | 524.00 KiB/s
    remote: Total 785 (delta 112), reused 0 (delta 0)
    Receiving objects: 100% (785/785), 1.77 MiB | 448.00 KiB/s, done.
    Resolving deltas: 100% (112/112), done.
    Checking out files: 100% (615/615), done.
    downloading remote docker images
    Pulling db  ... done
    Pulling web ... done
    building local docker images
    db uses an image, skipping
    Building web
    Step 1/7 : FROM divio/base:4.15-py3.6-slim-stretch
    4.15-py3.6-slim-stretch: Pulling from divio/base