• Resolved neval123

    (@neval123)


    Hey! I have a bit of an unusual (and apparently unique) issue, when I’m trying to update the Solid Security plugin. I’m currently having an older version, from about 1-2 years ago of iThemes Security Free, and when trying to update it to the Solid Security current one, I’m getting the following error in the dashboard:

    Tablespace for table 'dbName.wp_itsec_geolocation_cache' exists. Please DISCARD the tablespace before IMPORT
    Tablespace for table 'dbName.wp_itsec_fingerprints' exists. Please DISCARD the tablespace before IMPORT
    Tablespace for table 'dbName.wp_itsec_user_groups' exists. Please DISCARD the tablespace before IMPORT
    Tablespace for table 'dbName.wp_itsec_mutexes' exists. Please DISCARD the tablespace before IMPORT
    Tablespace for table 'dbName.wp_itsec_webauthn_users' exists. Please DISCARD the tablespace before IMPORT
    Tablespace for table 'dbName.wp_itsec_webauthn_credentials' exists. Please DISCARD the tablespace before IMPORT
    The itsec_geolocation_cache table is not installed.
    The itsec_fingerprints table is not installed.
    The itsec_user_groups table is not installed.
    The itsec_mutexes table is not installed.
    The itsec_webauthn_users table is not installed.
    The itsec_webauthn_credentials table is not installed.

    I’ve updated multiple websites (granted not all of them had such an old version), but this only happened on a single particular one. They’re all hosted on the same VPS, so there isn’t anything different here (same type of db/sql/php/settings).

    Once I got this error, the only option was to restore a backup containing the same old version of Solid Security, as nothing else would work (apart from disabling the plugin completely).

    What I’ve tried (to no avail):

    • disabling/enabling/uninstalling/reinstalling Solid Security;
    • clearing all types of cache;
    • restarting MySQL;
    • clearing transients / optimizing db;
    • discarding/dropping those tables (weren’t found by SQL);
    • deleting their .ibd files (they are created back automatically once I install the plugin again, with the same error).
    DROP TABLE IF EXISTS wp_itsec_geolocation_cache;
    DROP TABLE IF EXISTS wp_itsec_fingerprints;
    DROP TABLE IF EXISTS wp_itsec_user_groups;
    DROP TABLE IF EXISTS wp_itsec_mutexes;
    DROP TABLE IF EXISTS wp_itsec_webauthn_users;
    DROP TABLE IF EXISTS wp_itsec_webauthn_credentials;

    sudo rm -f /var/lib/mysql/dbName/wp_itsec_geolocation_cache.*
    sudo rm -f /var/lib/mysql/dbName/wp_itsec_fingerprints.*
    sudo rm -f /var/lib/mysql/dbName/wp_itsec_user_groups.*
    sudo rm -f /var/lib/mysql/dbName/wp_itsec_mutexes.*
    sudo rm -f /var/lib/mysql/dbName/wp_itsec_webauthn_users.*
    sudo rm -f /var/lib/mysql/dbName/wp_itsec_webauthn_credentials.*
    ALTER TABLE wp_itsec_geolocation_cache DISCARD TABLESPACE;
    MySQL said: Documentation

    #1146 - Table 'dbName.wp_itsec_geolocation_cache' doesn't exist

    Do you guys have any idea as to how I can fix this? Thank you kindly!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @neval123, glad you reached out!

    Indeed, this issue seems unusual because when looking at our internal reports, I can only see one instance of this specific database error.

    That report was resolved by the host manually removing the tablespace, although it looks like you’ve already done this, as well as removing the .ibd files of the tables.

    It’s possible that the MySQL folder is being cached on your server. Can you try to discard the tablespace -> remove the .ibd files of the tables -> then clear all sorts of cache on this order: server cache -> CDN cache (if you use it) -> plugin cache -> browser cache and then observe if it resolves the error?

    Please let me know how it goes.

    Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @neval123, just wanted to reach back out here to see if you had any updates on my previous reply.

    Tracking notifications on this forum can become tricky over time, and since we haven’t received a response, I’ll mark this post resolved.?

    If you still need assistance, please let us know!

    Thread Starter neval123

    (@neval123)

    Heya! Sorry, forgot I didn’t reply. I’ve tried that but to no avail, unfortunately. ??

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