• Resolved lewdpotato

    (@lewdpotato)


    Hi, so I’ve unistalled Autoptimize, deleted every single file related to it on the website, cleaned the DB, delete Cloudflare cache and server cache, but after few days I’m still getting tons of error logs related to autoptimize:

    404 GET /wp-content/cache/autoptimize/js/autoptimize_single_7ee92212a3ecbc19d9d71fa3818508af.js?ver=5.8.3 HTTP/2.0 nginx

    and

    17388#0: *25792705 openat() "/var/www/vhosts/domain.com/httpdocs/wp-content/cache/autoptimize/js/autoptimize_single_a1b4fb962926f4e0715d0c1ea40a1ac5.js" failed (2: No such file or directory)

    I’m using NGINX and searching around the most similar error a person had was this:
    https://www.ads-software.com/support/topic/autoptimize-js-autoptimize_xxxxxxxx-js-404-error/

    Unfortunatly the solution was for Apache server so it doesn’t works in my case, another detail to add, I’m not having any issue, visually on the site, because probably is related to browser cache (at least from my side) but apparently a tons of users (the 404 errors comes from users not bot, and the openat error comes from NGINX) are having a lot of issues with it, now is it possible to do a 410 redirect only for autoptimize files with NGINX (so I can keep the logs clean because with the amount of visitors I have right now is impossible to keep track of what’s happening on them) and could it solve the problem for thoose users that are getting the 404 errors? I have no clue on why the openat () error appears but sure is related to the problem or cloud be the main issue, if anyone have a clue about it please let me know.

    Another detail to add, I’ve tried to disable every caching (server,plugin,cloudflare) but it seems that nothing is changing, same errors, and an astonish quantity of them, in 1 hour I’m generating 200MB+ of error logs just filled with Autoptimize errors.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    no idea I’m afriad. might someone have added autoptimize-specific configuration in your nginx config which in that case also needs to be removed?

    Thread Starter lewdpotato

    (@lewdpotato)

    I’ve full and exclusive root access to the whole server, and just to be sure there are no NGINX Autoptimize specific settings (I didn’t even know they existed) and usually plugins can’t automatically inser NGINX settings lines, that’s why every caching plugin requires the user to add them, and I didn’t.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    might you be preloading (autoptimize) files somehow (using a non-autoptimize solution)?

    Thread Starter lewdpotato

    (@lewdpotato)

    No, I’ve disable pratically disabled and unistalled everything that could generate any type of cache or preloading, I even disable serving static contents via NGINX, and any line on NGINX that did some cache, I’ve also place Cloudflare in Development mode, but nothing seems to work the logs are still coming.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Still no idea either I’m afraid, but can you share your site’s URL, who knows I can spot something …

    Thread Starter lewdpotato

    (@lewdpotato)

    I don’t know if I can, it’s NSFW and I want to avoid others to find out, there’s a way that I can send it in private?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, you can try sending me a mail me at futtta-at-gmail-dot-com ??

    Thread Starter lewdpotato

    (@lewdpotato)

    Managed to solve with this on the NGINX settings:

    location ^~ /wp-content/cache/autoptimize/ { return 410; }

    Thanks for your help @optimizingmatters

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error 404 and openat() after unistalling Autoptimize.’ is closed to new replies.