by
Divian » Tue Dec 08, 2015 2:29 am
Thanks got it working.
A small guide for people struggling towards an upgrade as I think it might come in handy...
Be sure to read through at least once before doing anything!
ALWAYS BE CERTAIN TO CREATE A BACKUP OF YOUR SITE DATA AND DATABASE!!!
moving on...
The easiest way seemed like a mixture of a new install and an upgrade:0. just in case: CREATE A BACKUP OF SITE AND DATABASE.
1. Log into your current couch admin panel and run "gen_dump.php" from your old release (eg.
http://www.mytestsite.com/couch/gen_dump.php) and download the generated file "install_ex.php". more info
here1. download the newest release from couch
here2. rename the couch folder (the latest release you just downloaded) to something like "couch_upgrade"
3. insert "install_ex.php" from step 1 into the folder "couch_upgrade".
4. ftp the folder "couch_upgrade" to the hosting server (next to the current "couch" install folder). As a reminder: The exact name may vary depending if you renamed this.
5. Once all is uploaded, copy the folders: "snippets" and "uploads" and the files: "config.php" and "favicon.ico" from the original and current folder "couch" to the "couch_upgrade" folder. (replace all if asked).
6. rename the current folder "couch" to "couch_old" (tip: You can use the version number as a suffix to keep track if needed for a rollback).
7. rename the "couch_upgrade folder" to "couch" (or whatever name the original folder was).
8. Be sure the "index.php" is renamed as well in case this was called different as a safety measure. (You can double check in the config.php file if needed).
- Code: Select all
// 1b.
// For security purpose, the 'index.php' file of Couch can be renamed to anything else.
// If you do so, uncomment the following line and enter the new name.
define( 'K_ADMIN_PAGE', 'newIndexName.php' );
9. Access the admin section through your browser -
http://www.mytestsite.com/couch/10. Install couch (info
here) and a new version will be installed with your old data in the database. CAUTION: It might be you have to delete everything from the database before the new data is added.
HOWEVER I advise to create a new clean database with the necessary logindata and alter the config.php towards the new credentials. Doing this, you will be certain you have a fallback towards your old data if you want to change between versions.
Hope it helps, as it seemed the only way for me to get things up and running correctly going from v1.4 towards v1.4.7.
Thanks to KK and trendoman...