Problem upgrading to v22.09 #3111

Closed
opened 2026-02-05 06:03:16 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @techauthoruk on GitHub (Sep 9, 2022).

Describe the Bug

When upgrading to v22.09 from 22.07.3, I received this error:

From https://github.com/BookStackApp/BookStack
 * branch              release    -> FETCH_HEAD
Updating 1fdf854e..2ac9efae
error: Your local changes to the following files would be overwritten by merge:
        app/Config/app.php
Please commit your changes or stash them before you merge.
Aborting

I assume this was because my app.php file was different to the one it was being updated with (my app.php has a custom entry for file upload size)?

I renamed the app.php file and re-ran

git pull origin release 
composer install --no-dev
php artisan migrate

and all seems to have updated correctly - I reverted app.php to my original version after doing this. Adding these comments in case anyone else has a similar problem.

Steps to Reproduce

Upgrade using the command above

Expected Behaviour

The upgrade process to complete without an error

Screenshots or Additional Context

No response

Browser Details

Firefox 104.0.2 64 bit on Ubuntu 22.04 LTS

Exact BookStack Version

v22.0.7

PHP Version

8.0.22

Hosting Environment

Ubuntu 22.04 LTS on HP server

Originally created by @techauthoruk on GitHub (Sep 9, 2022). ### Describe the Bug When upgrading to v22.09 from 22.07.3, I received this error: ```bash From https://github.com/BookStackApp/BookStack * branch release -> FETCH_HEAD Updating 1fdf854e..2ac9efae error: Your local changes to the following files would be overwritten by merge: app/Config/app.php Please commit your changes or stash them before you merge. Aborting ``` I assume this was because my app.php file was different to the one it was being updated with (my app.php has a custom entry for file upload size)? I renamed the app.php file and re-ran ```bash git pull origin release composer install --no-dev php artisan migrate ``` and all seems to have updated correctly - I reverted app.php to my original version after doing this. Adding these comments in case anyone else has a similar problem. ### Steps to Reproduce Upgrade using the command above ### Expected Behaviour The upgrade process to complete without an error ### Screenshots or Additional Context _No response_ ### Browser Details Firefox 104.0.2 64 bit on Ubuntu 22.04 LTS ### Exact BookStack Version v22.0.7 ### PHP Version 8.0.22 ### Hosting Environment Ubuntu 22.04 LTS on HP server
OVERLORD added the 🐛 Bug label 2026-02-05 06:03:16 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3111