• Resolved oamck

    (@oamck)


    Hi,

    I had to restore the website after the upgrade to the latest version (5.1.6).

    We got Internal Server Error after automatic upgrade to the latest version. I have tried several times to restore the site with an earlier backup and then upgrade the site. Every time I did that, the site crashed.

    How do we fix this?

    The page I need help with: [log in to see the link]

Viewing 15 replies - 16 through 30 (of 30 total)
  • Plugin Support aporter

    (@aporter)

    Hi,

    If you are getting the same issue as another user where the audit log table doesn’t exist, there is a tweaked copy of the plugin here:

    https://gofile.io/d/bI3CEt

    Which will check the table exists before we try to use it.

    But I still don’t know why it’s failing to be created on some installs as I’ve been unable to reproduce it on any of my installs and I’ve not seen an error log yet that explains why thats happening.

    Best Wishes,

    Ashley

    Thread Starter oamck

    (@oamck)

    Hi,

    I took a database backup and looked at the log. The table …aiowps_audit_log exits in the database.

    This is from the backup log:

    aiowps_audit_log: Total expected rows (via COUNT): 0
    aiowps_audit_log: Rows added in this batch (next record: -1): 0 (uncompressed bytes in this segment=1197) in 0.02 seconds
    aiowps_audit_log: finishing file(s) (2, 0.5 KB)

    How about resting the settings? Could that work?

    • This reply was modified 1 year, 8 months ago by oamck.
    Plugin Support aporter

    (@aporter)

    Hi,

    Are you now using the latest zip I sent?

    If so that has resolved the issue (as the new version would have attempted to create the audit log table again and this time succeed)

    Resetting your settings is unlikely to resolve anything.

    Best Wishes,

    Ashley

    Thread Starter oamck

    (@oamck)

    Hi,

    No, I have only downloaded the zip file.

    At the sime time wondering, if reseting would work. That’s why I took a database backup and looked at the log and saw that audit log table is there.

    I have unziped the files. Shall I upload the whole folder to the site, or only some files?

    Shall I rename the old folders/files, or overwite them?

    Plugin Support aporter

    (@aporter)

    Hi,

    No need to unzip the file

    In the WordPress admin dashboard go to:

    Plugins -> Add new

    Then press the “upload plugin” button

    Then once it’s uploaded press the “Replace current with uploaded”

    Or if you have FTP/SFTP file access you can replace all the files in:

    wp-content/plugins/all-in-one-wp-security-and-firewall

    With the extracted contents of the zip file.

    Best Wishes,

    Ashley

    Thread Starter oamck

    (@oamck)

    Hi,

    I did as instructed.

    Plugins -> Add new

    Then press the “upload plugin” button

    Then once it’s uploaded press the “Replace current with uploaded”

    The result is:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    I started yet another restore from latest backup.

    • This reply was modified 1 year, 8 months ago by oamck.
    Plugin Support aporter

    (@aporter)

    Hi,

    Thanks, so you don’t have the missing table issue..

    So there is something else going on but I’m not sure what without seeing the error log

    Do you have any errors in:

    wp-content/debug.log ?

    Best Wishes,

    Ashley

    Thread Starter oamck

    (@oamck)

    Hi,

    No, that was not the issue, and there is no such file (debug.log) under wp-content?

    Plugin Support aporter

    (@aporter)

    Hi,

    Can you add the following to your wp-config.php

    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);
    define( ‘WP_DEBUG_DISPLAY’, false);
    @ini_set(‘display_errors’, 0);

    Then if you try again you should get a debug.log with the details of whats going wrong.

    Best Wishes,

    Ashley

    Thread Starter oamck

    (@oamck)

    Hi,
    Did that and the uploaded the zip file.

    Downloaded then the deug.log before restoring the site.

    How can I send you the log?

    Plugin Support aporter

    (@aporter)

    Hi,

    You can either upload it to some where like Dropbox or Pastebin and then share the link here.

    Or if you want you can open a premium support ticket here:

    https://aiosplugin.com/premium-support/

    Just put zeros for the order number, link to this support thread and ask for me.

    Best Wishes,

    Ashley

    Thread Starter oamck

    (@oamck)

    Hi Ashley,

    I have opened a premium?support case and refered to this and to you.

    Kind Regards

    Plugin Support aporter

    (@aporter)

    Hi,

    Thank you I got your ticket and the file “debug.txt”

    I’ve looked through it and theres no errors in that file (just a bunch of deprecation notices and warnings as I believe your on PHP 8.1+).

    Did you rename the debug.log file to debug.txt, or did you copy entries from debug.log to a new file called debug.txt?

    If the latter did you copy everything?

    If so then I’m not sure why the fatal errors are not making it to the debug.log.

    Are you able to check with your hosts to see if theres something in the servers PHP error log that can point me in the right direction.

    (I’ll reply on the premium ticket as well just so you can easily email any further logs)

    Best Wishes,

    Ashley

    Thread Starter oamck

    (@oamck)

    Hi,

    I renamed the file to txt, so there should be everything.

    I will ask my host, if they are seeing errors.

    Thread Starter oamck

    (@oamck)

    Hi,

    They recommended to uninstall the AIOS and install Wordfence Security instead. They had many other customers that had issues with AIOS.

    We hade Wordfence Security installed ealier (couple of years earlier), mabye that’s why we got this issue now?

    However, I have uninstalled the AIOS plugin.

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘Internal Server Error after the upgrade to 5.1.6’ is closed to new replies.