Author Topic: Server Migration  (Read 2266 times)

Offline AromeCity

  • Newbie
  • *
  • Posts: 45
  • Karma: +2/-2
    • View Profile
Server Migration
« on: November 21, 2023, 07:12:52 PM »
Hi,

We have to recently change VPS servers so we copied over AbanteCart cart Shop files, databases etc. to the new server but now the shop is not loading anymore.

We used WHM server copy feature which creates an exact replica of old cart on the new server along with databases etc. Checked everything and all files are there.

The only thing has changed its the new server IP address is different then the old server IP address.

Domain is pointing to the new server.

PHP 8.1 is enabled.

Will this require /System/config.php file to be update with some new values?? If yes, what needs to be changed?

Any suggestions on how to troubleshoot this problem?

Shop URL is www.aromecity.com/shop

Thanks
« Last Edit: November 21, 2023, 07:24:28 PM by AromeCity »

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Server Migration
« Reply #1 on: November 21, 2023, 08:31:48 PM »
Hi AromeCity,

What is the version of AbanteCart you migrate?
Was web server configured correctly with web root pointing to  public_html?
Was database host/name/u/p changed and configured?
What is the error that you get?

Most likely something changed and you need to update /system/config.php


Check this post that has some help with migration:
https://forum.abantecart.com/index.php/topic,426.0.html
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline AromeCity

  • Newbie
  • *
  • Posts: 45
  • Karma: +2/-2
    • View Profile
Re: Server Migration
« Reply #2 on: November 21, 2023, 10:54:22 PM »
Hi,

Version is 1.3.4

Web server is fine as the normal web site www.AromeCity.com loads fine and all other sites on the server.

Database host/name/u/p nothing has changed. Same as old one.

there is no error. I have provided the link before, try yourself www.aromecity.com/shop there is nothing being displayed and no error message.

I have already read the other thread, its not providing any troubleshooting tips. It suggest to re install Abantecart which I can't do. we will loose all the configuration.

In the config file what is the significance of these variables and what defines them?

define('ADMIN_PATH',

define('SALT', 'gnPt');

define('UNIQUE_ID',

define('ENCRYPTION_KEY',
« Last Edit: November 21, 2023, 11:02:24 PM by AromeCity »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5798
  • Karma: +274/-2
    • View Profile
Re: Server Migration
« Reply #3 on: November 22, 2023, 02:14:44 AM »
Hello.
Please read "Move to another hosting" guide https://abantecart.atlassian.net/wiki/spaces/AD/pages/22511620/Changing+Domain+Name#ChangingDomainName-Movetoanotherhosting

The SALT and ENC KEY are related to the password and other encrypted data stored in the database

Offline AromeCity

  • Newbie
  • *
  • Posts: 45
  • Karma: +2/-2
    • View Profile
Re: Server Migration
« Reply #4 on: November 25, 2023, 01:13:18 AM »
Hi,

Before I would to try to restore the old shop on to the new server, I tried to do a fresh install of AbanteCart under a different folder ( v1.3.1) and same issue nothing will load. Neither the store front "or" admin panel.

www.AromeCity.com/shop2

As this is a new server, how do I check to make sure server is configured correctly?

My SQL is working fine. PHP is fine. GD is enabled,

Is there anything else needs to be enabled on the server?

Also, I checked the config.php file under shop2/system/config.php and noticed the following variable havea  different value compare to old server.

define('SALT', 'WGhg');

The old server file had

define('SALT', 'gnPt');

Not 100% sure how this effects the install?

Thanks
« Last Edit: November 25, 2023, 02:41:55 AM by AromeCity »

Offline AromeCity

  • Newbie
  • *
  • Posts: 45
  • Karma: +2/-2
    • View Profile
Re: Server Migration
« Reply #5 on: November 28, 2023, 12:39:28 PM »
Can anyone help? Our entire store is down.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5798
  • Karma: +274/-2
    • View Profile
Re: Server Migration
« Reply #6 on: November 29, 2023, 03:20:26 AM »
Can anyone help? Our entire store is down.

Hello. You can start from this list https://forum.abantecart.com/index.php/topic,3197.0.html and contact the hosting provider
« Last Edit: November 29, 2023, 03:22:14 AM by Basara »

 

Powered by SMFPacks Social Login Mod