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

**URL:** <https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401>\
**Category:** Support\
**Created:** [October 29, 2020, 9:59am UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401 "2020-10-29T09:59:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richard](https://community.open-emr.org/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@Richard](https://community.open-emr.org/u/Richard)\
**Post date:** [October 29, 2020, 9:59am UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/1 "2020-10-29T09:59:26Z")

</div>

**Situation**  
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.

 ![Screenshot from 2020-10-29 12-44-46](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/1/1829f758bf3c4c9c9157bd16aa724d87f7e0564b.png)

What could be my problem? Kindly assist

**OpenEMR Version**  
I’m using OpenEMR version 5.0.1

**Browser** :  
I’m using Mozilla the latest version

**Operating System**  
I’m using Ubuntu 20.04

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

---

<div class="post-metadata">

**Author:** ![visolveemr](https://community.open-emr.org/user_avatar/community.open-emr.org/visolveemr/32/10974_2.png) [@visolveemr](https://community.open-emr.org/u/visolveemr)\
**Post date:** [October 30, 2020, 5:47am UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/2 "2020-10-30T05:47:41Z")

</div>

Hi @Richard

Try the below configurations, on your apache conf file,

AllowOverride All  
Require all granted

This may help you,.

Thanks,  
[ViSolve](https://www.visolve.com/hc/)

---

<div class="post-metadata">

**Author:** ![Richard](https://community.open-emr.org/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@Richard](https://community.open-emr.org/u/Richard)\
**Post date:** [October 30, 2020, 6:27am UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/3 "2020-10-30T06:27:05Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![visolveemr](https://community.open-emr.org/user_avatar/community.open-emr.org/visolveemr/32/10974_2.png) [@visolveemr](https://community.open-emr.org/u/visolveemr)\
**Post date:** [October 30, 2020, 7:21am UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/4 "2020-10-30T07:21:57Z")

</div>

Hello @Richard

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

Let us know for further clarifications.

Regards,

[ViSolve](https://www.visolve.com/hc/)

---

<div class="post-metadata">

**Author:** ![Richard](https://community.open-emr.org/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@Richard](https://community.open-emr.org/u/Richard)\
**Post date:** [October 30, 2020, 2:20pm UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/5 "2020-10-30T14:20:43Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![visolveemr](https://community.open-emr.org/user_avatar/community.open-emr.org/visolveemr/32/10974_2.png) [@visolveemr](https://community.open-emr.org/u/visolveemr)\
**Post date:** [October 31, 2020, 6:36am UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/6 "2020-10-31T06:36:06Z")

</div>

Hi @Richard,

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

 ![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/5/563b9f9992f4411aa19615507727b987c6eaffb9.png)

Regards,  
[ViSolve](https://www.visolve.com/hc/)

---

<div class="post-metadata">

**Author:** ![Richard](https://community.open-emr.org/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@Richard](https://community.open-emr.org/u/Richard)\
**Post date:** [November 1, 2020, 12:38pm UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/7 "2020-11-01T12:38:58Z")

</div>

> [@Richard](#):
>
> nano /etc/apache2/apache2.conf

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.

 ![Screenshot from 2020-11-01 15-34-37](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/a/adcf86b33ac4d5080e702b5e0865f4d3676452e5.png)

---

<div class="post-metadata">

**Author:** ![visolveemr](https://community.open-emr.org/user_avatar/community.open-emr.org/visolveemr/32/10974_2.png) [@visolveemr](https://community.open-emr.org/u/visolveemr)\
**Post date:** [November 2, 2020, 4:29am UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/8 "2020-11-02T04:29:00Z")

</div>

Hi @Richard

Could you please try the following link.

> [@Manage Modules, Internal Server Error](https://community.open-emr.org/t/manage-modules-internal-server-error/3326/10):
>
> [visolveemr](https://sourceforge.net/u/visolveemr/) wrote on [Friday, September 04, 2015](https://sourceforge.net/p/openemr/discussion/202504/thread/553dee4e/#9326): Hello Rich In general ‘500 internal server error’ can happen becuase of any of the following reasons: .htaccess configuration issue php coding timing out coding error in script In your case, Try doing the following change in apache/httpd.conf file #LoadModule rewrite\_module modules/mod\_rewrite.so #LoadModule headers\_module modules/mod\_headers.so Remove the’#’ symbols from above code , save restart apache and try …

Regards,  
[ViSolve](https://www.visolve.com/hc/)

---

<div class="post-metadata">

**Author:** ![Richard](https://community.open-emr.org/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@Richard](https://community.open-emr.org/u/Richard)\
**Post date:** [November 4, 2020, 7:13am UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/9 "2020-11-04T07:13:49Z")

</div>

Thanks @visolve. I will give you feedback

---

<div class="post-metadata">

**Author:** ![Richard](https://community.open-emr.org/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@Richard](https://community.open-emr.org/u/Richard)\
**Post date:** [November 4, 2020, 3:43pm UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/10 "2020-11-04T15:43:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![visolveemr](https://community.open-emr.org/user_avatar/community.open-emr.org/visolveemr/32/10974_2.png) [@visolveemr](https://community.open-emr.org/u/visolveemr)\
**Post date:** [November 5, 2020, 5:34am UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/11 "2020-11-05T05:34:20Z")

</div>

Hi @Richard

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

LoadModule rewrite\_module modules/mod\_rewrite.so  
LoadModule headers\_module modules/mod\_headers.so

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

```auto
Include /etc/apache2/httpd.conf

```

This may help you.

Regards,  
[ViSolve](http://www.visolve.com/hc)

---

<div class="post-metadata">

**Author:** ![Richard](https://community.open-emr.org/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@Richard](https://community.open-emr.org/u/Richard)\
**Post date:** [November 6, 2020, 5:27pm UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/12 "2020-11-06T17:27:31Z")

</div>

@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.

 ![Screenshot from 2020-11-06 20-23-15](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/9/932d4d5c7d5fe5b44f10c8d3e5548dd090ebaf65.png)

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

 ![Screenshot from 2020-11-06 20-30-06](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bf9e0b32f61deab10ed9b506d081e61d56500fcf.png)

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

 ![Screenshot from 2020-11-06 20-30-54](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/2/201b5c65ffa2564a3206a27325cf478b2db5dcc1.png)

---

<div class="post-metadata">

**Author:** ![visolveemr](https://community.open-emr.org/user_avatar/community.open-emr.org/visolveemr/32/10974_2.png) [@visolveemr](https://community.open-emr.org/u/visolveemr)\
**Post date:** [November 9, 2020, 9:17am UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/13 "2020-11-09T09:17:18Z")

</div>

Hi @Richard

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

LoadModule rewrite\_module /usr/lib/apache2/modules/mod\_rewrite.so  
LoadModule headers\_module /usr/lib/apache2/modules/mod\_headers.so

Then restart your apache and this will solve your issue.

Regards,  
[ViSolve](https://www.visolve.com/hc/)

---

<div class="post-metadata">

**Author:** ![Hubtech](https://community.open-emr.org/user_avatar/community.open-emr.org/hubtech/32/15362_2.png) [@Hubtech](https://community.open-emr.org/u/Hubtech)\
**Post date:** [July 17, 2021, 9:36pm UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/14 "2021-07-17T21:36:02Z")

</div>

I’m in the same boat.

---

<div class="post-metadata">

**Author:** ![Atson\_Nakayama](https://community.open-emr.org/user_avatar/community.open-emr.org/atson_nakayama/32/16087_2.png) [@Atson\_Nakayama](https://community.open-emr.org/u/Atson_Nakayama)\
**Post date:** [July 27, 2021, 8:56am UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/15 "2021-07-27T08:56:22Z")

</div>

I also experienced similar issues with an install of OpenEMR 6.0 on OpenSuse 15.3.

Here are the steps I did to install OpenEMR 6.0 on OpenSuse 15.3 (You can also adapt it to other distros).

1. Install LAMPP stack on your distro. (Google is your friend). For reference you can use this howto [https://www.osradar.com/install-lamp-opensuse-15-2-15-1/](https://www.osradar.com/install-lamp-opensuse-15-2-15-1/)

2. Download OpenEMR 6.0 https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/6.0.0/openemr-6.0.0.tar.gz/download and extract to your apache2 www root directory /srv/www/htdocs/

3. Use this as reference to install OpenEMR 6.0 on Ubuntu or other distros https://www.digitalocean.com/community/tutorials/how-to-install-openemr-on-ubuntu-20-04-2

4. Use MariaDB instead of MySQL, using #3 step above, create the OpenEMR database and user (make sure you write down username and password, you’ll need it later to complete the install)  
NOTE: Some directory paths on Ubuntu and other distros will be different (Google is your friend).

I edited apache2 config file by using the step below to resolve the **Error 500 and 403** when trying to access **Manage Modules**

1. sudo nano /etc/apache2/httpd.conf make the changes in the section like this:  
\<Directory /srv/www/htdocs/\> or \<Directory /var/www/html\> for Ubuntu and other distros  
Options FollowSymLinks  
AllowOverride All  
Require all granted  
\<ifModule !mod\_access\_compat.c\>  
Options FollowSymLinks  
AllowOverride All  
Require all granted  
  
  
Options FollowSymLinks  
AllowOverride All  
Require all granted  
  

I haven’t tried installing it yet on Ubuntu but I also got it working using same steps on my laptop which runs Linux Mint 20.

Good luck!

---

<div class="post-metadata">

**Author:** ![gutiersa](https://community.open-emr.org/user_avatar/community.open-emr.org/gutiersa/32/11958_2.png) [@gutiersa](https://community.open-emr.org/u/gutiersa)\
**Post date:** [March 31, 2022, 3:15pm UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/16 "2022-03-31T15:15:26Z")

</div>

I am assuming you have overcome this problem? yes?

---

<div class="post-metadata">

**Author:** ![mdebussy](https://community.open-emr.org/letter_avatar_proxy/v4/letter/m/82dd89/32.png) [@mdebussy](https://community.open-emr.org/u/mdebussy)\
**Post date:** [April 27, 2022, 8:44pm UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/17 "2022-04-27T20:44:36Z")

</div>

This is what worked for me when I installed release 6.1 on Ubuntu:

Fix Issue with Portal Dashboard not opening

Commands:

sudo a2enmod headers

sudo a2enmod rewrite

sudo systemctl restart apache2

Open the Miscellaneous || Portal Dashboard menu.

Click on the manage templates button to see if the next screen will open. If it does, this step is complete.

---

<div class="post-metadata">

**Author:** ![vijaydsk](https://community.open-emr.org/user_avatar/community.open-emr.org/vijaydsk/32/18207_2.png) [@vijaydsk](https://community.open-emr.org/u/vijaydsk)\
**Post date:** [March 7, 2023, 6:04am UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/18 "2023-03-07T06:04:40Z")

</div>

Sorry all to wake this post after one year.  
Am facing the same error even after doing all mentioned in this post.  
Your support is highly appreciated.

Vijay DSK

---

<div class="post-metadata">

**Author:** ![Mohammad](https://community.open-emr.org/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@Mohammad](https://community.open-emr.org/u/Mohammad)\
**Post date:** [March 9, 2023, 1:52am UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/19 "2023-03-09T01:52:46Z")

</div>

Here is what you need to add to your apache2.conf

\<Directory “/var/www/html/openemr”\>  
AllowOverride FileInfo  
Require all granted

\<Directory “/var/www/html/openemr/sites”\>  
AllowOverride None

\<Directory “/var/www/html/openemr/sites/\*/documents”\>  
Require all denied

Do not forget to restart apache2 after you save.  
Attached is a screen shot from the recommendation of the installation on ubuntu.

 ![Screen Shot 2023-01-15 at 3.08.09 PM](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/6/e/6e9f2d84c251bca4a005177b341b56a2e0b0b875.png)

---

<div class="post-metadata">

**Author:** ![Mohammad](https://community.open-emr.org/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@Mohammad](https://community.open-emr.org/u/Mohammad)\
**Post date:** [March 9, 2023, 1:57am UTC](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/20 "2023-03-09T01:57:18Z")

</div>

I do not know why directory was not closed after each argument although I wrote it in my post?  
“forward slash followed by Directory”  
any way look at the image make sure the syntax is correct.

[Next page](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401.md?page=2)
