3.10 > 3.12 Data Directory Upgrade error

What does this mean?

    [root@matrix mysource_matrix]# php-cli scripts/upgrade_data_dirs.php -s . --start-upgrade --show-details
    *************************************************************************
    *    DON'T FORGET TO BACK UP YOUR SYSTEM BEFORE YOU RUN THIS SCRIPT     *
    *************************************************************************
    
    +-----------------------------------------------------+
    | Total 400 directories will be updated
    | Total 65 DB entries will be updated
    +-----------------------------------------------------+
    | Data Private      : 345
    | Data Public       : 18
    | File Repository   : 37
    | sq_file_vers_file : 47
    | sq_lookup         : 18
    | sq_lookup_value   : 0
    | sq_lookup_remap   : 0
    +-----------------------------------------------------+
    [START] /data/private/assets/page_standard
    [START] /data/private/assets/cvs
    ******************************************************************
    *             ERROR OCCURRED - Please check the log file
    ******************************************************************
    * [./data/private/assets/cvs/Root] Failed to copy the contents from the old directory to the new directory. [./data/private/assets/cvs/0000/Root].
    ******************************************************************
    
    +-----------------------------------------------------+
    | Result
    +-----------------------------------------------------+
    | Total 0 directories have been be updated
    | Total 0 DB entries have updated
    +-----------------------------------------------------+
    | Data Private      : 0
    | Data Public       : 0
    | File Repository   : 0
    | sq_file_vers_file : 0
    | sq_lookup         : 0
    | sq_lookup_value   : 0
    | sq_lookup_remap   : 0
    +-----------------------------------------------------+
    +-----------------------------------------------------+
    | Problem occurred during the upgrade.!
    +-----------------------------------------------------+
    | You can safely re-run the script, but please look at
    | the error messages and ./data/upgrade_data_dir_log.txtfile for
    | more details
    +-----------------------------------------------------+


upgrade_data_dir_log.txtfile shows:
    a:7:{s:44:"./data/private/assets/page_standard/0011/731";s:15:"directory moved";s:43:"./data/private/assets/page_standard/0011/47";s:15:"directory moved";s:44:"./data/private/assets/page_standard/0015/735";s:15:"directory moved";s:44:"./data/private/assets/page_standard/0018/756";s:15:"directory moved";s:44:"./data/private/assets/page_standard/0013/760";s:15:"directory moved";s:44:"./data/private/assets/page_standard/0009/333";s:15:"directory moved";s:44:"./data/private/assets/page_standard/0019/739";s:15:"directory moved";}


What I think is not happenig is that the new directory structure is not being created, as all my designs are still in their original place:

e.g /assets/design/55
and not in /assets/design/0010/55 as the folder 0010 isnot being crated and the 55 folder moved into it.

Looks like the CVS directories are getting in the way. Is there a reason they've gone lowercase?

No reason they are lowercase. I'll try the case thing again and see what happens

Fixed!


I found that in data/privat/assets and data/public/assets there were TWO cvs folders one called CVS and the other called cvs



I removed both folders with cvs in lower case and ran the script and it worked!



Question is why am I getting CVS and cvs folders?



Finally I could not reparse my design as I was getting a permission error which I’ve now corrected





3.12.0 is up and running :D’ /> - roll on 3.14 <img src=‘http://forums.matrix.squiz.net/public/style_emoticons/<#EMO_DIR#>/laugh.gif’ class=‘bbc_emoticon’ alt=’:lol: