Skip to content
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

RaspAP INSTALL ERROR: Unable to download files from github #18

Closed
janislejins opened this issue Aug 3, 2016 · 4 comments
Closed

RaspAP INSTALL ERROR: Unable to download files from github #18

janislejins opened this issue Aug 3, 2016 · 4 comments
Assignees

Comments

@janislejins
Copy link

having trouble using the installer script.
I think there needs to be a .git at line 72... of common.sh install
relevant section:

# Fetches latest files from github to webroot
function download_latest_files() {
    if [ ! -d "$webroot_dir" ]; then
        install_error "Web root directory doesn't exist"
    fi

    install_log "Cloning latest files from github"
    sudo git clone https://github.com/billz/raspap-webgui "$webroot_dir" || install_error "Unable to download files from github"
}

should be (?):

# Fetches latest files from github to webroot
function download_latest_files() {
    if [ ! -d "$webroot_dir" ]; then
        install_error "Web root directory doesn't exist"
    fi

    install_log "Cloning latest files from github"
    sudo git clone https://github.com/billz/raspap-webgui.git "$webroot_dir" || install_error "Unable to download files from github"
}
@janislejins
Copy link
Author

made a fork with the change and still threw same error. Never mind I'll troubleshoot on my end.

@jrmhaig
Copy link
Collaborator

jrmhaig commented Aug 12, 2016

I haven't used the install scripts myself but I would guess that it is failing because /var/www ($webroot_dir) is not empty.

@billz billz self-assigned this Aug 17, 2016
@billz
Copy link
Member

billz commented Aug 17, 2016

Thanks for the heads up, I'll check it out.

@billz
Copy link
Member

billz commented Aug 31, 2016

Fixed in #29.

@billz billz closed this as completed Aug 31, 2016
getveloce added a commit to getveloce/raspap-webgui that referenced this issue Feb 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants