cozy / cozy-home-v2

This repository was part of CozyV2 which has been deprecated
https://blog.cozycloud.cc/post/2016/11/21/On-the-road-to-Cozy-version-3
GNU Affero General Public License v3.0
94 stars 53 forks source link

Impossible to install new apps using Git URLs #324

Closed jankeromnes closed 9 years ago

jankeromnes commented 9 years ago

Steps to reproduce:

  1. Start your latest Cozy Home app.
  2. Go to Choose your apps.
  3. Try to install Kresus by typing https://github.com/bnjbvr/kresus into Install your own applications at the bottom.

Expected:

Actual:

frankrousseau commented 9 years ago

It looks fixed. @jankeromnes could you update your home and try again?

jankeromnes commented 9 years ago

@frankrousseau It doesn't look fixed for me.

The way I test it, on Ubuntu 14.04, with Docker 1.2.0 and latest Firefox Developer Edition:

# Install Cozy using Docker
git clone https://github.com/cozy-labs/cozy-docker
cd cozy-docker
sudo docker build . -t cozy
sudo docker run -d -p 80:80 -p 443:443 cozy

Then, I open https://localhost in my latest Firefox Developer Edition, and:

  1. Complete the registration with bla@bla.bla and password blabla.
  2. Go to Choose your apps, and scroll to the bottom.
  3. In Install your own application, try to type in "https://github.com/bnjbvr/kresus".

The bug always happens. I don't think it's related to Docker, but I gave you all the info just in case.

jankeromnes commented 9 years ago

Actually, when I go through the setup wizard and install all the apps, the problem goes away. Maybe it only happens when the wizard wasn't completed / there aren't any apps?

m4dz commented 9 years ago

Hi @jankeromnes,

it was related to the wizard but was fixed in the last home release (see 6498f20). Maybe the home version embeded in the docker image isn't up-to-date (poke @Kloadut)?

jankeromnes commented 9 years ago

I'm not able to try to reproduce, because when I build and run cozy-docker, I'm now unable to access the web app (connecting to https://localhost yields ERR_CONNECTION_CLOSED).

jankeromnes commented 9 years ago

All good now! It seems Cozy just took a very long time to initialize itself. I tried and couldn't reproduce this bug anymore. Thanks!