使用symlink

时间:2019-07-15 08:51:36

标签: typo3 typo3-9.x

我试图将TYPO3版本9.0.0升级到LTS版本。我已按照以下步骤操作。

TYPO3版本9.0.0到TYPO3 LTS

1)启用symlink typo3_src文件夹到

ln -s typo3 typo3_src

此显示的升级按钮已启用以执行升级。

enter image description here

2)之后,我执行了升级过程。

当我单击按钮时什么也没有发生,这只会显示一条消息。

enter image description here

TYPO3版本9.5.6到TYPO3 LTS

我已经执行了相同的步骤来检查TYPO3 9.5.6版中的功能

这将在根目录中下载最新版本的typo3

enter image description here

在根目录中并显示成功消息

enter image description here

按照消息中的显示,它告诉我重新加载浏览器,因为系统已升级。但是,重新加载后不会显示TYPO3的最新版本。

谁能告诉我这是怎么回事?

3 个答案:

答案 0 :(得分:1)

您的符号链接设置不正确。

您写道:
    ln -s typo3 typo3_src

错误的链接。

TYPO3(9.5.8)的正确符号链接为:

ln -s typo3_src-9.5.8/ typo3_src
ln -s typo3_src/typo3 typo3
ln -s typo3_src/index.php

ln -s命令的语法为: ln -s <source> <targetname>

答案 1 :(得分:1)

我认为您的文件夹结构不正确。正确的结构为:

typo3_src-> /path/to/typo3_src-9.5.x

typo3-> typo3_src / typo3

index.php-> typo3_src / index.php。

您的命令将产生typo3_src-> typo3

首先,尝试ln -s typo3_src-9.5.8 typo3_src,看看是否可以解决问题。如果没有,请另外尝试ln -s typo3_src/typo3 typo3,然后再尝试ln -s typo3_src/index.php index.php。可能是您必须重命名现有目录/文件,然后才能真正起作用。

答案 2 :(得分:1)

TYPO3版本9.0.0到TYPO3 LTS::核心中已发现问题,请检查-https://forge.typo3.org/issues/87575。所以,您正面临这个问题。

TYPO3版本9.5.6到TYPO3 LTS::如果您的项目设置带有以下符号链接,则您只需要遵循TYPO3核心更新向导即可。

enter image description here


enter image description here

ln -s typo3_src-9.5.6/ typo3_src
ln -s typo3_src/typo3 typo3
ln -s typo3_src/index.php

请让我们尝试一下。