Jump to content

CCv3 to CCv4 on another server?


EbelTech

Recommended Posts

I am trying to move a V3 cart to a new server and also install V4 because the CanadaPost module for V3 seems to have vanished.

I tried to follow the "Move V3 to another server" instructions, which seemed to go okay.

But when did the upgrade to V4 instructions, it wiped the database.

Should I just go through the whole move & upload & upgrade all over again?

One wrinkle - my cpanel will install v3, which I did. Was this a mistake? Should I install from the archive?

And then, the file manager won't overwrite on file extract from the zip, so I deleted everything except the upload/images file for the upgrade to V4. I thought it said upgrade, but when I tried to do it again today, it only was an Install, not an upgrade. Was this a mistake too?

Do I need to FTP up everything in V4 one at a time (I have horrible upload speed for multiple files) instead of upload "zip and extract".

Thanks for any advice!

Link to comment
Share on other sites

You should move your old installation first and make sure it is working correctly on the new server before you go ahead with the upgrade. Once its working as it should, take another backup and the carry out the upgrade, personally I would ftp all the files and not extract the zip. You have to see the offer to upgrade as you install, otherwise you done something incorrectly.

Link to comment
Share on other sites

I did all that (well, except the backup of v3 on the new server - I thought of that too late) and I did get the upgrade offer, the first time at least.

It did move fine and was working exactly as anticipated, but after the "upgrade" everything was gone. I guess I'll have to try the FTP instead.

Thanks.

Link to comment
Share on other sites

One trick I've found to get around the horrible "multiple file upload speed" is to zip the files together, upload the zip file, and then use the CPanel File Manager to unzip the files again. One benefit of this is that you're more likely to have a successful upload. I've had several experiences where uploading multiple files didn't work right because one or more files were corrupted during the upload.

The reason multiple files take longer is because of all the communication that goes on to identify which file is being transferred and other "housekeeping" chores between files.

You don't want to upload the zip file you get directly from Develion because it includes more than is needed to upload to the server. Unzip the file on your computer, then re-zip the files in the upload folder. This final zip file is the one you want to upload to the server and unpack there.

Regarding the move and upgrade process - as long as you do it all in a space that is not being used for your live store, it doesn't matter if you upgrade first and then move to the new server or move first and then upgrade. Either way, you want to do it one step at a time and make sure each step reaches a satisfactory conclusion before taking the next step.

When i upgraded from CC3 to CC4, I had a LOT of mods installed, and even so, the upgrade process went smooth. Just follow the instructions one step at a time and don't try to cut any corners.

If you're ending up with "everything gone", then as Ausy said, you've done something incorrectly.

Beyond that, there are plenty of posts here to help you with either of the 2 steps.

Oh, and about installing from Fantastico, it's generally agreed that it's better to install from the archive than from Fantastico, especially if you plan to make any modifications. Fantastico is great when you're testing things out or just want to use a script "as is" without making any modifications.

Link to comment
Share on other sites

  • 2 weeks later...

Thanks Alan, didn't see the reply until today! Having more issues.

[edit] Oh! About the configuration file - the field about whether it's a new or existing install should say "1" (existing) for an upgrade, I assume?

Eschewing the Fantastico install (as you actually suggested) I did a straight original install, but I'm getting a problem with the version 3 admin backend - the entire menu system is flaked out - nothing shows except the initial (inside) panel. The files seem to be there, so I'm not sure why it can't find them - maybe a base ref or file permission or something. Arg. BTW, the permissions are 644, that should be good, shouldn't it for these includes?

Warning: include_once(/classes/db.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/examplesite/public_html/store/admin/includes/auth.inc.php on line 60</P> <P>Warning: include_once() [function.include]: Failed opening '/classes/db.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/examplesite/public_html/store/admin/includes/auth.inc.php on line 60</P> <P>Warning: include(/admin/includes/navigation.inc.php) [function.include]: failed to open stream: No such file or directory in /home/examplesite/public_html/store/admin/includes/header.inc.php on line 57</P> <P>Warning: include() [function.include]: Failed opening '/admin/includes/navigation.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/examplesite/public_html/store/admin/includes/header.inc.php on line 57

One trick I've found to get around the horrible "multiple file upload speed" is to zip the files together, upload the zip file, and then use the CPanel File Manager to unzip the files again.

[...]

The reason multiple files take longer is because of all the communication that goes on to identify which file is being transferred and other "housekeeping" chores between files.

Exactly. The only problem is that the cpanel extract will not overwrite any existing files and there don't seem to be options to change that. I'd use the shell but in other apps I have had permission problems since the owner is not the webuser.

You don't want to upload the zip file you get directly from Develion because it includes more than is needed to upload to the server. Unzip the file on your computer, then re-zip the files in the upload folder. This final zip file is the one you want to upload to the server and unpack there.

An important point... but that leaves me wondering how to tell which ones. I followed the instructions about which folders to delete but as mentioned, something went wrong. As far as I recall, everything should be uploaded except the config file. I shall check shortly.

Regarding the move and upgrade process - as long as you do it all in a space that is not being used for your live store, it doesn't matter if you upgrade first and then move to the new server or move first and then upgrade.

Yes, iI was fine with that. Thankfully I am moving to another host for it.

Ok, off to go through it yet again and try to find what's going wrong. Thanks for the suggestions.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...