PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, March 5, 2022

[FIXED] Can I change the update mode of a TYPO3 installation from composer to automatical?

 March 05, 2022     composer-php, typo3, upgrade     No comments   

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

I get the message

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!

  1. Backup your webspace and database! Really, don't skip this!
  2. rm -rf composer.* vendor/
  3. cd public (maybe your document root directory has a different name like web)
  4. wget --content-disposition https://get.typo3.org/10.4.5
  5. tar xzf typo3_src-10.4.5.tar.gz
  6. ln -s typo3_src-10.4.5 typo3_src
  7. rm -rf typo3 index.php
  8. ln -s typo3_src/typo3
  9. ln -s typo3_src/index.php
  10. Go to the TYPO3 Install tool (/typo3/install.php)
  11. Maintenance => Rebuild PHP Autoload Information => Dump autoload
  12. 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
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing