• I’m running 6.4.1 WordPress, with a fair number of plugins.

    I was uploading some individual images to Foo Gallery, was going along fine, then suddenly the media library would no longer load. The only error seen was when trying to upload the last image, took a long time, then failed saying something to the effect that the server might be busy, or there are insufficient resources. Neither are true. I’m able to load the media library and upload images to another WP site on the same server.

    I rebooted the server. Didn’t help. I deactivated all plugins. Didn’t help. Reactivated all plugins. Didn’t help. Updated plugins that needed it. Didn’t help. Cleared the browser cache. Didn’t help.

    Happening on every PC I try from (chrome).

    Can’t be a plugin conflict, since I hadn’t loaded or updated any plugins while this was happening. I have a couple thousand images in the library, but I can’t imagine that there’s a hard limit to the number of files (apart from hard drive space on the server).

    Any ideas?

Viewing 15 replies - 1 through 15 (of 30 total)
  • Thread Starter Steel Rat

    (@steel-rat)

    Here’s an update. I can load from Previous Dates, October 2023 and earlier, but not November 2023. Is this a bad file problem? Cacheing?

    Hello, Steel Rat, & welcome. My first thought, since you appear to have your own server, is to consult your error logs. This will almost inevitably tell you what the problem is. If you need assistance interpreting those, by all means post small snippets here or use Pastebin for a longer series of entries. I think the logs could keep us from going down a plethora of rabbit holes.

    Thread Starter Steel Rat

    (@steel-rat)

    Thanks for the reply.

    I lease a server, and have full access to it via Hostdime. Are you referring to the Apache logs?

    Yes. There may be separate logs for the server & the domain, probably pick the domain 1 first.

    Another thing to try is to set wp_debug to true instead of false in your wp-config.php file. Then try uploading a plugin & see if any errors are thrown.

    If your site is cached, then by all means try clearing it.

    Thread Starter Steel Rat

    (@steel-rat)

    I didn’t have a specific cache setup, but I enabled WP Super Cache to see if it would help.

    How would I delete the WP cache?

    I downloaded the domain Apache log, but have no idea what I’m looking for.

    Thread Starter Steel Rat

    (@steel-rat)

    I re-activated WP Super Cache, and deleted the cache. No change. Still cannot load the media library for November, or all dates.

    Steel rat, Likely the most recent entries will contain info. The log should say something about error log or similar.

    Just a silly question: is the storage space full?

    Have a look in the WordPress backend under Tools > Site Health to see if there is anything conspicuous there.

    You should also look at the error log rather than the Apache access log. If you can’t find this, you can also activate debugging in WordPress as described here: https://wordpress.org/documentation/article/debugging-in-wordpress/

    Also, let’s try downloading:
    https://wordpress.org/plugins/health-check/

    & see what it tells us.

    Thread Starter Steel Rat

    (@steel-rat)

    This has happened over the last couple hours. Nothing in the Apache log is standing out.

    Where would I find an error log on the server?

    Storage space is not full.

    Site health shows nothing related. There are no red flags shown at all.

    Steel Rat, I don’t use Apache (I’m an Nginx gal), but usually the error logs contain the word “error” or “err” somewhere in the name. What OS & version are you using?

    Where an error.log can be found depends on the server configuration, which we do not know here. You as the server operator should know this yourself and if not, then at least know how to find it in the server configuration. Otherwise, seek help from your host’s support.

    Thread Starter Steel Rat

    (@steel-rat)

    I’m running AlmaLinux v8.8.0 , recently migrated from CentOs a couple months ago.

    Thredi – Well, I’m not a server operator. I lease one, and have access to WHM and the various CPanels for my domains. But that doesn’t mean I know all the ins and outs of linux servers.

    Health Check isn’t telling me anything that seems to help. Do you need me to paste anything here?

    Steel rat, try looking in:

    /var/log/httpd/error_log

    to see if you can find any Apache error logs.

    Steel rat, 1 more thing–can you provide us a link to your site?

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘Media Library Suddenly Stopped Loading’ is closed to new replies.