mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-18 11:19:37 +03:00
After upgrade to v23.02 Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". #3531
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stepanov1975 on GitHub (Feb 26, 2023).
Describe the Bug
I updated to v23.02 according to the update instructions. I originally used installation-ubuntu-20.04.sh script.
After upgrade when trying to access Bookstack i am getting the error:
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2".
Steps to Reproduce
Expected Behaviour
Expected successful update
Screenshots or Additional Context
No response
Browser Details
Google chrome
Exact BookStack Version
v23.02
PHP Version
8.2
Hosting Environment
Ubuntu 20.04.5 LTS using official installation-ubuntu-20.04.sh script
@ssddanbrown commented on GitHub (Feb 26, 2023):
Hi @stepanov1975,
php -v?@stepanov1975 commented on GitHub (Feb 26, 2023):
Hi @ssddanbrown
There was no errors during the installation of PHP 8.2
php -v
I restarted the system. Can not log in because I see only the error. Nothing else.
phpinfo shows apache still using php 7.4 (/etc/php/7.4/fpm)
@ssddanbrown commented on GitHub (Feb 26, 2023):
Strange, since your PHP version output is 8.2.
composer install --no-dev? I would have expected more detail. Just want to confirm exactly what you see.composer -V?git statusfrom your BookStack install directory?@stepanov1975 commented on GitHub (Feb 26, 2023):
There are no errors when running composer

install --no-dev. Screenshot attachedcomposer -V
Composer version 2.5.4 2023-02-15 13:10:06git status
@stepanov1975 commented on GitHub (Feb 26, 2023):
Ok! After a lot of digging, what helped is
sudo apt purge '^php7.4.*'@nderambure commented on GitHub (Feb 28, 2023):
Hello,
I'm on Debian 11, still with PHP 7.4.33 and the same error appears.
No problem for pushing users to update PHP, I will do with Debian 12, but meanwhile, there was no info about incompatibility in changelog so I broke my install (but got a backup).
Would have been cool if we have been told about this, but thx anyway for this great app.
@ssddanbrown commented on GitHub (Feb 28, 2023):
@nderambure What changelog are you referring to here? Warnings for this were in the GitHub release notes, Our Blogpost, our version-specific update notes and it was mentioned in the release video.
@nderambure commented on GitHub (Feb 28, 2023):
Oh ! My bad, I just did read the changelog... for 23.02.1, thought there was only one release between mine and new.
Sorry for that...
You can delete my comments ;)
@ssddanbrown commented on GitHub (Mar 6, 2023):
Since the issue is solved for the original issue creator I'll close this off.