如何使用命令行接口更新Shopware 6?

发布于 2025-02-13 06:33:43 字数 69 浏览 1 评论 0原文

如何使用命令行接口将Shopware 6更新为最新版本或最新版本? (是的,我知道有一个文档)但是是否有一个简洁的逐步指南。

How to update Shopware 6 to the newest or latest version using the command line interface?
(yes I know there is a documentation) but is there a concise step by step guide.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

青朷 2025-02-20 06:33:43

这取决于您如何安装售货机。

使用ZIP安装时,您可以使用ZIP进行更新。

  • 下载它
  • 打开
  • PHP PUBLIC/RECOVEL/UPDATE/INDEX.PHP,

您也可以在Composer.json中进行调整。JSONShopware/*软件包版本并运行COMPOSER UPDATE

如果您使用了作曲家后,您必须将作曲家用于所有下一个操作,就无法返回ZIP更新。

It depends on how you installed Shopware.

When you installed using Zip, you can update using the zip.

  • Download it
  • Unpack it
  • php public/recovery/update/index.php

You can also adjust in the composer.json the shopware/* package versions and run composer update

If you used once composer, you have to use composer for all next operations, there is no way back to zip updates.

深陷 2025-02-20 06:33:43

获取更新zip文件链接: https://www.shopware.com/en/changelog/

  1. 将zip文件转到服务器上,
wget https://www.shopware.com/en/Download/redirect/version/sw6/file/update_v6.4.13.0_a44572dd03739a816771148ad8bf5a0153f6e79a.zip -qq -O /var/www/update6413.zip
  1. 将所有文件解压缩到您的Shopware安装
unzip -q /var/www/update6413.zip -d /var/www/shopware

  1. concute concute update command
php /var/www/shopware/public/recovery/update/index.php

命令“ enter”以开始更新

  1. ,然后删除更新资产文件夹
rm -r update-assets/

并删除更新文件更新后

rm update.json

Get update zip file link: https://www.shopware.com/en/changelog/

  1. Get zip file to server
wget https://www.shopware.com/en/Download/redirect/version/sw6/file/update_v6.4.13.0_a44572dd03739a816771148ad8bf5a0153f6e79a.zip -qq -O /var/www/update6413.zip
  1. Unzip all files to your Shopware installation
unzip -q /var/www/update6413.zip -d /var/www/shopware

  1. Excute update command
php /var/www/shopware/public/recovery/update/index.php

Press "ENTER" to start updating

  1. Then remove update assets folder
rm -r update-assets/

and remove update file after update

rm update.json
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文