Installation Script stops at 5/9 on Ubuntu 22.04 #3963

Closed
opened 2026-02-05 07:58:40 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @flashbong111 on GitHub (Aug 11, 2023).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

I run the installation script and it stops at "5/9 Installing PHP dependencies using composer..."
I already tried it twice with a new server, no error or anything. It just redirects me to the command line...

This is very depressing...

Exact BookStack Version

NA

Log Content

NA

PHP Version

NA

Hosting Environment

Ubuntu 22.04

Originally created by @flashbong111 on GitHub (Aug 11, 2023). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario I run the installation script and it stops at "5/9 Installing PHP dependencies using composer..." I already tried it twice with a new server, no error or anything. It just redirects me to the command line... This is very depressing... ### Exact BookStack Version NA ### Log Content NA ### PHP Version NA ### Hosting Environment Ubuntu 22.04
OVERLORD added the 🐕 Support label 2026-02-05 07:58:40 +03:00
Author
Owner

@Des2B commented on GitHub (Aug 11, 2023):

Can confirm this same issue on my end as well, this is what I'm finding in the installation logs.

image

@Des2B commented on GitHub (Aug 11, 2023): Can confirm this same issue on my end as well, this is what I'm finding in the installation logs. ![image](https://github.com/BookStackApp/BookStack/assets/142047293/3ba64293-5fab-430a-98f1-5acc4cb4f4a4)
Author
Owner

@ssddanbrown commented on GitHub (Aug 12, 2023):

Hi both, I've just double checked this, by spinning up a fresh LXC Ubuntu 22.04 container, fully updating it to the latest packages, then running the install script. This is an x86_64 container system.
I was not able to reproduce this error, and whole install process completed without issue.

To both of you:

  • Are you able to describe the environment at all? Is this running on a specific architecture or via a specific service?
  • Do you have anything notable on the networking side of things? Any proxies or similar controls in play?
@ssddanbrown commented on GitHub (Aug 12, 2023): Hi both, I've just double checked this, by spinning up a fresh LXC Ubuntu 22.04 container, fully updating it to the latest packages, then running the install script. This is an x86_64 container system. I was not able to reproduce this error, and whole install process completed without issue. To both of you: - Are you able to describe the environment at all? Is this running on a specific architecture or via a specific service? - Do you have anything notable on the networking side of things? Any proxies or similar controls in play?
Author
Owner

@Des2B commented on GitHub (Aug 15, 2023):

So for myself, I'm using VMWare 7.0.0 and have a Ubuntu 22.04 LTS with the latest updated installed.

I have a firewall in place but no proxies, I suppose it's possible the firewall is blocking that traffic but past that I'm not sure.

@Des2B commented on GitHub (Aug 15, 2023): So for myself, I'm using VMWare 7.0.0 and have a Ubuntu 22.04 LTS with the latest updated installed. I have a firewall in place but no proxies, I suppose it's possible the firewall is blocking that traffic but past that I'm not sure.
Author
Owner

@ssddanbrown commented on GitHub (Aug 15, 2023):

Thanks @Des2B, Have heard of some dodgy behaviour in VMware before, but that was related to MySQL not auto-starting, but that doesn't seem to be the same issue as your logs above.

Could try running the failing step manually to see if that also fails:

cd /var/www
sudo git clone https://github.com/BookStackApp/BookStack.git --branch release --single-branch bookstack

Also, have you tried running the script again since the error? (on a fresh instance). I'm wondering if this was just some GitHub downtime or similar network issue that temporarily caused an error.

@ssddanbrown commented on GitHub (Aug 15, 2023): Thanks @Des2B, Have heard of some dodgy behaviour in VMware before, but that was related to MySQL not auto-starting, but that doesn't seem to be the same issue as your logs above. Could try running the failing step manually to see if that also fails: ```bash cd /var/www sudo git clone https://github.com/BookStackApp/BookStack.git --branch release --single-branch bookstack ``` Also, have you tried running the script again since the error? (on a fresh instance). I'm wondering if this was just some GitHub downtime or similar network issue that temporarily caused an error.
Author
Owner

@flashbong111 commented on GitHub (Aug 15, 2023):

Hello,

we always get stuck here:
[image: image (2).png]

As you can see, it gets a connection timed out at the php composer.
We have set a every proxy possible wget, apt, git, environment and and and.
Our Firewall is not showing us, what gets blocked, nothing appears in the
log.

My guess is this that the script or php composer ignores the proxies we set
before... :(

Am Di., 15. Aug. 2023 um 15:45 Uhr schrieb Dan Brown <
@.***>:

Thanks @Des2B https://github.com/Des2B, Have heard of some dodgy
behaviour in VMware before, but that was related to MySQL not
auto-starting, but that doesn't seem to be the same issue as your logs
above.

Could try running the failing step manually to see if that also fails:

cd /var/www
sudo git clone https://github.com/BookStackApp/BookStack.git --branch release --single-branch bookstack

Also, have you tried running the script again since the error? (on a fresh
instance). I'm wondering if this was just some GitHub downtime or similar
network issue that temporarily caused an error.


Reply to this email directly, view it on GitHub
https://github.com/BookStackApp/BookStack/issues/4435#issuecomment-1678958811,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB3TM6YGCOCZUCYVJGMB7LTXVN4P3ANCNFSM6AAAAAA3NAIBR4
.
You are receiving this because you authored the thread.Message ID:
@.***>

@flashbong111 commented on GitHub (Aug 15, 2023): Hello, we always get stuck here: [image: image (2).png] As you can see, it gets a connection timed out at the php composer. We have set a every proxy possible wget, apt, git, environment and and and. Our Firewall is not showing us, what gets blocked, nothing appears in the log. My guess is this that the script or php composer ignores the proxies we set before... :( Am Di., 15. Aug. 2023 um 15:45 Uhr schrieb Dan Brown < ***@***.***>: > Thanks @Des2B <https://github.com/Des2B>, Have heard of some dodgy > behaviour in VMware before, but that was related to MySQL not > auto-starting, but that doesn't seem to be the same issue as your logs > above. > > Could try running the failing step manually to see if that also fails: > > cd /var/www > sudo git clone https://github.com/BookStackApp/BookStack.git --branch release --single-branch bookstack > > Also, have you tried running the script again since the error? (on a fresh > instance). I'm wondering if this was just some GitHub downtime or similar > network issue that temporarily caused an error. > > — > Reply to this email directly, view it on GitHub > <https://github.com/BookStackApp/BookStack/issues/4435#issuecomment-1678958811>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/BB3TM6YGCOCZUCYVJGMB7LTXVN4P3ANCNFSM6AAAAAA3NAIBR4> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@flashbong111 commented on GitHub (Aug 15, 2023):

The Image:
image (2)

@flashbong111 commented on GitHub (Aug 15, 2023): The Image: ![image (2)](https://github.com/BookStackApp/BookStack/assets/142030459/97e3e8f6-1c0a-4397-9929-a825eb33035f)
Author
Owner

@ssddanbrown commented on GitHub (Aug 15, 2023):

Thanks @flashbong111 for the extra info.
To be honest, The script (and BookStack itself) is not built to specifically support proxies nor are proxies tested with the script.

Composer does have some guidance for use with proxies though if that helps.

@ssddanbrown commented on GitHub (Aug 15, 2023): Thanks @flashbong111 for the extra info. To be honest, The script (and BookStack itself) is not built to specifically support proxies nor are proxies tested with the script. Composer does have [some guidance for use with proxies](https://getcomposer.org/doc/03-cli.md#http-proxy-or-http-proxy) though if that helps.
Author
Owner

@ssddanbrown commented on GitHub (Aug 22, 2023):

I'll go ahead and close this off since it looks to be specific to when proxies are used.

@ssddanbrown commented on GitHub (Aug 22, 2023): I'll go ahead and close this off since it looks to be specific to when proxies are used.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3963