Child pages
  • Hudson won't install plugins because isn't allowed

Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

If you've upgraded from a version of Hudson earlier than 1.330, you may encounter an error like the one below when attempting to install or upgrade plugins:

Oct 28, 2009 2:14:58 PM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of Mercurial Plugin on behalf of bshows
Oct 28, 2009 2:14:58 PM hudson.model.UpdateCenter$DownloadJob run
SEVERE: Failed to install Mercurial Plugin Installation of plugin from is not allowed
       at hudson.model.UpdateCenter$UpdateCenterConfiguration.preValidate(
       at hudson.model.UpdateCenter$DownloadJob._run(
       at hudson.model.UpdateCenter$InstallationJob._run(
       at hudson.model.UpdateCenter$
       at java.util.concurrent.Executors$
       at java.util.concurrent.FutureTask$Sync.innerRun(
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
       at java.util.concurrent.ThreadPoolExecutor$

This is a result of the data file Hudson gets its information on available plugins, versions, etc, and the plugin and core Hudson downloads themselves, have moved to a new server, and older versions of the file in question, update-center.json, won't work with Hudson 1.330 and later.

To fix this, do the following:

  • Stop Hudson.
  • Delete $HUDSON_HOME/update-center.json.
  • Restart Hudson.
  • Go to Manage Hudson->Manage Plugins, and then the Advanced tab - click "Check Now" in the bottom right.

After doing this, you'll have an up-to-date copy of update-center.json, and you'll be able to install or upgrade plugins as before.

  • No labels