0

我正在尝试通过作曲家将 TYPO3 8 实例升级到 TYPO3 9。我希望你能帮助我。

我尝试了以下方法:

composer remove dmitryd/typo3-realurl

composer remove typo3/cms

composer remove friendsoftypo3/extension-builder

composer remove typo3-ter/http2-push

composer require typo3/cms-about typo3/cms-adminpanel typo3/cms-backend typo3/cms-belog typo3/cms-beuser typo3/cms-core typo3/cms-extbase typo3/cms-extensionmanager typo3/cms-filelist typo3/cms-fluid typo3/cms-fluid-styled-content typo3/cms-form typo3/cms-frontend typo3/cms-impexp typo3/cms-info typo3/cms-install typo3/cms-lowlevel typo3/cms-opendocs typo3/cms-recordlist typo3/cms-recycler typo3/cms-redirects typo3/cms-reports typo3/cms-rte-ckeditor typo3/cms-scheduler typo3/cms-seo typo3/cms-setup typo3/cms-tstemplate typo3/cms-viewpage arminvieweg/dce:^1.6 georgringer/news:^7.0.6 helhum/typo3-console --update-with-dependencies --ignore-platform-reqs

现在我有一个文件夹结构,如:

-vendor
-var
-public
-|-typo3
-|-tpo3conf
-|-|-ext
-web
-|-fileadmin
-|-typo3conf
-|-typo3temp
-|-uploads

LocalConfiguration、PackageStates、自制扩展等位于 /web/typo3conf 文件夹中。更新的扩展位于 /public/typo3conf/ext 文件夹中。

这似乎很奇怪。通过作曲家升级的最佳做法是什么,或者下一步是什么?只需将文件管理员移至公共,例如感觉不对。

4

1 回答 1

0

这在 Helmut Hummel 的帮助下解决了这个问题。

此外,您需要删除未使用的 3rd 方扩展,例如 realurl 并更新您的自定义扩展(如果有)。

composer remove typo3/cms-context-help typo3/cms-documentation typo3/cms-func typo3/cms-info-pagetsconfig typo3/cms-wizard-crpages typo3/cms-wizard-sortpages

composer require \
"typo3/minimal:^9.5" \
"typo3/cms-core:^9.5" \
"typo3/cms-about:*" \
"typo3/cms-belog:*" \
"typo3/cms-beuser:*" \
"typo3/cms-felogin:*" \
"typo3/cms-fluid-styled-content:*" \
"typo3/cms-form:*" \
"typo3/cms-impexp:*" \
"typo3/cms-info:*" \
"typo3/cms-rte-ckeditor:*" \
"typo3/cms-scheduler:*" \
"typo3/cms-setup:*" \
"typo3/cms-sys-note:*" \
"typo3/cms-t3editor:*" \
"typo3/cms-tstemplate:*" \
"typo3/cms-viewpage:*" \
--update-with-all-dependencies

存储公共可访问文件的推荐位置是“公共”文件夹。您的 fileadmin、typo3conf、typo3temp 等现在应该在这个文件夹中。我认为在旧版本之一中,“web”已用于此目的,但现在应该由“public”代替。

于 2018-10-23T10:22:38.850 回答