Move kartris system from one server to another

Posted By adnansattar00 Tue 19 Nov 2013
Add to Favorites0
Author Message
adnansattar00
 Posted Tue 19 Nov 2013
Supreme Being

Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)

Group: Forum Members
Last Active: Thu 2 Jan 2014
Posts: 4, Visits: 17
Hi

I need to move my kartris system from 1 server to another server, ideally what i want 100% same configuration on new server like currency+data, so i expect to do something like

1: copy my kartris folder (pointed in iis) and db to new server
2: do iis settings in new server and as well as attach that db
3: do db settings in web.config,

Is that all or im wrong?

if that is not work able then should i do according to section

2.4.4. Forcing the install routine to run again

in user guide (http://userguide.kartris.com/Default.aspx?headID=21)
?
Mart
 Posted Tue 19 Nov 2013
Top Banana

Top Banana - (98,163 reputation)Top Banana - (98,163 reputation)Top Banana - (98,163 reputation)Top Banana - (98,163 reputation)Top Banana - (98,163 reputation)Top Banana - (98,163 reputation)Top Banana - (98,163 reputation)Top Banana - (98,163 reputation)Top Banana - (98,163 reputation)

Group: Administrators
Last Active: Wed 18 Nov 2020
Posts: 148, Visits: 3,450
The process is pretty much as you have described.

Moving the database can be tricky. If you have a virtual/dedicated server the best way is create a db backup on old server, move this to new server and restore.

If you're using shared webhosting you probably have more restricted access to database. There may be an option to restore a backup, but often there is not. In this case you might want to use the data tool - setup a new client kartris database using the database creation scripts (or installing a new copy of kartris) and then use the data tool to import your data from old database.

Also when you've moved sites and do get the new one up and running remember to check that emailing from the site works (sometimes mail settings can vary on diffferent machines, especially if you have a specific IP address in your mailserver settings)
Tue 19 Nov 2013 by Mart
Paul
 Posted Tue 19 Nov 2013
große Käse

große Käse - (522,034 reputation)große Käse - (522,034 reputation)große Käse - (522,034 reputation)große Käse - (522,034 reputation)große Käse - (522,034 reputation)große Käse - (522,034 reputation)große Käse - (522,034 reputation)große Käse - (522,034 reputation)große Käse - (522,034 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
Another issue that might come up if you're moving between servers is SQL version. You can generally install a backup from an older version on a newer one. But not the other way around. And SQL 2008 R2 databases won't install on SQL 2008 for this reason (I spent a couple of hours trying for a customer a while back until I finally figured out the problem).

Your account passwords for admin accounts and users on the front end will remain the same and work fine as long as your web.config file has the same hashsalt value on the new site as on the old one (which if you copy everything across, it should do).


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
Tue 19 Nov 2013 by Paul
adnansattar00
 Posted Wed 20 Nov 2013
Supreme Being

Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)

Group: Forum Members
Last Active: Thu 2 Jan 2014
Posts: 4, Visits: 17
Thanks Paul and Mart, i will also check email settings. Let me explain a bit more 1 point I missed,

1: On old server and new server everything is same except url, (on old it was for testing)
2: I have full remote desktop access, so configured in IIS and db, all ok and connection string in web.config in new server.
3: On browsing new site (with new url) it was redirecting to old site. Angry
4: then I did 2 changes in web.config, a) put bad db name in connection string, b) commented globalization tag. (according to section 2.4.4. Forcing the install routine to run again, in user guide)
5: Then on browsing new site i got install routine wizard, completed this, all ok, just have to do currency settings. Now new site seems fine with new url and old data.

Is that all i needed to do in this case?
Wed 20 Nov 2013 by adnansattar00
Paul Marked As Answer
 Posted Wed 20 Nov 2013
große Käse

große Käse - (522,034 reputation)große Käse - (522,034 reputation)große Käse - (522,034 reputation)große Käse - (522,034 reputation)große Käse - (522,034 reputation)große Käse - (522,034 reputation)große Käse - (522,034 reputation)große Käse - (522,034 reputation)große Käse - (522,034 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
The site redirected because there is a config setting which holds the site's URL:

general.webshopURL

You can have multiple URLs mapped to a site within IIS, but the site will always redirect to the preferred one set up in this config setting if you access the site on a different URL.

The back end won't do this however (this is by design). It will work with any URL that can reach it. So you can access the back end like this:

http://www.newsiteurl.xyz/admin/

Once inside there, you can update the general.webshopurl to http://www.newsiteurl.xyz/

Now, the front end should work with http://www.newsiteurl.xyz/, without redirecting to the old URL.

You may need to clear your browser cache if it doesnt as browsers sometimes do seem to cache the redirection, so even after you change the settings, hitting the front page still redirects.


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
Wed 20 Nov 2013 by Paul
adnansattar00
 Posted Thu 21 Nov 2013
Supreme Being

Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)Supreme Being - (2,618 reputation)

Group: Forum Members
Last Active: Thu 2 Jan 2014
Posts: 4, Visits: 17
Thanks Paul, everything is fine now. Smile

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top