[Snapshot Pro] Cannot Upload SnapShot to Google Drive

As far as I can tell I followed the steps explicitly. The destination says it is authenticated and ready for use and yet when I try to create a SnapShot I get the error below. I have enabled WPMU access so you should be able to see it.

An error occurred during the most recent upload attempt:

Error: Could not send file <pre>Google_0814_Exception: Failed to start the resumable upload in /home/bested9594/public_html/success1/wp-content/plugins/snapshot/lib/Snapshot/Model/Destination/google-drive/Google/Http/MediaFileUpload.php:290 Stack trace: #0 /home/bested9594/public_html/success1/wp-content/plugins/snapshot/lib/Snapshot/Model/Destination/google-drive/Google/Http/MediaFileUpload.php(138): Google_0814_Http_MediaFileUpload->getResumeUri() #1 /home/bested9594/public_html/success1/wp-content/plugins/snapshot/lib/Snapshot/Model/Destination/google-drive/index.php(409): Google_0814_Http_MediaFileUpload->nextChunk('PKx03x04x14x00x00x00x08x00xE5x92FNxC6…':wink: #2 /home/bested9594/public_html/success1/wp-content/plugins/snapshot/lib/Snapshot/Model/Destination/google-drive/index.php(277): SnapshotDestinationGoogleDrive->send_file('/home/bested959…':wink: #3 /home/bested9594/public_html/success1/wp-content/plugins/snapshot/snapshot.php(7572): SnapshotDestinationGoogleDrive->sendfile_to_remote(Array, '/home/bested959…':wink: #4 /home/bested9594/public_html/success1/wp-content/plugins/snapshot/snapshot.php(7470): WPMUDEVSnapshot->process_item_send_archive(Array, Array, Object(Snapshot_Helper_Locker)) #5 /home/bested9594/public_html/success1/wp-content/plugins/snapshot/snapshot.php(7794): WPMUDEVSnapshot->process_item_remote_files(1549498937) #6 /home/bested9594/public_html/success1/wp-includes/class-wp-hook.php(286): WPMUDEVSnapshot->snapshot_remote_file_cron_proc() #7 /home/bested9594/public_html/success1/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #8 /home/bested9594/public_html/success1/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #9 /home/bested9594/public_html/success1/wp-cron.php(126): do_action_ref_array('snapshot_remote…', Array) #10 {main}</pre> :Failed to start the resumable upload

Further attempts to upload will continue to be made. However, you may want to investigate this issue to ensure that they are successful.

  • Nahid
    • Tech Support

    Hey there Jon !

    Hope you are having a great day!

    I’m sorry to hear about the issues that you encountered. I wasn’t able to replicate the reported issue in test sites of ours, so I believe it is something specific to your site. Could you please go through the following troubleshooting tests which would help us determine the source of the issue?

    1. Make sure the Google Drive API is active on your project: Sometimes the Google Drive API gets disabled which results in similar issues. Could you please make sure it is enabled on your project?

    2. Delete and re-create the Google project: If the above doesn’t help, could you delete the Google project, re-create a new one following instructions, authorize it and try the Snapshot again?

    3. Changes in PHP configuration: If the above doesn’t help as well, could you please get in touch with your hosting provider and request to check if the getmypid() disabled on PHP server? Also, could you request them to increase the FcgidIOTimeout value in PHP to at least 120?

    4. Plugin/theme conflict test: If none of the above helps, please try running a full plugin/theme conflict test just to make sure no other plugin(s)/the theme on your site is/are conflicting with Snapshot Pro and thus causing the issue. The basic concept is to temporarily disable all the plugins except Snapshot Pro and WPMU DEV Dashboard, switch to a default WordPress theme and check if the issue still persists. If it doesn’t, please enable all plugins and the theme one after another to see activating which brings back the issue. This handy flowchart can help you do a full plugin/theme conflict test.

    5. Enable debugging: If the plugin/theme conflict test doesn’t help, please enable WP_DEBUG. You can enable debugging by putting the following constants in the wp-config.php file:

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    @ini_set( 'log_errors', 1 );
    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );
    // Snapshot Backtrace
    define( 'SNAPSHOT_BACKTRACE_ALL', true );

    These constants must be added before the line “/* That’s all, stop editing! Happy blogging. */” for them to work. Please make sure identical constants are replaced if they were already there previously.

    Enabling debugging in WordPress will log any errors that the site encounters in a log file named “debug.log” located in the “wp-content” folder. Please upload the debug.log file in a cloud storage platform like Dropbox and attach the shared link in your next response so that we can take a look into it. You can know more about WordPress debugging in this handy article.

    Note: It is highly recommended that the site is backed up in an alternative way before the tests or the tests are done in a cloned staging site.

    Hope this helps. We’ll be looking forward to hearing back from you. Thanks!

    Kind regards,

    Nahid

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.