v2 to v3 Upgrade Bug List

Read 25116 times
Ran the utility and it is looking for ccmanage.php in the downloaded export22x folder. I manually modified the path to show /home/centovacast/system (which it should just be set to anyways).

The sqls export, then it moves on to the following error (changed the account name for privacy):

Code: [Select]
Exporting account data via local copy ...

Exporting account bxxxxs ...
cp: cannot stat `index.html/*': Not a directory
Error copying files for account bxxxs
Stream101 || Affordable Media Solutions
http://www.stream101.com | (616) 277-7280
Ran the utility and it is looking for ccmanage.php in the downloaded export22x folder. I manually modified the path to show /home/centovacast/system (which it should just be set to anyways).
Exactly how is that manifesting?  It should never look for ccmanage.php in the export22x directory -- it should look for it in the parent directory, which should be /home/centovacast/system, which is where ccmanage.php SHOULD exist.

Are you sure you're following the instructions and putting the export22x directory under /home/centovacast/system?  (eg: the complete path should be /home/centovacast/system/export22x).  It sounds like you're putting it elsewhere.


The sqls export, then it moves on to the following error (changed the account name for privacy):
This could be a bug, but more likely it's the result of you putting the export22x directory in the wrong place.  It MUST be in /home/centovacast/system/export22x or the export will fail in exactly the manner you described, because the utility has no other way of knowing where CCv2 is installed.
Are you sure you're following the instructions and putting the export22x directory under /home/centovacast/system?  (eg: the complete path should be /home/centovacast/system/export22x).  It sounds like you're putting it elsewhere.

The sqls export, then it moves on to the following error (changed the account name for privacy):
This could be a bug, but more likely it's the result of you putting the export22x directory in the wrong place.  It MUST be in /home/centovacast/system/export22x or the export will fail in exactly the manner you described, because the utility has no other way of knowing where CCv2 is installed.

The path is: /home/centovacast/system/export22x. I redid the whole process without modifying the path to /home/centovacast/system and I get this every time:

Quote
Unable to locate Centova Cast files.

The export directory should be placed under your Centova Cast system directory,
eg: /home/centovacast/system/export
Also PWD
Quote
[root@cloud1 export22x]# pwd
/home/centovacast/system/export22x
Stream101 || Affordable Media Solutions
http://www.stream101.com | (616) 277-7280
Here is what I did to make at least the first part work the last time.

Quote
HERE=$(dirname $0)
cd $HERE
[ -f /etc/ccbuild_uname ] && HERE=/home/ccstable/system/export
SYSTEM_PATH=$(dirname $HERE)

TO

Quote
HERE=$(dirname $0)
cd $HERE
[ -f /etc/ccbuild_uname ] && HERE=/home/ccstable/system/export
SYSTEM_PATH=/home/centovacast/system
Stream101 || Affordable Media Solutions
http://www.stream101.com | (616) 277-7280
Ahh, thank you -- you were right, I was wrong.  A new, fixed build will be on the download server in about 5 minutes.
TOLD YOU SO! (Just kidding!) Just trying to help out as much as I can!
Stream101 || Affordable Media Solutions
http://www.stream101.com | (616) 277-7280
Much appreciated. :)  Any further problems, let us know!
Still getting the copying issue:

Code: [Select]
Exporting account data via local copy ...

Exporting account bxxxxxs ...
cp: cannot overwrite directory `/usr/local/centovacast/var/vhosts/_226import/bxxxxxs/index.html' with non-directory
Error copying files for account bengeens (/home/centovacast/vhosts//bxxxxxs/index.html)
[/quote]
Stream101 || Affordable Media Solutions
http://www.stream101.com | (616) 277-7280
If the import process fails you have to reinstall v3 and try again.  The above error is because the previous half-copied account still exists in v3.  (Technically you could try just removing /usr/local/centovacast/var/vhosts/_226import instead of reinstalling since it failed so early in the process, and it should probably still work... but safest bet is to reinstall v3 using the automated reinstallation script noted in the sticky.)


Gotcha. Trying that now!
Stream101 || Affordable Media Solutions
http://www.stream101.com | (616) 277-7280
Reinstalled,

More errors:
Quote
cp: cannot create link `/usr/local/centovacast/var/vhosts/_226import/bxxxxs/va                                                                                                                               r/spool/ondemand/_covers/promo_only_country_radio_june_67fe385f.jpg': Invalid cr                                                                                                                               oss-device link
Stream101 || Affordable Media Solutions
http://www.stream101.com | (616) 277-7280
Ahh, you're copying between partitions and apparently cp doesn't fall back gracefully from hardlinking to a standard copy.  Our same-server upgrade testing was done on virtual machines which only have a single disk and partition, so this issue didn't arise on those.

There's a new build on the download server now that detects and handles this -- thanks for your patience!
New error:

Code: [Select]
Exporting account bxxxs ...
cp: cannot stat `var': No such file or directory
Error copying database dump for account bxxxs
Stream101 || Affordable Media Solutions
http://www.stream101.com | (616) 277-7280
Grr, most of these are turning out to be silly little errors that are just unique enough to not show up in our own testing.  Once again, this is fixed and a new build is up on the download server... thanks!
I suppose thats what beta testing is, huh? You must be seeing a lot of server traffic from me lol
Stream101 || Affordable Media Solutions
http://www.stream101.com | (616) 277-7280