我正在尝试通过composer将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
-|-uploadsLocalConfiguration、PackageStates、自制扩展等位于/web/typo3conf文件夹中。更新的扩展位于/public/typo3conf/ext文件夹中。
这看起来很奇怪。通过composer升级的最佳实践是什么?下一步是什么?例如,只要将fileadmin移到public就会感觉不对劲。
发布于 2018-10-23 18:22:39
这在赫尔穆特·胡梅尔的帮助下解决了这个问题。
此外,您还需要删除未使用的第三方扩展,如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建议存储公共可访问文件的位置是" public“文件夹。你的文件管理,typo3conf,typo3temp等现在应该在这个文件夹中。我认为在一个较老的版本中,"web“已经被用来做这件事,但现在应该被"public”取代。
https://stackoverflow.com/questions/52890055
复制相似问题