• I do presently have my blog upgraded to 2.6.3 but I still get the message that “Cleanup is not complete”. When I follow up on that I am directed to wpau-upgrade.class.php line 440

    Now elsewhere here I have seen reference to the ‘Cleanup’ being simply to remove backed-up files from Wau-backup folder, which were created during the Auto Upgrade process. But all I have in my Wau-Backup folder is an Index file containing the text ‘silence os golden’. Excuse lack of exact syntax here – but you get the thrust of what I am saying.

    Investigation of wpau-upgrade.class.php line 440 reveales:
    function cleanUpProcess() {
    if(file_exists(trailingslashit(ABSPATH) . WPAU_LOG_FILE)) {
    410 unlink(trailingslashit(ABSPATH) . WPAU_LOG_FILE);
    }
    if($dir = @dir($this->theDirToDoThings)) {
    @chmod ($this->theDirToDoThings, 0757);
    $this->recursive_remove_directory($this->theDirToDoThings);
    return true;
    }
    else {
    return false;
    }
    420 return false;
    }

    function recursive_remove_directory($directory, $empty=FALSE) {
    if(substr($directory,-1) == ‘/’) {
    $directory = substr($directory,0,-1);
    }
    if(!file_exists($directory) || !is_dir($directory)) {
    return FALSE;
    430 }
    elseif(is_readable($directory)) {
    $handle = opendir($directory);
    while (FALSE !== ($item = readdir($handle))) {
    if($item != ‘.’ && $item != ‘..’) {
    $path = $directory.’/’.$item;
    if(is_dir($path)) {
    $this->recursive_remove_directory($path);
    }
    else{
    440 unlink($path);

    So WHAT do I need to manually “Clean Up” in order to be able to use the Automatic Upgrade at a future date when for instance, 2.7.- is automated???

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter wenu

    (@wenu)

    No answer?

    Thanks GUYS!

    Thread Starter wenu

    (@wenu)

    I suppose I should add, now that 2.6.5 is automated, you guessed it! Even though 2.6.3 was accepted as UPGRADED, it still gives me the above error message.

    “We are not impressed.”

    Well, besides the fact that a manual upgrade is preferred over the WPAU plugin, isn’t there just a button saying: “cleanup was not completed click here” or something? This message can be either of the plugin or of WP itself.
    And when talking about the backup folder, there are or have been some problems with that folder of this plugin, since it turns out to be ‘world writable’ and hard to delete.
    But my guess too would be to delete the backup folder, but I don’t know the details.

    Thread Starter wenu

    (@wenu)

    Yes, it Does say ‘Click here” – and when I do that it rotates back to where it started, with the same error message.
    I have been tempted to delete the ‘file’ – I think Uploading the folder was part of installing the Auto Upgrade Instructions.

    I’ll change the filename and try again.

    Thanks for the reply though. I was getting lonely.

    The plugin keeps saying to clean up, when when you’ve been somewhere else in the admin, the WP message doesn’t go away? (Or use that message to clean up.)

    Thread Starter wenu

    (@wenu)

    Nuuuu
    When I got as far as changing the actual Folder it freaked. Was no change just from changing the file.

    If I knew what it wants I would do it. I tried several Permission codes – it’s (index.html) at 644 at the moment.

    My problem is that, when I went repeatedly to all the trouble of manually replacing all the files – it didn’t work. Log-in was dead as a maggot. When instead I just updated the 4 essential files, it let me upgrade OK but still had this Error message about cleaning up stuff I left behind – and the file it points to is just an html. ggrrr

    Blog works OK otherwise – just takes a whole day to upgrade and then doesn’t work. So I’ll stay at 2.6.3

    Thanks neway.

    I just updated the 4 essential files

    There’re five!

    Have you tried disabling and maybe even deleting WPAU? Maybe that can show if the message comes from the plugin or from WP. Then again, the plugin has a habbit of changing files and when it crashes, the files are not changed back. That way it keeps many people in maintenance mode. I guess only the author of the plugin knows what files are changed, etc……..

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Cleanup WHAT?’ is closed to new replies.