Support » Fixing WordPress » WordPress Version 5 keeps asking for database update every day

  • I got WordPress 5.1.1 and it keeps asking me to update the database every single day. The update then takes a split second and is successful. The problem is that users can register on that page and will be prompted to update the database as well which is very unprofessional. Has anyone had the same problem and maybe a fix for that? Thanks in advance!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator πŸš€

    Are you using any sort of caching plugin, or do you see a “Clear/Purge Cache” button in your Dashboard or admin bar? If so, would you please try clearing the cache?

    Note: You do not need to install a caching plugin at this point just to clear a cache you don’t have. If you don’t have a caching plugin or a way to clear a server-level cache, just say so. πŸ™‚

    Hi, thanks for your answer.
    I was using W3 – Cache and thought that could be the problem. So I purged the cache and deleted it with all components in wp-content and so on. But that didn’t change anything.
    Then I updated the db_upgraded value in the wp-admin/options.php to 0 (before, it was empty). That changed nothing either.
    Then I looked up the DB Version in my wp-config file but it matched the Version saved in the database.

    I don’t have any more ideas, do you? πŸ™

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator πŸš€

    Who is your hosting provider, do have any built-in Varnish and/or memcache caching, and do you use Cloudflare?

    We got our own server at strato running Ubuntu. Yes I think we are using memcache and opcache.
    Would a restart of the whole server clear all existent cache?
    Or must I directly purge it somehow?
    No cloudflare.

    • This reply was modified 1 month, 1 week ago by  tollube.
    Moderator James Huff

    (@macmanx)

    Volunteer Moderator πŸš€

    Ok, just clearing memcache should be enough.

    If you have WP-CLI installed on the server, just run wp cache flush

    If you don’t have WP-CLI installed on the server, I highly recommend it: https://wp-cli.org/

    tollube

    (@tollube)

    Hey James,
    thanks for your answer.
    I even restarted the webserver but that didn’t change it either.
    Any more ideas?
    Best regards

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator πŸš€

    In that case, try specifically flushing memcache. Restarting doesn’t always do that.

    tollube

    (@tollube)

    I tried to do that, didn’t know how.
    Couldn’t find a proper description on how it’s done.

    Could you tell me how I see if it’s even installed. Btw Plesk is running on the server. It manages all the sites.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator πŸš€

    I’ve only ever interacted with memcached using WP-CLI’s wp cache flush command.

    This may help: https://ma.ttias.be/flush-content-memcached-via-cli/

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.