-
Notifications
You must be signed in to change notification settings - Fork 7
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
fail on install-snipe-dependancies #9
Comments
it looks like php is missing extensions (or they are there but composer update was not run)
some packages require php < 8.2 but php 8.2.0 is installed, violating that maybe new versions of
is required thats what I got from the error but I could be missing something |
https://github.com/wiggels/ansible-role-snipe-it/blob/main/tasks/snipeit.yml#L57-L62 update line 58 to
maybe? |
i logged in and manually ran my suggestion above and got this |
The PHP deps should be installed with https://github.com/wiggels/ansible-role-snipe-it/blob/main/tasks/install_packages.yml. I will have to take a look tomorrow and troubleshoot it with the specific image you are using--there may be a config missing. I have tested in 20.04 and 22.04 VMs, but not containers. |
if you have access to a proxmox hypervisor install... I am using the proxmox ubuntu 22.04 LXC template as my base it seems that its missing a lot of stuff thats included in ubuntu-server by default thank you so much for your help |
so your ansible is trying to install php 8.1 and then the php compose is running with php 8.2 for some reason |
yeah this works
for some reason the php alias is not going to php8.1 but instead going to php8.2 |
i did
and now it gets past this point |
Does the image come with php8.2 already installed? That is odd. But I can add a step to change symlink to ensure 8.1. |
im not sure how I ended up with php8.2 |
Now that 8.2 is released, we can look at bumping it up in the defaults. |
ok, ill nuke my container and re-run and see if it works now |
its failing. composer is complaining that packages want less than php v8.2 |
is there any progress on this? if I do a manual source install of snipe-it following the snipe-it docs will I be able to use this to keep it up to date in the future? |
Ubuntu 22 uses 8.2 per default, and the snipe-it role uses 8.1 by default. The issue is that not all dependencies (specifically php-zip,php-gd,php,curl in my case) were missing.
We will likely have to lock to php 8.0 or 8.1 for now. (Since 8.0 is now the new minimum version) Ill try to send a PR tomorrow to fix this. I also want to work on adapting my local test procedure to work with github actions and also other distributions than Ubuntu 22 (which is the only thing I test currently). |
The text was updated successfully, but these errors were encountered: