Manage Modules shows Error 500 installed Open EMR latest 7.0.2

Internal Server Error

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

Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

If this is on a standard LAMP install, make sure that your Apache site config has the correct rules in place for the interface subdirectory of your site in order for the module path rewrite rules to work, and that your Apache server has mod_rewrite enabled.

1 Like

yup i also had this issue today and this solved it.
I asked open ai to fix it and followd the instructions and it worked.

modules error 500

To enable the mod_rewrite module on your Droplet, you can follow these steps:

Connect to your Droplet via SSH:
sh
ssh root@your_droplet_ip

Enable the mod_rewrite module:
sh

sudo a2enmod rewrite
Restart Apache to apply the changes:
sh

sudo systemctl restart apache2
Update your Apache configuration to allow .htaccess files to override settings:

Open the Apache configuration file for editing:
sh

sudo nano /etc/apache2/apache2.conf

Find the <Directory /var/www/> section and change AllowOverride None to AllowOverride All:
apache

<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
Save the file by pressing CTRL+S and exit by pressing CTRL+X.
Restart Apache again to apply the configuration changes:
sh

sudo systemctl restart apache2
This will enable the mod_rewrite module and allow .htaccess files to override settings in your Apache configuration.

======================

Thanks.