Hello,
I currently have a current Typo3 instance running as legacy under 13.4.0. I would like to convert this to Composer.
For this purpose I have a domain “upgrade.example.com” on my Apache2 server and on the MariaDB server there is a new DB
“example_composer” with the DB rights for the user “typo3”.
My domain is accessible from outside and I use PHP 8.2.23 and Composer 2.8.1.
I run this command in my Apache server directory:
composer create-project typo3/cms-base-distribution upgrade.example.com "^13" && chown -R www-data:www-data upgrade.example.com
and change to the project directory
cd upgrade.example.com
Here I see
ls -l
total 288
-rw-r--r-- 1 www-data www-data 1163 Oct 15 15:02 composer.json
-rw-r--r-- 1 www-data www-data 250905 Nov 4 12:22 composer.lock
-rw-r--r-- 1 www-data www-data 18092 Oct 15 15:02 LICENSE
drwxr-xr-x 4 www-data www-data 4096 Nov 4th 12:29 public
-rw-r--r-- 1 www-data www-data 1809 Oct 15th 15:02 README.md
drwxrwsr-x 3 www-data www-data 4096 Nov 4th 12:31 var
drwxr-xr-x 23 www-data www-data 4096 Nov 4th 12:22 vendor
I create the FIRST_INSTALL file
touch public/FIRST_INSTALL
To be on the safe side, I give the directories and files the correct permissions.
find /srv/www/upgrade.example.com/public -type d -exec chmod 755 {} \;
find /srv/www/upgrade.example.com/public -type f -exec chmod 644 {} \;
If I now want to continue with the web browser according to your instructions [“Installing TYPO3 — Getting Started 11.5 documentation”], the website remains empty and without error messages.
I’ll take a closer look at this on the bash console:
# tree -L 2 public/
public/
├── _assets
│ ├── 081fa96a07de1dccb64a8a83e1567439 -> ../../vendor/typo3/cms-backend/Resources/Public
│ ├── 0c22fd3d95c93dc31098cc8d4b1d7232 -> ../../vendor/typo3/cms-belog/Resources/Public
│ ├── 14525e5262e0d22d75f200ddba75ef39 -> ../../vendor/typo3/cms-fluid-styled-content/Resources/Public
│ ├── 1ee1d3e909b58d32e30dcea666dd3224 -> ../../vendor/typo3/cms-core/Resources/Public
│ ├── 2a58d7833cb34b2a67d37f5b750aa297 -> ../../vendor/typo3/cms-frontend/Resources/Public
│ ├── 2f9f1781442d461eab73b573487122ef -> ../../vendor/typo3/cms-form/Resources/Public
│ ├── 34d632057b1a1586dba4464836293c82 -> ../../vendor/typo3/cms-viewpage/Resources/Public
│ ├── 37ee5ba7a97ad859ac99cb8181e0c0e3 -> ../../vendor/typo3/cms-dashboard/Resources/Public
│ ├── 3e6bdaf43accab50ce792e3fd5508290 -> ../../vendor/typo3/cms-reactions/Resources/Public
│ ├── 509a7bacf53455dd0e8bc14336b58c3d -> ../../vendor/typo3/cms-extbase/Resources/Public
│ ├── 50f05254cd959726af926202744dae53 -> ../../vendor/typo3/cms-recycler/Resources/Public
│ ├── 6104b7f46d656dcf567ead154886bf37 -> ../../vendor/typo3/cms-install/Resources/Public
│ ├── 656f1405e34da8aeed0d2793b00aa50a -> ../../vendor/typo3/cms-felogin/Resources/Public
│ ├── 6942460bf1dad5e61e3275534adcf333 -> ../../vendor/typo3/cms-sys-note/Resources/Public
│ ├── 92d0321322c294e77404bf74cad9c7d4 -> ../../vendor/typo3/cms-beuser/Resources/Public
│ ├── 937be57c7660e085d41e9dabf38b8aa1 -> ../../vendor/typo3/cms-rte-ckeditor/Resources/Public
│ ├── 984e6ee9829f85eb447bb6a36455204a -> ../../vendor/typo3/cms-seo/Resources/Public
│ ├── 9e592a1e5eec5752a1be78133e5e1a60 -> ../../vendor/typo3/cms-setup/Resources/Public
│ ├── a3db3388ff457cff602f74c897474ebb -> ../../vendor/typo3/cms-fluid/Resources/Public
│ ├── b1439bab8f20d76bfa926e2ce031de9d -> ../../vendor/typo3/cms-info/Resources/Public
│ ├── cddd1dcdf2ba9efa5a1cbf7e00411594 -> ../../vendor/typo3/cms-extensionmanager/Resources/Public
│ ├── ec005b61df4f0f0176368985ceadad31 -> ../../vendor/typo3/cms-webhooks/Resources/Public
│ ├── eecf5c3877e98efe7b03503e2b450a69 -> ../../vendor/typo3/cms-filelist/Resources/Public
│ ├── faac6516a43fc0a1b5f92bf624a4e449 -> ../../vendor/typo3/cms-tstemplate/Resources/Public
│ └── faf19450e1010c05b9936b975b1457a6 -> ../../vendor/typo3/cms-impexp/Resources/Public
├── FIRST_INSTALL
├── index.php
├── info.php
└── typo3
├── index.php
└── install.php
The “typo3” folder no longer contains any directories, just two files. And in “vendor” it looks like this:
ls -l vendor/
total 96
-rw-r--r-- 1 www-data www-data 771 4. Nov 12:22 autoload.php
drwxr-xr-x 3 www-data www-data 4096 4. Nov 12:22 bacon
drwxr-xr-x 2 www-data www-data 4096 4. Nov 12:22 bin
drwxr-xr-x 3 www-data www-data 4096 4. Nov 12:22 christian-riesen
drwxr-xr-x 2 www-data www-data 12288 4. Nov 12:22 composer
drwxr-xr-x 3 www-data www-data 4096 4. Nov 12:22 dasprid
drwxr-xr-x 8 www-data www-data 4096 4. Nov 12:22 doctrine
drwxr-xr-x 3 www-data www-data 4096 4. Nov 12:22 egulias
drwxr-xr-x 3 www-data www-data 4096 4. Nov 12:22 enshrined
drwxr-xr-x 3 www-data www-data 4096 4. Nov 12:22 firebase
drwxr-xr-x 5 www-data www-data 4096 4. Nov 12:22 guzzlehttp
drwxr-xr-x 3 www-data www-data 4096 4. Nov 12:22 lolli42
drwxr-xr-x 3 www-data www-data 4096 4. Nov 12:22 masterminds
drwxr-xr-x 3 www-data www-data 4096 4. Nov 12:22 nikic
drwxr-xr-x 5 www-data www-data 4096 4. Nov 12:22 phpdocumentor
drwxr-xr-x 3 www-data www-data 4096 4. Nov 12:22 phpstan
drwxr-xr-x 12 www-data www-data 4096 4. Nov 12:22 psr
drwxr-xr-x 3 www-data www-data 4096 4. Nov 12:22 ralouphie
drwxr-xr-x 38 www-data www-data 4096 4. Nov 12:22 symfony
drwxr-xr-x 31 www-data www-data 4096 4. Nov 12:22 typo3
drwxr-xr-x 3 www-data www-data 4096 4. Nov 12:22 typo3fluid
drwxr-xr-x 3 www-data www-data 4096 4. Nov 12:22 webmozart
and
ls -l vendor/typo3
total 228
-rw-r--r-- 1 www-data www-data 459 4. Nov 12:22 alias-loader-include.php
-rw-r--r-- 1 www-data www-data 828 4. Nov 12:22 autoload-include.php
drwxr-xr-x 5 www-data www-data 4096 11. Okt 10:11 class-alias-loader
drwxr-xr-x 6 www-data www-data 4096 15. Okt 09:25 cms-backend
drwxr-xr-x 5 www-data www-data 4096 15. Okt 09:25 cms-belog
drwxr-xr-x 5 www-data www-data 4096 15. Okt 09:25 cms-beuser
drwxr-xr-x 2 www-data www-data 4096 15. Aug 2023 cms-cli
drwxr-xr-x 5 www-data www-data 4096 13. Aug 16:58 cms-composer-installers
drwxr-xr-x 7 www-data www-data 4096 15. Okt 09:25 cms-core
drwxr-xr-x 6 www-data www-data 4096 15. Okt 09:25 cms-dashboard
drwxr-xr-x 5 www-data www-data 4096 15. Okt 09:25 cms-extbase
drwxr-xr-x 6 www-data www-data 4096 15. Okt 09:25 cms-extensionmanager
drwxr-xr-x 6 www-data www-data 4096 15. Okt 09:25 cms-felogin
drwxr-xr-x 5 www-data www-data 4096 15. Okt 09:25 cms-filelist
drwxr-xr-x 5 www-data www-data 4096 15. Okt 09:25 cms-fluid
I’m now asking what is missing in “public/” or “public/typo3” that the installation cannot be completed? Because in my Lecagy version it looks like this:
/srv/www/www.example.com/public/typo3 # ls -l
total 12
-rw-r--r-- 1 www-data www-data 1609 15. Okt 09:35 index.php
-rw-r--r-- 1 www-data www-data 714 15. Okt 09:35 install.php
drwxr-xr-x 37 www-data www-data 4096 15. Okt 09:35 sysext
Best regards
James