如何从TYPO3 8中的命令行运行升级向导

时间:2019-05-13 09:47:58

标签: typo3 typo3-8.x

这适用于TYPO3 9:

作曲家:

./vendor/bin/typo3 upgrade:list -a

./vendor/bin/typo3 upgrade:run <wizardName>

没有Composer:

与Composer相同,但使用不同的路径:

./typo3/sysext/core/bin/typo3 upgrade:list  

./typo3/sysext/core/bin/typo3 upgrade:run <wizardName>  

ValueObject中所述(对于Composer和非Composer,也请参见Installation & Upgrade Guide: Upgrade Wizard

在TYPO3 8中,没有显示命令“ upgrade”,例如

./vendor/bin/typo3

输出:

 ... 
 referenceindex
   referenceindex:update     Update the reference index of TYPO3
 syslog
   syslog:list               Show entries from the sys_log database table of the last 24 hours.

如何从TYPO3 8的CLI中运行这些命令?

1 个答案:

答案 0 :(得分:0)

您可以尝试使用二进制typo3cmstypo3cms二进制文件是内核的部分。它由作曲家软件包helhum/typo3-console提供,包括基本的二进制功能以及一些其他功能。

typo二进制=> ./vendor/bin/typo3cms一样调用它 然后,您将获得升级选项的以下输出:

upgrade
  upgrade:all                        Execute all upgrade wizards that are scheduled for execution
  upgrade:checkextensionconstraints  Check TYPO3 version constraints of extensions
  upgrade:list                       List upgrade wizards
  upgrade:wizard                     Execute a single upgrade wizard

TYPO3还包含fluid文件夹中的二进制文件doctrine-dbalvendor/bin