Do you use or administer OpenEMR? Take the General Satisfaction Survey to help improve the product

I'm not able to open "Manage Modules" and "Portal Dashboard" on my OpenEMR Ubuntu instance

Hi everyone I have a little problem. I’m trying to open the Manage Modules and Portal Dashboard on my openemr installation on Ubuntu but it is not working. Instead I’m getting this error shown on the screenshot below.

What could be my problem? Kindly assist

OpenEMR Version
I’m using OpenEMR version 5.0.1

I’m using Mozilla the latest version

Operating System
I’m using Ubuntu 20.04

Did you check the logs? Was there anything pertinent in them? Paste them here (surround with three backticks (```) for readability

Hi @Richard

Try the below configurations, on your apache conf file,

AllowOverride All
Require all granted

This may help you,.


Thank you @visolve for your reply. I have opened my apache2 config file by nano /etc/apache2/apache2.conf. However, I do not know where to make the changes you recommended. Kindly assist. Regards.

Hello @Richard

Try specifying it below <Directory /var/www/>

Let us know for further clarifications.



@visolve I meant the lines of code you gave before I do not know what to do with them even after opening the apache config file. Could you kindly tell me whether I need to paste or there are specific lines I need to change.
Thank you in advance.

Hi @Richard,

Your apache config file should contain these lines.
If the lines are not there, just replace it as below.


Hi @visolve changed the /var/www/ directory as you have advised and after restarting apache, I got a new error shown in the screenshot below.

Hi @Richard

Could you please try the following link.


Thanks @visolve. I will give you feedback

@visolve could you please assist me on how I get to apache/httpd.conf to make the changes recommended?
Thank you inadvance.

Hi @Richard

For Ubuntu, you can add the below lines on /etc/apache2/apache2.conf file.

LoadModule rewrite_module modules/
LoadModule headers_module modules/

Another method is you can create a new httpd.conf file in apache2 directory.
Add the above mentioned lines in httpd.conf file.
Also in apache2.conf file add the below line

Include /etc/apache2/httpd.conf

This may help you.


@visolve I have tried both methods, ie adding the lines directly to the conf file and creating htt.conf file. Unfortunately when I restart apache using sudo systemctl restart apache2 I get the error on the screenshot below and the apache server fails to work.
See the error below.

The next screenshot shows the point where I have entered the line Include /etc/apache2/httpd.conf

The last one shows how I have create httpd.conf file as advised

Hi @Richard

Try Specifying the below lines in the httpd.conf file.

LoadModule rewrite_module /usr/lib/apache2/modules/
LoadModule headers_module /usr/lib/apache2/modules/

Then restart your apache and this will solve your issue.