phpwcms icon indicating copy to clipboard operation
phpwcms copied to clipboard

Update documentation / autoupdate

Open tholu opened this issue 7 years ago • 2 comments

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 avatar Jan 31 '18 15:01 tholu

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?

tholu avatar Mar 21 '18 14:03 tholu

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

marcus-at-localhost avatar Mar 29 '18 16:03 marcus-at-localhost