Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress RPM not showing plugins update

We have a Wordpress multisite 4.2.2 RPM installation on CentOS 6.6 and in the network plugins panel, the add plugin button and the plugins updates are not showing up (100% sure some plugins are not up to date).

The odd thing is when heading to /wp-admin/network/plugin-install.php, it says we haven't sufficient permissions to access the page. Note that we have a superadmin account.

So far, we tried to comment the config line define( 'DISALLOW_FILE_MODS', true ); and changing all the salt in the config ... no luck.

We tested our server connection to api.wordpress.org:443 and planet.wordpress.org:443 without any problem.

Also note that we have a second WP installation on the same server (not multisite) which is working as intended.

Any clue is welcome, thanks !

like image 486
Aurélien Grimpard Avatar asked Nov 09 '22 10:11

Aurélien Grimpard


1 Answers

We find out it was a problem with the config.

We needed to keep define('AUTOMATIC_UPDATER_DISABLED', true); and we commented define( 'DISALLOW_FILE_MODS', true );. But DISALLOW_FILE_MODS need to be set as false, not just commented otherwise default value is true i guess.

like image 162
Aurélien Grimpard Avatar answered Nov 15 '22 05:11

Aurélien Grimpard