Forum Replies Created

Viewing 15 replies - 16 through 30 (of 36 total)
  • Forum: Plugins
    In reply to: [CYAN Backup] Backup Failed
    Thread Starter clart

    (@clart)

    Here it is ;

    [2014-03-13 19:48:07] emalloc: 22373708 total: 22806528
    [2014-03-13 19:48:07] Archiving files…
    [2014-03-13 19:48:07] emalloc: 22131364 total: 22806528
    [2014-03-13 19:48:07] Using ZipArchive class.
    [2014-03-13 19:48:07] emalloc: 22132572 total: 22806528
    [2014-03-13 19:48:07] Archiving /homepages/35/d30352212/htdocs/winton/blogs…
    [2014-03-13 19:48:07] emalloc: 22374888 total: 22806528
    [2014-03-13 19:48:07] Archiving /homepages/35/d30352212/htdocs/winton/blogs/media…
    [2014-03-13 19:48:07] emalloc: 22374924 total: 22806528

    Forum: Plugins
    In reply to: [CYAN Backup] Backup Failed
    Thread Starter clart

    (@clart)

    I put the changes in the file, cleared the archive flag and temp files and ran backup again.
    It failed proper this time, no zip file, no email.

    First few lines of the log file;
    [2014-03-13 19:47:33] Calculating backup size…
    [2014-03-13 19:47:33] emalloc: 21443652 total: 21757952
    [2014-03-13 19:47:35] Backup started, processing SQL tables…
    [2014-03-13 19:47:35] emalloc: 22125492 total: 22806528
    [2014-03-13 19:47:35] Processing wsc_ai1ec_event_category_colors…
    [2014-03-13 19:47:35] emalloc: 22221920 total: 22806528
    [2014-03-13 19:47:35] Processing wsc_ai1ec_event_feeds…
    [2014-03-13 19:47:35] emalloc: 22133952 total: 22806528
    [2014-03-13 19:47:35] Processing wsc_ai1ec_event_instances…
    [2014-03-13 19:47:35] emalloc: 22133928 total: 22806528

    Last few lines of the log file;
    [2014-03-13 19:48:09] emalloc: 22374932 total: 22806528
    [2014-03-13 19:48:09] Archiving /homepages/35/d30352212/htdocs/winton/index.php…
    [2014-03-13 19:48:09] emalloc: 22374924 total: 22806528
    [2014-03-13 19:48:09] Archiving /homepages/35/d30352212/htdocs/winton/backup…
    [2014-03-13 19:48:09] emalloc: 22374928 total: 22806528
    [2014-03-13 19:48:09] Archiving /homepages/35/d30352212/htdocs/winton/wp-phpinfo.php…
    [2014-03-13 19:48:09] emalloc: 22374924 total: 22806528
    [2014-03-13 19:48:09] Archiving /homepages/35/d30352212/htdocs/winton/makezip.php…
    [2014-03-13 19:48:09] emalloc: 22374932 total: 22806528
    [2014-03-13 19:48:09] Archiving /homepages/35/d30352212/htdocs/winton/plugins…
    [2014-03-13 19:48:09] emalloc: 22374932 total: 22806528
    [2014-03-13 19:48:09] Archiving SQL dump…
    [2014-03-13 19:48:09] emalloc: 22132768 total: 22806528

    status.log contains this;
    71
    Archiving SQL dump…
    active
    /homepages/35/d30352212/htdocs/winton
    2014-03-13 19:48:090

    Forum: Plugins
    In reply to: [CYAN Backup] Backup Failed
    Thread Starter clart

    (@clart)

    I have pruned all my site of unused plugins, themes, unnecessary language files, etc to get to the minimum currently in use.

    Theses are all the plugins installed;

    wp-content/plugins/1-flash-gallery
    wp-content/plugins/add-multiple-users
    wp-content/plugins/akismet
    wp-content/plugins/all-in-one-event-calendar
    wp-content/plugins/all-in-one-seo-pack
    wp-content/plugins/bbpress
    wp-content/plugins/contact-form-7
    wp-content/plugins/cyan-backup
    wp-content/plugins/editor-lock-by-wisdmlabs
    wp-content/plugins/flash-gallery
    wp-content/plugins/front-end-editor
    wp-content/plugins/gallery-slider
    wp-content/plugins/google-sitemap-generator
    wp-content/plugins/gtranslate
    wp-content/plugins/gtw
    wp-content/plugins/hide-admin-bar-from-non-admins
    wp-content/plugins/m-vslider
    wp-content/plugins/memberfindme
    wp-content/plugins/paid-memberships-pro
    wp-content/plugins/participants-database
    wp-content/plugins/pmpro-check-levels-master
    wp-content/plugins/pmpro-extra-expiration-warning-emails-master
    wp-content/plugins/pmpro-international-addresses
    wp-content/plugins/pmpro-register-helper
    wp-content/plugins/pmpro-user-pages
    wp-content/plugins/really-simple-captcha
    wp-content/plugins/s2member-files
    wp-content/plugins/s2member-logs
    wp-content/plugins/si-contact-form
    wp-content/plugins/solid-code-theme-editor
    wp-content/plugins/theme-my-login
    wp-content/plugins/wordpress-importer
    wp-content/plugins/wp-multibyte-patch
    wp-content/plugins/wp-native-dashboard
    wp-content/plugins/wp-user-frontend
    wp-content/plugins/wptouch

    I have selectively excluded / included each one of them whilst trying the backup each time.

    I have got the list down to just 3 exclusions;

    wp-content/plugins/all-in-one-event-calendar/
    wp-content/plugins/front-end-editor/
    wp-content/plugins/1-flash-gallery/

    If I include any one of those, the backup fails and no zip file is completed.

    At the moment, with those excluded, the backup is kind of on the fence, meaning that it will run and complete the zip file but it throws an internal server error and backup failed message. I can download and unzip the file ok and it send the backup ok email.
    The backup.active file is still there and the status.log shows this;

    96
    Deleting /homepages/35/d30352212/htdocs/winton/backup/winton.20140313.164706/winton/wp-includes/css/jquery-ui-dialog.css…
    active
    /homepages/35/d30352212/htdocs/winton/backup/winton.20140313.164706.zip
    2014-03-13 16:47:220

    Each one of those 3 plugins excluded has more files than any of the others.
    Maybe its the number of files causing the problem ?

    Thread Starter clart

    (@clart)

    Hi,

    Thanks for the reply and the heads up, I am a developer so should be able to handle some customisations ok.

    I already have Register Helper installed and setup with extra fields.

    I just need to know how to make a paid level only show up based upon specific usermeta data.

    Can you tell me where do I need to customise to achieve that ?

    Thanks.

    Forum: Plugins
    In reply to: [CYAN Backup] Backup Failed
    Thread Starter clart

    (@clart)

    It may benefit with an option to maybe view and /or at least list and delete the log files, as they cannot be noticed unless using FTP.

    In my case, with trial and error exclusions to pinpoint the cause of the fail, the log files tend to build up and take up space;

    winton/backup/winton.20140311.131703.log 2,163,681 Text Document
    winton/backup/winton.20140311.133258.log 2,163,681 Text Document
    winton/backup/winton.20140311.133907.log 2,163,681 Text Document
    winton/backup/winton.20140311.134146.log 2,163,681 Text Document
    winton/backup/winton.20140311.140008.log 2,163,681 Text Document

    Forum: Plugins
    In reply to: [CYAN Backup] Backup Failed
    Thread Starter clart

    (@clart)

    Installed 1.6.4 went into options. cleared status and delete files, click on update and get this message;

    Fatal error: Call to undefined method CYAN_Utilities::recursive_rmdir() in /homepages/35/d30352212/htdocs/winton/wp-content/plugins/cyan-backup/includes/class-cyan-utilities.php on line 40

    Forum: Plugins
    In reply to: [CYAN Backup] Backup Failed
    Thread Starter clart

    (@clart)

    Ok, got the new version and ran a backup – it failed, here’s the message;

    Fatal error: Out of memory (allocated 22806528) (tried to allocate 65484 bytes) in /homepages/35/d30352212/htdocs/winton/wp-content/plugins/cyan-backup/includes/class-wp-backuper.php on line 545

    Forum: Plugins
    In reply to: [CYAN Backup] Backup Failed
    Thread Starter clart

    (@clart)

    I renamed the “problem” directory to “jplugins” (/winton/jplugins), excluded that, ran the backup and it failed.

    I renamed it back to “plugins” (/winton/plugins), excluded that, ran the backup and it succeeded.

    I noticed that when it fails, the main log file is 2.5Mb, but when it succeeds, the log file is 900k.

    So I did a diff on the two log files and what I found that is that the failed log file contains entries for winton/wp-content/plugins but the successful log file does not.

    Therefore, Im thinking now that the winton/plugins “problem” directory is a red herring and the backup failing is nothing to do with it.

    What is actually happening is that when I exclude winton/plugins, the backup process also exludes winton/wp-content/plugins and thats why the backup succeeds.

    That explains why the backup failed when I renamed winton/plugins to winton/jplugins and excluded it, the backup excluded winton/jplugins and then tried to process winton/wp-content/plugins, which caused it to fail.

    There appears to be a problem with the exclusion matching in that, excluding winton/plugins also excludes winton/wp-content/plugins, when it should not.

    Here are the last few lines of the successful backup log:
    [2014-03-08 06:00:33] Deleting /homepages/35/d30352212/htdocs/winton/backup/winton.20140308.060024/winton.20140308.060024.sql…
    [2014-03-08 06:00:33] Deleting /homepages/35/d30352212/htdocs/winton/backup/winton.20140308.060024…
    [2014-03-08 06:00:33] Elapsed Time: 9 seconds
    [2014-03-08 06:00:33] Backup complete!
    [2014-03-08 06:00:33] Backup size: 47MB

    Here are the last few lines of the failed backup log:
    [2014-03-10 15:34:27] Archiving /homepages/35/d30352212/htdocs/winton/backup…
    [2014-03-10 15:34:27] Archiving /homepages/35/d30352212/htdocs/winton/wp-phpinfo.php…
    [2014-03-10 15:34:27] Archiving /homepages/35/d30352212/htdocs/winton/jplugins…
    [2014-03-10 15:34:27] Archiving SQL dump…

    Forum: Plugins
    In reply to: [CYAN Backup] Backup Failed
    Thread Starter clart

    (@clart)

    The directory and subdirs are 755, the files are 604 (no group).
    Maybe thats the problem ?

    Theres nothing sensitive in there, I can send you if you want.

    Forum: Plugins
    In reply to: [CYAN Backup] Backup Failed
    Thread Starter clart

    (@clart)

    Ok, I found the problem !

    The webspace for the wordpress site used to contain a joomla site.

    Joomla has been ditched in favour of wordpress and the joomla site has been converted to static html pages to display the old site whilst the new one is completed.
    Although most all the joomla files have gone, there are some remnants, necessary to make the html pages work.
    The one that appears to cauing the problem with the backup is a directory called plugins in the wordpress root.
    With this excluded, all of wordpress backs up fine.
    With it included, the backup fails.

    The root directory structure looks like this;
    winton/.metadata
    winton/backup
    winton/blogs
    winton/plugins <== this is the remnant from joomla
    winton/tmp
    winton/wp-admin
    winton/wp-content
    winton/wp-includes

    That plugins directory looks like this;
    winton/plugins
    winton/plugins/content
    winton/plugins/content/plugin_besps
    winton/plugins/content/plugin_besps/besps.css 2k
    winton/plugins/content/plugin_besps/besps.js 5k
    winton/plugins/content/plugin_besps/besps.png 161

    I cannot see anything in there that should cause the backup to fail, there are only 2 subdirs and 3 files, it must be something to do with the directory name.

    Just to make sure i’ve included and excluded it several times and run the backup, which fails every time its included.. weird !

    The backup is successful every time with that directory excluded, it backs up all of the wordpress site in about 15 secs and the zipfile is 50Mb.

    Forum: Plugins
    In reply to: [CYAN Backup] Backup Failed
    Thread Starter clart

    (@clart)

    just out of interest, I excluded everything except wp-content/plugins, ran the backup and it was successful.

    Now I will remove the exclusions one by one and keep trying backup to see where it fails.

    Forum: Plugins
    In reply to: [CYAN Backup] Backup Failed
    Thread Starter clart

    (@clart)

    I had cleaned up from before, so ran it again.
    This time I got the normal Backup failed! message and just one of the Internal Server Error.

    Here is the last few lines of the log file;

    [2014-03-07 03:02:37] Archiving /homepages/35/d30352212/htdocs/winton/default.html…
    [2014-03-07 03:02:37] Archiving /homepages/35/d30352212/htdocs/winton/new.php…
    [2014-03-07 03:02:37] Archiving /homepages/35/d30352212/htdocs/winton/index.php…
    [2014-03-07 03:02:37] Archiving /homepages/35/d30352212/htdocs/winton/backup…
    [2014-03-07 03:02:37] Archiving /homepages/35/d30352212/htdocs/winton/wp-phpinfo.php…
    [2014-03-07 03:02:37] Archiving /homepages/35/d30352212/htdocs/winton/makezip.php…
    [2014-03-07 03:02:37] Archiving SQL dump..

    and here is the status.log ;

    69
    Archiving SQL dump…
    active
    /homepages/35/d30352212/htdocs/winton
    2014-03-07 03:02:370

    Note: when select the option to clean up the temporary files after this fail, the backup directory structure does not get deleted and neither does the log file, although the message at the top of Options page says different;

    CYAN Backup Options

    winton.20140307.030147 deleted from the archive directory.

    winton.20140307.030147.zip.5V79J2 deleted from the archive directory.

    winton.20140307.030148.sql deleted from the archive directory.

    Configuration saved!

    Directory structure “winton.20140307.030147” is still there and so is the log file “winton.20140307.030147.log” 2Mb in size.

    Forum: Plugins
    In reply to: [CYAN Backup] Backup Failed
    Thread Starter clart

    (@clart)

    Ok, got 1.6.2 installed and activated.

    Tried backup with plugins dir included – failed.
    Now theres no “Backup Failed” message, backup button is enabled with red cross image next to it and these;

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Yes, it shows same error twice.

    I dont know if you left in by mistake, but this message at bottom of options page has got the word “winton” in it;

    WARNING: Only check this if no backup is running. This will delete any file in the archive path that starts with “winton” but is not a zip/log file.

    when failed the status.log contained this;
    69
    Archiving SQL dump…
    active
    /homepages/35/d30352212/htdocs/winton
    2014-03-06 23:32:480

    Forum: Plugins
    In reply to: [CYAN Backup] Backup Failed
    Thread Starter clart

    (@clart)

    Ok, I will look out for the new version.

    Meanwhile, I had a thought..
    It could be its running out of memory ?

    Maybe update the zip file in chunks, e.g. 1000 files a time ?

    Forum: Plugins
    In reply to: [CYAN Backup] Backup Failed
    Thread Starter clart

    (@clart)

    Ok, I included plugins dir, ran backup – it failed.
    The temp zip file is about 11Mb in size (as usual).
    The log file is 2Mb size, it contains all the paths and files including all the plugins. It all looks correct.

    Here are the last few lines of the log file;

    [2014-03-06 18:21:07] Archiving /homepages/35/d30352212/htdocs/winton/images/stories…
    [2014-03-06 18:21:07] Archiving /homepages/35/d30352212/htdocs/winton/images/stories/general/bowling_01.jpg…
    [2014-03-06 18:21:07] Archiving /homepages/35/d30352212/htdocs/winton/images/stories/general/bowling_02.jpg…
    [2014-03-06 18:21:07] Archiving /homepages/35/d30352212/htdocs/winton/images/stories/general/games_room_01.jpg…
    [2014-03-06 18:21:07] Archiving /homepages/35/d30352212/htdocs/winton/images/stories/general/lounge_01.jpg…
    [2014-03-06 18:21:07] Archiving /homepages/35/d30352212/htdocs/winton/images/stories/general/lounge_02.jpg…
    [2014-03-06 18:21:07] Archiving /homepages/35/d30352212/htdocs/winton/default.html…
    [2014-03-06 18:21:07] Archiving /homepages/35/d30352212/htdocs/winton/new.php…
    [2014-03-06 18:21:07] Archiving /homepages/35/d30352212/htdocs/winton/index.php…
    [2014-03-06 18:21:07] Archiving /homepages/35/d30352212/htdocs/winton/backup…
    [2014-03-06 18:21:07] Archiving /homepages/35/d30352212/htdocs/winton/wp-phpinfo.php…
    [2014-03-06 18:21:07] Archiving /homepages/35/d30352212/htdocs/winton/makezip.php…

Viewing 15 replies - 16 through 30 (of 36 total)