Fresh install, is it really that easy?

Im trying to update from 2.0.15 to 2.1.0 but it keeps timing out.



Should I just keep what I have or do a fresh install?





The site is not to busy, so having it down for a few hours wont be a killer.

Timing out means limited server resources.Go with a fresh one if you haven’t got much to customise and export. Many times, this is the quickest way instead of trying to resolve all conflicts and glitches after you update. And it’s more stable.

For fresh copy installation, if you wish to have as little downtime as possible and still keep what you have, what I have done is to download and recreate the 2.0.15 version of the store locally via wamp (database backup, restore database in local v2.0.15 copy). Then upgrade to v2.1.x locally. Since you are doing it locally, your live store and its data should not be affected.



After the upgrade is done, do a full database backup from the upgraded local version…



Install a fresh copy of v2.1.1 at your server in another directory eg. http://example.com/

Upload any customisations, modified files you have.

Upload and restore the database you have backup previously…

Test that the store is working/performing fine. (via http://example.com/)

After checking it through, just do some renaming for the directories:

  • original live store directory → rename to any name
  • v2.1.1 copy in → rename to original live store directory name

    Update your config.local.php contents, to reflect the accurate store path.



    Maximum downtime for this method for your live store is just the time when you rename the directories, and update your config.local.php file.

I have never been successful installing it on a local server, but I do have a temp domain setup.



I’ll install a fresh copy of 2.0.15, restore my database, then upgrade.



Make a backup, then restore it on a fresh copy of 2.1.2. :slight_smile:

Just tried upgrading from 2.0.15 to 2.1.1 , now I cant get into the site… :frowning:





Database error: Unknown column ‘object_holder’ in ‘field list’ (1054)

Invalid query: SELECT object_holder, description FROM cscart_common_descriptions WHERE object_id = 0 AND lang_code = ‘EN’



Backtrace:

File: /home/ndieringer/derbysmack.com/core/fn.database.php

Line: 310

Function: db_error

File: /home/ndieringer/derbysmack.com/core/fn.database.php

Line: 245

Function: db_query

File: /home/ndieringer/derbysmack.com/core/fn.common.php

Line: 3056

Function: db_get_hash_single_array

File: /home/ndieringer/derbysmack.com/core/fn.init.php

Line: 152

Function: fn_get_manifest

File: /home/ndieringer/derbysmack.com/init.php

Line: 153

Function: fn_init_templater

File: /home/ndieringer/derbysmack.com/admin.php

Line: 23

Function: require

Ok, I changed my DB permissions to ALTER priviledges



Now the site works after I resorted the DATABASE, but non of my links are working…



TEST SITE = [url]http://www.rentajoe.com/[/url]



LINK TO CATEGORY= [url]http://www.rentajoe.com/plates/[/url] (DEAD)





I made sure the SEO is turned on… I would like to make sure the site works before I upgrade

Ok, I got my database setup in 2.1.1 with no problems



Im running on a fresh copy of 2.1.1 but I can not get my SEO to work



Links are changing, but they are all broken. My .HTACCESS looks like this,.



```php

RewriteEngine on

Some hostings require RewriteBase to be uncommented

Example:

Your store url is http://www.yourcompany.com/store/cscart

So “RewriteBase” should be:

RewriteBase /store/cscart

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php?sef_rewrite=1 [L,QSA]



RewriteCond %{REQUEST_FILENAME} ./catalog/.

RewriteCond %{REQUEST_FILENAME} -d

RewriteCond %{REQUEST_FILENAME}/index.html !-f

RewriteRule . index.php?sef_rewrite=1 [L,QSA]



```