Proxy Issue - Installation Script - Ubuntu 16.04 #593

Closed
opened 2026-02-04 21:21:16 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @X1Aaron on GitHub (Mar 6, 2018).

Cloning into 'bookstack'...
remote: Counting objects: 12981, done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 12981 (delta 0), reused 42 (delta 0), pack-reused 12939
Receiving objects: 100% (12981/12981), 8.11 MiB | 2.55 MiB/s, done.
Resolving deltas: 100% (8824/8824), done.
Checking connectivity... done.
ERROR: Invalid composer installer signature

Any idea how to resolve?

Originally created by @X1Aaron on GitHub (Mar 6, 2018). ``` Cloning into 'bookstack'... remote: Counting objects: 12981, done. remote: Compressing objects: 100% (42/42), done. remote: Total 12981 (delta 0), reused 42 (delta 0), pack-reused 12939 Receiving objects: 100% (12981/12981), 8.11 MiB | 2.55 MiB/s, done. Resolving deltas: 100% (8824/8824), done. Checking connectivity... done. ERROR: Invalid composer installer signature ``` Any idea how to resolve?
OVERLORD added the 🐕 Support label 2026-02-04 21:21:16 +03:00
Author
Owner

@X1Aaron commented on GitHub (Mar 6, 2018):

Script works on Vultr, so must be something with the corporate proxy... :-/

I have run the following commands:

export HTTP_PROXY=http://192.168.105.5:8080
export http_proxy=http://192.168.105.5:8080
export HTTPS_PROXY=http://192.168.105.5:8080
export https_proxy=http://192.168.105.5:8080
git config --global http.proxy http://192.168.105.5:8080

What else can I try?

@X1Aaron commented on GitHub (Mar 6, 2018): Script works on Vultr, so must be something with the corporate proxy... :-/ I have run the following commands: ``` export HTTP_PROXY=http://192.168.105.5:8080 export http_proxy=http://192.168.105.5:8080 export HTTPS_PROXY=http://192.168.105.5:8080 export https_proxy=http://192.168.105.5:8080 git config --global http.proxy http://192.168.105.5:8080 ``` What else can I try?
Author
Owner

@X1Aaron commented on GitHub (Mar 6, 2018):

Both commands in the script seems to work...

studera@bookstack:~$ wget https://composer.github.io/installer.sig -O - -q
544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061
studera@bookstack:~$ curl -s https://getcomposer.org/installer > composer-setup.php
studera@bookstack:~$
@X1Aaron commented on GitHub (Mar 6, 2018): Both commands in the script seems to work... ``` studera@bookstack:~$ wget https://composer.github.io/installer.sig -O - -q 544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061 studera@bookstack:~$ curl -s https://getcomposer.org/installer > composer-setup.php studera@bookstack:~$ ```
Author
Owner

@domainzero commented on GitHub (Mar 7, 2018):

Hey @aaronstuder

What does php -r "echo hash_file('SHA384', 'composer-setup.php');" return when you're in the directory that has composer-setup.php in it?

The script is comparing the key obtained from wget https://composer.github.io/installer.sig -O - -q to a hash of the actual composer-setup.php

Is your copy of composer-setup.php getting changed somehow?

@domainzero commented on GitHub (Mar 7, 2018): Hey @aaronstuder What does `php -r "echo hash_file('SHA384', 'composer-setup.php');"` return when you're in the directory that has `composer-setup.php` in it? The script is comparing the key obtained from `wget https://composer.github.io/installer.sig -O - -q` to a hash of the actual `composer-setup.php` Is your copy of `composer-setup.php` getting changed somehow?
Author
Owner

@ssddanbrown commented on GitHub (May 7, 2019):

Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.

@ssddanbrown commented on GitHub (May 7, 2019): Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#593