Unable to upgrade to 25.05.2 #5347

Closed
opened 2026-02-05 09:59:25 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Rock-HOG on GitHub (Jul 8, 2025).

Describe the Bug

Im on version 25.05.1 trying to upgrade to 25.05.2. When running the command composer install --no-dev im getting the error:

`> @php -r "!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');"
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 0 installs, 15 updates, 0 removals

  • Downloading ssddanbrown/htmldiff (v2.0.0)
    0/1 [>---------------------------] 0% Failed to download ssddanbrown/htmldiff from dist: curl error 35 while downloading https://codeberg.org/api/v1/repos/danb/HtmlDiff/archive/v2.0.0.zip: Recv failure: Connection reset by peer
    Now trying to download from source
  • Syncing ssddanbrown/htmldiff (v2.0.0) into cache
    Authentication required (codeberg.org):
    Username:`

Is it required to have a codeberg account to finish this step?

Steps to Reproduce

run command composer install --no-dev

Expected Behaviour

Installation completes

Screenshots or Additional Context

Image

Browser Details

No response

Exact BookStack Version

v25.05.1

Originally created by @Rock-HOG on GitHub (Jul 8, 2025). ### Describe the Bug Im on version 25.05.1 trying to upgrade to 25.05.2. When running the command `composer install --no-dev` im getting the error: `> @php -r "!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');" Installing dependencies from lock file Verifying lock file contents can be installed on current platform. Package operations: 0 installs, 15 updates, 0 removals - Downloading ssddanbrown/htmldiff (v2.0.0) 0/1 [>---------------------------] 0% Failed to download ssddanbrown/htmldiff from dist: curl error 35 while downloading https://codeberg.org/api/v1/repos/danb/HtmlDiff/archive/v2.0.0.zip: Recv failure: Connection reset by peer Now trying to download from source - Syncing ssddanbrown/htmldiff (v2.0.0) into cache Authentication required (codeberg.org): Username:` Is it required to have a codeberg account to finish this step? ### Steps to Reproduce run command composer install --no-dev ### Expected Behaviour Installation completes ### Screenshots or Additional Context <img width="1782" height="186" alt="Image" src="https://github.com/user-attachments/assets/664058eb-5230-4770-af29-7146cc2aecdf" /> ### Browser Details _No response_ ### Exact BookStack Version v25.05.1
OVERLORD added the 🐛 Bug label 2026-02-05 09:59:25 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jul 9, 2025):

Hi @Rock-HOG,
This could maybe occur if you've had recent frequent interaction with codeberg, or if you're in a location where connection to codeberg is blocked/limited for some reason.

As an alternative, you could use our recently introduced alternative system which does not rely on Composer, GitHub, Codeberg, or Packagist, and instead only the BookStack file server.

@ssddanbrown commented on GitHub (Jul 9, 2025): Hi @Rock-HOG, This could maybe occur if you've had recent frequent interaction with codeberg, or if you're in a location where connection to codeberg is blocked/limited for some reason. As an alternative, you could use our [recently introduced alternative system](https://www.bookstackapp.com/blog/php-dependency-improvements/) which does not rely on Composer, GitHub, Codeberg, or Packagist, and instead only the BookStack file server.
Author
Owner

@Rock-HOG commented on GitHub (Jul 15, 2025):

Hello @ssddanbrown,
Digging further, it was found that a connection to codeberg was being blocked. After removing the block, I was able to update the application. Thanks for your assistance.

@Rock-HOG commented on GitHub (Jul 15, 2025): Hello @ssddanbrown, Digging further, it was found that a connection to codeberg was being blocked. After removing the block, I was able to update the application. Thanks for your assistance.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5347