slackero / phpwcms

Flexible, fast, powerful, customer, developer friendly web content management system and cms framework
http://www.phpwcms.org
GNU General Public License v2.0
92 stars 45 forks source link

Update documentation / autoupdate #233

Open tholu opened 6 years ago

tholu commented 6 years ago

How do I upgrade an existing installation of phpwcms to the latest version? This is an essential part of every software and I would like to see some regularly updated official documentation, ideally as UPDATE.md in the repository or at least in the Github Wiki.

Perfect would be an autoupdater similar to what Wordpress does.

tholu commented 6 years ago

Some links to recent questions and answers/hints about the update process, I'll try to extract some information from it:

  1. Backup your files and database

  2. Download current distribution as zip-file from Github

  3. Use FTP/SCP to replace your current files (be careful with files probably modified by yourself in /template/inc_default and /template/inc_cntpart)

  4. Login to the backend (database is automatically updated since version x.x.x)

  5. Manually update conf.inc.php by comparing to dist.conf.inc.php https://forum.phpwcms.org/viewtopic.php?t=24371

  6. Never use [PHP] anymore, replace such usages https://forum.phpwcms.org/viewtopic.php?t=24839

@slackero What do you think, anything missing?

marcus-at-localhost commented 6 years ago

I wouldn't replace template at all, instead compare with winmerge what is missing.