• Resolved paradonym

    (@paradonym)


    error “An internal server error occurred. Please try again later.” when trying to install or update a plugin as well as reinstalling WordPress from the Backend.
    Seems like a non-apache error message, as nothing is logged in apache’s error logs.

    This error survives a re-setup of wordpress and occurs again if Tools -> Import Data is made from a previously exported XML Backup.

    htaccess was cleaned of all caching stuff the previous WP installation has written inside. Also deflate is turned off even if that shouldn’t be a problem of “no caching plugins installed”

    WP’s maintenance mode which should stay activated if a plugin installation is suddenly aborted didn’t stay active…

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

    (@macmanx)

    Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Sixteen theme to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.

    If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your SFTP or FTP client to view invisible files.

    If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that time period. If you don’t have access to your server error log, ask your hosting provider to look for you.

    Thread Starter paradonym

    (@paradonym)

    I manually reinstalled WordPress by deleting the SQL, deleting the WordPress files via SFTP and then re-uploading the default wordpress files with a new configured wp_config.php – so everything should be set to default settings and default plugins.
    If I upload an XML backup of all the posts I’ve written before the error appears again. So I think plugins and settings problems are already checked as the error appears in a completely stock WordPress environment only having a recovery of the blogposts…

    For my previous tries (personal data has been hidden):
    “[Mon Jul 11 14:20:57 2016] [alert] [client $CLIENT] /var/www/virtual/$USER/html/.htaccess: Option All not allowed here, referer: https://$DOMAIN/wp-admin/plugin-install.php?tab=search&s=broken+link”

    The .htaccess only consists of WPs default entries and an addition to redirect every http call to https. and some redirection rules to redirect some other permalink structures to /%postname%

    All of the sudden, it somehow works now – without ever doing something additional… Strange…

    Moderator James Huff

    (@macmanx)

    Well, that’s good to hear! ??

    Thread Starter paradonym

    (@paradonym)

    For the people googling around and resulting in this page:

    steps I’ve done:
    -reinstalling WordPress via SFTP (using another table_prefix in wp_config.conf)
    -recovering my posts from a previous data-export via tools -> data export (import via tools -> data import)
    -increasing the php.ini memory_limit value to 256M (even if 64M should work too)
    -cleaning the servers .htaccess of all stuff not inside # BEGIN WordPress and # END WordPress

    Hope this will help you even if I can’t say which action was it to make it work 2 days later…

    Moderator James Huff

    (@macmanx)

    Thanks for sharing that!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘"An internal server error occurred. […]" during plugin installation’ is closed to new replies.