Spryker module update.
I want to know is there any way or command to update all the module at once?
Best Answer
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,052 βοΈ - Guardians (admin)
Heyhey,
in theorycomposer update
should do the trick up until the fixed versions in the composer.json.
For others maybe this could help: - but seems to be rather risky.
I personally prefer to compare my project composer.json with the one of the demoshop-release I want to update to and make the changes in there and then call the composer-update command.
All the best,Florian
0
Answers
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,052 βοΈ - Guardians (admin)
Heyhey,
in theorycomposer update
should do the trick up until the fixed versions in the composer.json.
For others maybe this could help: - but seems to be rather risky.
I personally prefer to compare my project composer.json with the one of the demoshop-release I want to update to and make the changes in there and then call the composer-update command.
All the best,Florian
0 -
Ok I will look into this, also i got these warnings while composer update :
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,052 βοΈ - Guardians (admin)
Heyhey,
please go inside the docker container to do the update to have all needed php extensions loaded and also to make sure that you use the right php version to do the composer operation:docker/sdk cli
- execute the composer command inside that cli-container
All the best,
Florian
0 -
After I ran this command : composer update , I got these errors :
0 -
0
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,052 βοΈ - Guardians (admin)
Hey, lets dive deeper into this:
My first question here is: Why is there sth about php7.4 on your screenshot? php7.4 is outdated and does not even support security updates anymore.
You are executing it now inside the docker/sdk cli, right?
What are the exact commands you tried?0 -
Yeah, php was outdated. Now i have updated php to 8.1 and after that i ran the command in the docker/sdk cli and i got this error :
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,052 βοΈ - Guardians (admin)
Heyhey,
since some more reported the "curl error 55" in the last weeks i just created a thread, hope it helps!
0 -
Still facing problem because of fixed version of some modules!!
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,052 βοΈ - Guardians (admin)
Yeah, but these are follow-ups of changes you did within the composer.json.
In this case it also says exactly what is wrong.
Now it is up to you to solve these fixed dependencies by updating them step by step.
A helpful command could also becompose why package-name
0 -
when I try to update single module it is giving me lines of this notice messeges :
0 -
sllh/composer-versions-check
is deprecated and can be removed safely.0 -
How can I remove sllh/composer-versions-check ??
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,052 βοΈ - Guardians (admin)
I thought you removed it already after mentioning it?
0 -
π I tried that time but it was not removed, but now it is removed.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 68 Spryker News
- 890 Developer Corner
- 753 Spryker Development
- 83 Spryker Dev Environment
- 360 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 22 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 68 Spryker Safari Questions
- 50 Random