-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installer / Git Clone not working due to PHP incompatibilities #14676
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
Snipe-IT v6.x.x does not with with php 8.2 or higher, per the requirements docs. Upcoming v7 will. |
Hi Snipe, Where I understand that, anyone who tries to build a new Snipe IT instance from the clone or installer between now and the release of V7 will not be able to. Would it be worth putting a note that these will not work until V7 is released. Also I assume it is still possible to spin up a new Snipe IT instance it just needs to be manually installed step by step? |
If I’m understanding the issue, it’s that the installer on master is currently trying to install the latest php? It should be locked to what currently works on that version. (Double checking that now tho.) The only real difference in requirements is that v6 doesn’t work on PHP8.2+, and Snipe-IT v7 won’t work with less than PHP8.1. |
Okay - in the sh script for Ubuntu it seems we’re just saying “install php”, which will give you latest. Re-opening this so we can see how to bridge that gap in the meantime. Snipe-IT v6.4.0 will be released next week, and v7 shortly after (assuming no surprises) but this is a fair issue. Thanks for raising it. |
Thank you, appreciate it |
I'm having the same issue. I believe the driving issue is Ubuntu, Debian, and most major linux distros have removed PHP8.1.* packages from their repositories. This makes installers rely on third party repositories which aren't suited for production. |
Hi @snipe , |
Debug mode
Describe the bug
Issue with installing Snipe IT on a new ubuntu 24.04 server. This is a dedicated VM.
Downloading the Installer (or using the git clone) pull the latest version of PHP which is not compatible with SnipeIT.
Hence Vendor folder does not get created, PHP Artisan key:generate does not work
Install log:
snipeit-install.log
Reproduction steps
Expected behavior
Install to be successfull
Screenshots
No response
Snipe-IT Version
6.3.4
Operating System
Ubuntu
Web Server
Apache
PHP Version
8.3.6
Operating System
Ubuntu 24.04 Server
Browser
Google Chrome
Version
Version 124.0.6367.119 (Official Build) (64-bit)
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
No response
The text was updated successfully, but these errors were encountered: