logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
sweeperqb  
#1 Posted : Friday, March 12, 2021 4:18:41 PM(UTC)
sweeperqb

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 5/30/2020(UTC)
Posts: 125

Thanks: 14 times
Was thanked: 3 time(s) in 3 post(s)
Beginning to work on migrating one of our stores from AC 7.0.7 to AC 9.0.3. When you export the key from AC7, you get two keypart.bin files. When you import in AC9, it is only asking for 1 file. What is the correct way to import the Encryption Key?

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

Joe Payne2  
#2 Posted : Monday, March 15, 2021 6:29:13 AM(UTC)
Joe Payne2

Rank: Advanced Member

Groups: HelpDesk, Developers
Joined: 11/9/2018(UTC)
Posts: 564

Thanks: 122 times
Was thanked: 26 time(s) in 25 post(s)
There was the same problem in Able Gold. Gold only imported 1 key file but AC7 exported two files. Try using just the first bin file.
sweeperqb  
#3 Posted : Monday, April 12, 2021 8:58:34 AM(UTC)
sweeperqb

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 5/30/2020(UTC)
Posts: 125

Thanks: 14 times
Was thanked: 3 time(s) in 3 post(s)
Joe, sorry, I missed this reply from almost a month ago. Thanks for the suggestion. I am a bit nervous about trying it because both bin files are different and I don't want to do anything to corrupt the data or make it unreadable. Is there a way to combine the bins? Would copying the ~/App_Data/encryption.config to the new site be the equivalent of uploading the keypart bin files?
mazhar  
#4 Posted : Monday, April 12, 2021 11:47:24 AM(UTC)
mazhar

Rank: Administration

Groups: Admin, Administrators, HelpDesk, System, Authorized User, Developers, Registered
Joined: 10/5/2018(UTC)
Posts: 175

Thanks: 8 times
Was thanked: 17 time(s) in 15 post(s)
How you managed to migrate from AC7 to AC 9.0.3? This must require an indirect path before 9.0.4 where you have to upgrade to gold r12. Then upgrade the r12 install to 9.03. If that's the path you took then you must backup the key again when migrating from gold r12 to 9.0.3. This way you can combine the multiple keys into a single key when you export back from gold.

In 9.0.4 we are supporting a direct restore from 7.0.3 to 9.0.4 but looks like we missed the ability to restore multiple keys as they were in gold. I am going to open a new report to look into this.
mazhar  
#5 Posted : Tuesday, April 13, 2021 8:14:59 AM(UTC)
mazhar

Rank: Administration

Groups: Admin, Administrators, HelpDesk, System, Authorized User, Developers, Registered
Joined: 10/5/2018(UTC)
Posts: 175

Thanks: 8 times
Was thanked: 17 time(s) in 15 post(s)
Here is a PowerShell script to combine the backup key parts into a single backup file.
  1. Place the combine.ps1, keypart1.bin, and keypart2.bin into a directory on your computer.
  2. Right-Click combine.ps1 script and choose to Run With PowerShell
  3. Once the script finishes, it will generate a key.bin file in the same directory.
  4. Use this newly generated key.bin file to restore the encryption key in AbleCommerce9.

You can download the PowerShell script from here. The detailed instructions along with MD5 hash for the this download can be seen here.

Edited by user Wednesday, April 14, 2021 2:33:00 AM(UTC)  | Reason: Not specified

thanks 1 user thanked mazhar for this useful post.
sweeperqb on 4/14/2021(UTC)
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.