Bug #59510
closedUse relative path to typo3_src-x.y.z (symbolic link)
0%
Description
Install Tool -> Important Actions -> Core Update
After downloading and extracting a new TYPO3 core package, the symlink is updated automatically, pointing to the new source directory.
For example (an update from 6.2.2 to 6.2.3):
lrwxrwxrwx typo3_src -> /home/ernie/www/htdocs/typo3_src-6.2.3 drwxr-sr-x typo3_src-6.2.2 drwxr-sr-x typo3_src-6.2.3
Using an absolute path to the target directory (here: /home/ernie/www/htdocs/typo3_src-6.2.3
) makes it hard(er) to move instances around, e.g. from user "ernie" to user "bert" :-) Typically, you only need to move/copy directory "www" from /home/ernie/
to /home/bert/
(plus the adjustment of permissions), but in this case, this would not work.
Another example could be a change of the path, e.g. from /home/ernie/www/htdocs/
to /home/ernie/public_html/
.
A more robust and admin-friendly solution would be to check (before the core update), if the symlink points to a relative directory and in this case, retain this option, rather than changing to an absolute path.
lrwxrwxrwx typo3_src -> typo3_src-6.2.3 drwxr-sr-x typo3_src-6.2.2 drwxr-sr-x typo3_src-6.2.3
Updated by Falko Trojahn over 9 years ago
I'd rather consider this a bug, doing core update in install tool from 6.2.6 to 6.2.7 made an installation unusable: the typo3_src link pointed to the wrong absolute path /html/typo3_src-6.2.7 instead of /website/home/directory/html/typo3_src-6.2.7.
I think the newer typo3_src should be unpacked where the old one is located, e.g. if the link points to ../typo3/typo3_src-6.2.6, the new source folder should go to ../typo3/ and the link be set accordingly.
Updated by Frederic Gaus about 9 years ago
- Status changed from New to Resolved
Applied in changeset 943771a42fe19b9c50b8043735114b43414c0fc9.