Issue
I migrated a TYPO3 installation, that has been installed via Composer, to another webspace/hoster and now I want to run an update.
If I try to do this in the backend
[Login]>Admin tools>Upgrade>Update TYPO3 Core>Update Core
I get the message that I could update via Composer only and this information about a variable:
TYPO3_DISABLE_CORE_UPDATER=1
Now, can I change the update mode from Composer to automatical updates in the backend, p.e. by changing the variable (if yes, where)?
If nothing works, can I update manually?
I didn't find specific answers here or on google when searching for 'typo3 changing update/upgrade type/mode'.
Solution
I never tried to switch back from a composer based installation to the old school way of updating TYPO3 installations. If there is any chance to use composer at your new webhoster, you should do so! I'd never choose a webhoster who doesn't offer SSH. If you have SSH you can install composer manually if it's not provided.
I've tried this with a fresh TYPO3 10.4 installation and it seemed to work.
But these instructions come with no warranty!
- Backup your webspace and database! Really, don't skip this!
rm -rf composer.* vendor/
cd public
(maybe your document root directory has a different name like web)wget --content-disposition https://get.typo3.org/10.4.5
tar xzf typo3_src-10.4.5.tar.gz
ln -s typo3_src-10.4.5 typo3_src
rm -rf typo3 index.php
ln -s typo3_src/typo3
ln -s typo3_src/index.php
- Go to the TYPO3 Install tool (/typo3/install.php)
- Maintenance => Rebuild PHP Autoload Information => Dump autoload
- Maintenance => Flush TYPO3 and PHP Cache => Flush cache
But beware, I've not tested that with a full blown TYPO3 installation. After the switch you might need to reinstall all your extensions.
Answered By - Peter Kraume
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.