Skip to content
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

Can not install UVdesk after install of Composer 2.x #454

Closed
mjfortega opened this issue Sep 2, 2021 · 7 comments
Closed

Can not install UVdesk after install of Composer 2.x #454

mjfortega opened this issue Sep 2, 2021 · 7 comments

Comments

@mjfortega
Copy link

I am trying to install UVDesk on an Ubuntu machine,
After installing Composer 1.x I needed to upgrade before I could go on.
I upgraded to Composer v2.x.

No when I execute: composer create-project uvdesk/community-skeleton helpdesk-project

I get the following error and I am stuck:

[InvalidArgumentException]
Could not find package uvdesk/community-skeleton with stability stable in
a version installable using your PHP version, PHP extensions and Composer
version.

@vipin-shrivastava
Copy link
Contributor

@mjfortega
What PHP version are you using?

@vipin-shrivastava
Copy link
Contributor

@mjfortega
I think you are using PHP8 that's why it is giving you a warning.
Downgrade your PHP version to 7.4 then you can easily download the project using composer create-project uvdesk/community-skeleton helpdesk-project command.

we are also working on PHP8, soon you will see the support with PHP8 in UVDesk.

Hope now your issue will resolve. If not please let us know

@mjfortega
Copy link
Author

mjfortega commented Sep 3, 2021

Yes, the command I used to install PHP seems to have installed all PHP versions, version 8 (v8.0.9) included.
Although version 8 has been disabled, and PHP v7.4 has been enabled, the UDesk composer install probably detects PHP v.8.x.

After uninstalling PHP 8.x using the following lines:
sudo apt-get purge php8.*
sudo apt-get autoclean
sudo apt-get autoremove

After de above, was able to continue with the UVDesk installation using "Composer 2".
However I do not know if some this uninstall will have any adverse effects later.

@vipin-shrivastava
Copy link
Contributor

@mjfortega
As per my knowledge, it will not affect anything but if some other projects want PHP8 then will occur some issues.
But as I know if some projects support PHP8 then it will also be perfectly fine working with PHP7.4.

@vipin-shrivastava
Copy link
Contributor

@mjfortega
Any updates? Are you still facing the issue?

@PeopleInside
Copy link
Contributor

Hi @mjfortega ,
I use UVdesk with PHP 7.4 and I don't see or know any issue with composer 2.

You can try to install UVdesk by using the method 4 (FTP) see:
https://forums.uvdesk.com/topic/1833/how-to-upgrade-uvdesk

@komal-sh-27
Copy link
Contributor

komal-sh-27 commented Oct 5, 2021

There is no updates from your side so we are closing this issue.
If still facing the same issue please let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants