• Hello,

    When I trigger Preload All, I get the following error:

    ERROR COMMAND: Preloading failed for https://site.com. Please check Exclude Endpoints and Exclude File Extensions settings syntax.

    Both Exclude Endpoints and Exclude File Extensions are set to their default values – I have not changed anything there.

    Looking at the plugin source code, it seems this error is thrown by nppp_detect_premature_process() in includes/preload.php when it returns false. But I’m not sure what is causing it to fail in my case.

    Could you help me understand what might be causing this?

    Thank you.

Viewing 4 replies - 16 through 19 (of 19 total)
  • tvarga77

    (@tvarga77)

    root@vps:~# sudo -u www-data cat /etc/nginx/nginx.conf | head -n 10
    user www-data;
    worker_processes 4;
    pid /run/nginx.pid;
    include /etc/nginx/modules-enabled/*.conf;

    ls -la /etc/nginx/nginx.conf
    -rw-r–r– 1 root root 2407 Apr 6 16:08 /etc/nginx/nginx.conf

    Though, it must be because of php open_basedir. I commented it out for few mins , after that NPP could see nginx.conf….

    Br,

    Tamás

    Plugin Author Hasan CALISIR

    (@psauxit)

    open_basedir =
    {ABSPATH}/ :
    {ABSPATH}/../ :
    /dev/shm/ :
    /tmp/ :
    /var/ :
    /cache/ :
    /proc/ :
    /dev/null :
    /etc/nginx/ :
    /usr/bin/ :
    /usr/sbin/ :
    /usr/local/bin/ :
    /usr/local/sbin/ :
    /bin/ :
    /sbin/

    Yes, if you use open_basedir, you need to allow access to cache paths, nginx.conf paths, and other paths that NPP requires, which can be hard to manage.

    tvarga77

    (@tvarga77)

    Yes. Thank you for your help and troubleshooting. Altough, this plugin is very good !

    Thread Starter Slava Shevchenko

    (@kaganvmz)

    Hi Hasan,

    The fix works perfectly. After applying all 5 replacements, the following blocks are now showing correct data:

    • Cache Status: 4,174 pages cached, 100% cache coverage (4,174 cached / 3,387 total sitemap URLs), cache dir size 545.26 MB
    • Preload Progress: completed successfully 3,389 URLs processed in 19m 38s, status “Completed”
    • Cache List: all entries are correctly listed with HIT status

    Previously these blocks were either empty or showing incorrect data due to the $request_method not being part of the Engintron cache key, causing all entries to be skipped by the GET filter.

    Happy to do end-to-end testing of v2.1.6 as well. Thank you for the quick diagnosis!

Viewing 4 replies - 16 through 19 (of 19 total)

You must be logged in to reply to this topic.