• Resolved 18TommyBoy

    (@18tommyboy)


    Good day,
    I have 2 VPS (Nginx and other LiteSpeed) for sites with this plugin. Working very good, but when start with 20 tenancy? or what is it, after a while stopped the import. I click on Continue with 10.
    Few days working good, today stopped with 10, Continue with 5?

    What must set on Nginx or LiteSpeed to continue with 20 or more? I can set anything on my server, but need manual what to need set to this plugin.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @18tommyboy,

    What must set on Nginx or LiteSpeed to continue with 20 or more? I can set anything on my server, but need manual what to need set to this plugin.

    I would suggest following this guide to optimize your import: https://gist.github.com/trey8611/72fec5969651d5272fcb85f99b09b8bb. It has a section that explains how to troubleshoot terminations by logging the specific error that’s causing the termination, and that’s how you’ll find the particular settings that need changed.

    Thread Starter 18TommyBoy

    (@18tommyboy)

    Thank you for link. The problem is:
    max_input_vars = 1000

    Changed to 2000 and all posts fast imported with 20 (low server impact)

    So, when I change to 5000 then I can import with 50 iteration?

    Plugin Author WP All Import

    (@wpallimport)

    Hey @18tommyboy,

    So, when I change to 5000 then I can import with 50 iteration?

    Possibly, but if it terminates then you’ll need go through the error logs to identify whether it’s the max_input_vars setting again, or if it’s something else.

    Thread Starter 18TommyBoy

    (@18tommyboy)

    Where I can find error logs?

    Plugin Author WP All Import

    (@wpallimport)

    Hi @18tommyboy,

    To log PHP errors, you can use this: https://github.com/mbissett/error-revealer (be sure to follow the instructions closely, then revert all changes and remove the plugin when done). By default, it will store the errors in the /wp-content/debug.log file.

    As for the error logs on your server, it depends on how your server is configured. You’ll have to work with your web host/sysadmin to configure error logging and see where they’re being stored.

    Thread Starter 18TommyBoy

    (@18tommyboy)

    Thank you, this very help for me.

    In few minutes generated 1,6MB error log: https://www103.zippyshare.com/v/4CsClCHE/file.html

    A little from this:

    Backtrace from warning “putenv() has been disabled for security reasons

    Backtrace from warning “is_readable(): open_basedir restriction in effect. File(/dev/urandom) is not within the allowed path(s): (/tmp/:/www/wwwroot…

    Backtrace from notice “tempnam(): file created in the system’s temporary directory”In /www/wwwroot/m…

    Backtrace from warning “realpath(): open_basedir restriction in effect. File(/usr/local/lsws/lsphp74/bin) is not within the allowed path…

    Backtrace from warning “is_file(): open_basedir restriction in effect. File(/usr/local/lsws/lsphp74/bin/) is not within the allowed path…

    Backtrace from warning “is_dir(): open_basedir restriction in effect. File(/usr/local/lsws/lsphp74/bin/) is not within the allowed path…

    Backtrace from warning “realpath(): open_basedir restriction in effect. File(/usr/local/lsws/lsphp74/bin) is not within the allowed path…

    Backtrace from warning “is_file(): open_basedir restriction in effect. File(.filters-area{position:relative;top:-10px;display:none;margin-bottom:30px;padding-top:30px;border-top:1px solid;border-bottom:1px solid;border-color:rgba(119,119,119,0.2)}.filters-area.custom-content{padding-bottom:30px}.filters-area .filters-inner-area{opacity:0;transition:opacity .25s ease}.filters-area.filters-opened .filters-inner-area{opacity:1;transition:opacity .25s ease-in-out}.body-filters-opened .filters-area,.filters-area.always-open{display:block}.body-filters-opened .filters-area .filters-inner-area,.filters-area.always-open .filters-inner-area{opacity:1}.global-color-scheme-light .filters-area{border-color:rgba(255,255,255,0.15)}.filters-inner-area>.col-12>p{display:none}.wd-filter-icon>a:before{font-size:24px;content:"\f15c"}.filter-widget{padding-bottom:0;border-bottom:none}.filter-widget:last-child{margin-bottom:30px}
    ) is not within the allowed path(s): (/tmp/:/www/wwwroot/mysite.com/)”In /www/wwwroot/mysite.com/wp-content/plugins/wp-rocket/inc/Dependencies/Minify/Minify.php [line 457]<unknown file> <unknown line> calling process_error() | /www/wwwroot/mysite.com/wp-content/plugins/wp-rocket/inc/Dependencies/Minify/Minify.php 457 calling is_file() | /www/wwwroot/mysite.com/wp-content/plugins/wp-rocket/inc/Dependencies/Minify/Minify.php 214 calling canImportFile() | /www/wwwroot/mysite.com/wp-content/plugins/wp-rocket/inc/Dependencies/Minify/Minify.php 88 calling load() | <unknown file> <unknown line> calling add() | /www/wwwroot/mysite.com/wp-content/plugins/wp-rocket/inc/Dependencies/Minify/Minify.php 58 calling call_user_func_array() | /www/wwwroot/mysite.com/wp-content/plugins/wp-rocket/inc/Engine/Optimization/Minify/CSS/Minify.php 339 calling __construct() | /www/wwwroot/mysite.com/wp-content/plugins/wp-rocket/inc/Engine/Optimization/Minify/CSS/Minify.php 311 calling get_minifier() | /www/wwwroot/mysite.com/wp-content/plugins/wp-rocket/inc/Engine/Optimization/Minify/CSS/Minify.php 182 calling minify() | /www/wwwroot/mysite.com/wp-content/plugins/wp-rocket/inc/Engine/Optimization/Minify/CSS/Minify.php 64 calling replace_url() | /www/wwwroot/mysite.com/wp-content/plugins/wp-rocket/inc/Engine/Optimization/Minify/CSS/Subscriber.php 53 calling optimize() | /www/wwwroot/mysite.com/wp-includes/class-wp-hook.php 303 calling process() | /www/wwwroot/mysite.com/wp-includes/plugin.php 189 calling apply_filters() | /www/wwwroot/mysite.com/wp-content/plugins/wp-rocket/inc/classes/Buffer/class-optimization.php 104 calling apply_filters() | <unknown file> <unknown line> calling maybe_process_buffer() | /www/wwwroot/mysite.com/wp-includes/functions.php 5107 calling ob_end_flush() | /www/wwwroot/mysite.com/wp-includes/class-wp-hook.php 303 calling wp_ob_end_flush_all() | /www/wwwroot/mysite.com/wp-includes/class-wp-hook.php 327 calling apply_filters() | /www/wwwroot/mysite.com/wp-includes/plugin.php 470 calling do_action() | /www/wwwroot/mysite.com/wp-includes/load.php 1097 calling do_action() | <unknown file> <unknown line> calling shutdown_action_hook()…

    Etc…

    Plugin Author WP All Import

    (@wpallimport)

    Hi @18tommyboy,

    I don’t see any errors that explicitly explain a termination (usually it’s a fatal error or an exception), but the “open_basedir restriction” could potentially cause issues in imports, so I’d suggest asking your web host about that.

    Thread Starter 18TommyBoy

    (@18tommyboy)

    Like I say, it´s mine 2 VPS 🙂 I try that, thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How set server’ is closed to new replies.