Can’t Find the “Install new module” Link in Drupal?

cant install modules

When developers install Drupal modules, they rely on Drush or version control to manage their work.

However, most ordinary Drupal users do everything through the admin interface. They install modules via the “Install new modules” link.

Sometimes that link goes missing. If you can’t find your “Install new modules” link, here are four possible solutions.

#1. The Update Manager module is disabled

The most common reason why people can’t see the “Install new module” link is that the Update Manager module is enabled.

Go to your Modules page and make sure it is enabled:

Install new module link in Drupal

#2. Administer modules permission

It is possible that you don’t have the correct permissions to install modules.

One way to double-check whether this is your problem, is to visit this URL on your site: /admin/modules/install. If you see “You are not authorized to access this page.”, then you’ve found the issue.

The permission you need is called “Administer modules” and you’ll find it under People > Permissions > System.

Administer modules permissions in Drupal

#3. Your hosting company

Quite a few hosting companies won’t allow you to upload modules via the Drupal interface.

For example, here’s what Acquia says:

“One of the most common tasks you’ll accomplish while developing or maintaining a Drupal website is adding a Drupal contributed module. If you’re used to working in a local installation of Drupal 7, you may be used to doing this directly in the Drupal admin interface, using the core Update Manager module. If your site is hosted on Acquia Cloud, your site’s module directories are managed in your code repository. This means that you can’t just add a module using the Update Manager or SFTP. Instead, you need to use your version control system (Git or SVN). “

Managing your modules with version control is definitely aligned with Drupal’s best practices, but it does explain why your “Install new module” link is missing.

Other hosting companies also disable “Install new module” for the same reasons.

#4. Check your settings.php file

Open up your site’s files and go to /sites/default/settings.php. Look for this line of code:

#$conf['allow_authorize_operations'] = FALSE; 

Make sure that the # symbol exists at the front of this line.

If it doesn’t exist, add the # symbol so it matches the code above. Or, you can change that code to this:

$conf['allow_authorize_operations'] = TRUE;

Author

  • Steve Burge

    Steve is the founder of OSTraining. Originally from the UK, he now lives in Sarasota in the USA. Steve's work straddles the line between teaching and web development.

0 0 votes
Article Rating
Subscribe
Notify of
10 Comments
Oldest
Newest
Inline Feedbacks
View all comments
Goli Houssou
Goli Houssou
8 years ago

hi

thanks.. i confirm , update manager disabled always cause it when on dev

Goli Houssou
Goli Houssou
7 years ago

hi
is it possible to make that link available without update manager enable?

daniel-pickering
7 years ago
Reply to  Goli Houssou

Hi Goli,
Why would you not want to have it enabled ?
Thanks

Daniel

Goli Houssou
Goli Houssou
7 years ago

hi Daniel

On some distribution(for me) , when i dev environnement(for me) , update manager (even when using cron) sometimes kill performance.

daniel-pickering
7 years ago
Reply to  Goli Houssou

Hi Goli,
Interesting I haven’t really run into issues with that. If you are working on Dev you really should be using drush or console to search for and update modules automatically. Save yourself a lot of time and effort.

ZamZam
ZamZam
5 years ago

Thank you so much. First solution has worked for me!

harsh varma
harsh varma
5 years ago

page not found /sites/default/settings.php
can you please solve this issue??

Ahmad
Ahmad
5 years ago

try uninstall Umami demo: Content if you are using it and try to re install it after installing the update manager

Dimi
Dimi
4 years ago

#1 is so often the problem… as people sometimes disable the update manager to check performance and loading time and than forget to re-enable it 😀

sultan
1 year ago

Hello, my drupal7 website’s modules and core are out of date. The ‘updateModule’ and ‘AddNewModule’ options are missing from my admin panel I cannot access them.
my site is hosted on Acquia Cloud and I do not have root access too.
I searched a lot, found some solutions but none worked for me:

1. disabled and re-enabled update manager in Drupal
2. tried to update with drush, didn’t work. I don’t have root access to server, Acquia Does not provide root permission.
3. I updated ($conf[‘allow_authorize_operations’] = TRUE;) in settings.php but didn’t work.
4. I changed themes but didn’t work.
5. I cleared and rebuilt cache.
6. tried to install modules manually but Drupal doesn’t recognize the new added modules manually.

It has been more than 5 months driving me crazy. Please let me know if you have any solutions to this!!!

10
0
Would love your thoughts, please comment.x
()
x