Upgrading installed version

33 views
Skip to first unread message

Bill Pickett

unread,
Jul 13, 2015, 8:26:28 PM7/13/15
to wpn...@googlegroups.com
Hi, I'm new to WPN-XM and first of all would like to thank you for its development.

My question is: is there a method to upgrade the components of an installation without overwriting configuration and database information?  I've tried using the installer to install into the same directory as a previous installation but that doesn't produce the desired results, e.g. I end up with two folders "nginx" and "nginx-1.9.2" instead of a single upgraded "nginx."

Thank you for your time.

WPN-XM

unread,
Jul 14, 2015, 6:39:13 AM7/14/15
to wpn...@googlegroups.com, picket...@gmail.com
Hey Bill,

thank you for using WPN-XM and raising this issue.

>  Is there a method to upgrade the components of an installation without overwriting configuration and database information?

No, an "Upgrade" feature isn't implemented, yet.

I've added backup functionality for some configuration files. 
For instance, if "php.ini" is found, it's renamed to "php.ini.old". But that's it.

The database information is not handled at all.
This requires a database dump, followed by the upgrade (replace with newer version) and an import of the dump.

The two folder problem ("nginx" and "nginx-1.9.2") exists, because the rename command fails, if the target folder exists.
The installer needs to check, if it is an upgrade and switch from rename to copy.

I've opened a new issue over at your bugtracker to work on this feature. https://github.com/WPN-XM/WPN-XM/issues/441

Best, Jens

Bill Pickett

unread,
Jul 14, 2015, 11:31:11 AM7/14/15
to wpn...@googlegroups.com, wpn...@googlegroups.com
Thank you very much for the response.  I hope that an upgrade feature is eventually integrated.  The WPN-XM stack from what I've seen so far is top-notch.  An upgrade feature would round it completely out and make it simply the best there is!

Reply all
Reply to author
Forward
0 new messages