Unable to publish artifact: No artifact handler found.
Asked by Korbinian Breu:

One of my plans produces artifacts that other builds depend upon. However, seemingly random it ceased to produce these artifacts. The error message is:

|----------------------|----------------------------------------------------------------|
| 28-Apr-2014 08:21:15 | Unable to publish artifact \[...\]: No artifact handler found. |
| 28-Apr-2014 08:21:15 | Unable to publish artifact \[...\]: No artifact handler found. |
| 28-Apr-2014 08:21:15 | Unable to publish artifact \[...\]: No artifact handler found. |

The plan does not fail, but dependent plans that need the artifact fail with

Unable to download artifact Shared artifact: \[...\], pattern: \[...\] anchored at: \[...\]

The artifacts are of "jar" and "zip" type, and I verified that they indeed exist.

<br />


Answers:
author: Przemek Bruski
body: There's a bug in pre-5.6 that randomly disables plugins during restart, that's probably what caused it. If you want to make sure it does not happen again, pleas upgrade to 5.6.


author: Bruno Kinoshita
body: Had the same problem. Here's my scenario. We were using Bamboo Cloud, archiving artifacts like Maven files and some Git files to share with other plans. These artifacts were stored in S3, where everything was working fine.

We moved to an internal Bamboo server, imported the plans, and for some reason it would fail with the same message of Unable to publish artifact \[xyz.war\]: No artifact handler found.

I went to the management screen, and on the left hand side menu selected Artifacts handler. There I could see storage options, and confirmed S3 was checked. It was also checked to use the same credentials used for spinning new agents (which was working fine).

So after some experimentation, here's what fixed the issue for us. I created a test job, and while playing with it, I noticed there was an option under miscellaneous to override the artifacts handler. When I checked that option, it came with the same storage options and check boxes that I could see in the management screen.

Except that all were unchecked. Not sure if relevant. But anyhow, once this plan was saved with this setting overriding, all other plans started working again.

Hope it helps someone else too.

comments: author: Thomas Debost
body: Very relevant.

We experienced the exact same issue and creating a "dummy" test job as you described worked.

Thanks a lot for sharing.


author: Juan Ignacio Onetto
body: I am having the same issue. Suddenly is stopped working.

```
simple	08-Oct-2015 16:57:03	Build Branches Integration - Build Master Artifacts - Tasks #569 (COL-BMA-JOB1-569) started building on agent Elastic Agent on i-a636e204simple	08-Oct-2015 16:57:03	Elastic agent on instance i-a636e204simple	08-Oct-2015 16:57:04	Build working directory is /mnt/bamboo-ebs/bamboo-agent/build-dir/COL-BMA-JOB1simple	08-Oct-2015 16:57:04	Executing build Branches Integration - Build Master Artifacts - Tasks #569 (COL-BMA-JOB1-569)simple	08-Oct-2015 16:57:04	Starting task 'Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'simple	08-Oct-2015 16:57:04	Updating source code to revision: cf7dd58c5b65da7bb24cd208e913f8707e379818simple	08-Oct-2015 16:57:04	Fetching 'refs/heads/master' from 'https://bitbucket.org/colppy/colppy'.simple	08-Oct-2015 16:57:05	Checking out revision cf7dd58c5b65da7bb24cd208e913f8707e379818.simple	08-Oct-2015 16:57:05	Already on 'master'simple	08-Oct-2015 16:57:05	Updated source code to revision: cf7dd58c5b65da7bb24cd208e913f8707e379818simple	08-Oct-2015 16:57:05	Finished task 'Checkout' with result: Successsimple	08-Oct-2015 16:57:05	Running pre-build action: VCS Version Collectorsimple	08-Oct-2015 16:57:06	Running post build plugin 'Docker Container Cleanup'simple	08-Oct-2015 16:57:06	Running post build plugin 'NCover Results Collector'simple	08-Oct-2015 16:57:06	Running post build plugin 'Clover Results Collector'simple	08-Oct-2015 16:57:06	Running post build plugin 'npm Cache Cleanup'simple	08-Oct-2015 16:57:06	Running post build plugin 'Artifact Copier'simple	08-Oct-2015 16:57:06	Publishing an artifact: ChangeLogssimple	08-Oct-2015 16:57:07	Finished publishing of artifact Shared artifact: [ChangeLogs], pattern: [**/*.xml] anchored at: [lib/scripts/mysql] in 1ssimple	08-Oct-2015 16:57:07	Publishing an artifact: Indexsimple	08-Oct-2015 16:57:07	Finished publishing of artifact Shared artifact: [Index], pattern: [index.php] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:07	Publishing an artifact: Provisiones FacturaVentasimple	08-Oct-2015 16:57:07	Finished publishing of artifact Shared artifact: [Provisiones FacturaVenta], pattern: [resources/Provisiones/FacturaVenta/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:07	Publishing an artifact: CI Scriptssimple	08-Oct-2015 16:57:08	Finished publishing of artifact Shared artifact: [CI Scripts], pattern: [lib/scripts/ci/**] in 0ssimple	08-Oct-2015 16:57:08	Publishing an artifact: Index comprimidosimple	08-Oct-2015 16:57:08	Finished publishing of artifact Shared artifact: [Index comprimido], pattern: [index.php] anchored at: [lib/scripts/ci] in 0ssimple	08-Oct-2015 16:57:08	Publishing an artifact: Todos XLSsimple	08-Oct-2015 16:57:08	Finished publishing of artifact Shared artifact: [Todos XLS], pattern: [resources/**/*.xls] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:08	Publishing an artifact: paneldecontrol phpsimple	08-Oct-2015 16:57:09	Finished publishing of artifact Shared artifact: [paneldecontrol php], pattern: [resources/php/paneldecontrol/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:09	Publishing an artifact: Todo CSSsimple	08-Oct-2015 16:57:09	Finished publishing of artifact Shared artifact: [Todo CSS], pattern: [resources/css/*.css] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:09	Publishing an artifact: Iconssimple	08-Oct-2015 16:57:09	Finished publishing of artifact Shared artifact: [Icons], pattern: [resources/icons/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:09	Publishing an artifact: .Htaccesssimple	08-Oct-2015 16:57:09	Finished publishing of artifact Shared artifact: [.Htaccess], pattern: [**/*.htaccess] anchored at: [lib/scripts/ci/produccion] in 0ssimple	08-Oct-2015 16:57:09	Publishing an artifact: Todo pemsimple	08-Oct-2015 16:57:10	Finished publishing of artifact Shared artifact: [Todo pem], pattern: [resources/**/*.pem] in 0ssimple	08-Oct-2015 16:57:10	Publishing an artifact: cron medios pagosimple	08-Oct-2015 16:57:10	Finished publishing of artifact Shared artifact: [cron medios pago], pattern: [lib/scripts/admin/cronmediospago/**] in 0ssimple	08-Oct-2015 16:57:10	Publishing an artifact: php Clientessimple	08-Oct-2015 16:57:10	Finished publishing of artifact Shared artifact: [php Clientes], pattern: [resources/php/clientes/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:10	Publishing an artifact: php fesimple	08-Oct-2015 16:57:10	Finished publishing of artifact Shared artifact: [php fe], pattern: [resources/php/fe/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:10	Publishing an artifact: php glsimple	08-Oct-2015 16:57:11	Finished publishing of artifact Shared artifact: [php gl], pattern: [resources/php/gl/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:11	Publishing an artifact: Footersimple	08-Oct-2015 16:57:11	Finished publishing of artifact Shared artifact: [Footer], pattern: [**/FooterColppy.html] anchored at: [lib/scripts/ci/produccion] in 0ssimple	08-Oct-2015 16:57:11	Publishing an artifact: Globales.jssimple	08-Oct-2015 16:57:11	Finished publishing of artifact Shared artifact: [Globales.js], pattern: [**/globales.js] anchored at: [lib/scripts/ci/produccion] in 0ssimple	08-Oct-2015 16:57:11	Publishing an artifact: Param.phpsimple	08-Oct-2015 16:57:11	Finished publishing of artifact Shared artifact: [Param.php], pattern: [**/param.php] anchored at: [lib/scripts/ci/produccion] in 0ssimple	08-Oct-2015 16:57:11	Publishing an artifact: php proveedoressimple	08-Oct-2015 16:57:11	Finished publishing of artifact Shared artifact: [php proveedores], pattern: [resources/php/proveedores/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:11	Publishing an artifact: .htaccess Stagingsimple	08-Oct-2015 16:57:12	Finished publishing of artifact Shared artifact: [.htaccess Staging], pattern: [**/*.htaccess] anchored at: [lib/scripts/ci/staging] in 0ssimple	08-Oct-2015 16:57:12	Publishing an artifact: Footer Stagingsimple	08-Oct-2015 16:57:12	Finished publishing of artifact Shared artifact: [Footer Staging], pattern: [**/FooterColppy.html] anchored at: [lib/scripts/ci/staging] in 0ssimple	08-Oct-2015 16:57:12	Publishing an artifact: Globales Stagingsimple	08-Oct-2015 16:57:12	Finished publishing of artifact Shared artifact: [Globales Staging], pattern: [**/globales.js] anchored at: [lib/scripts/ci/staging] in 0ssimple	08-Oct-2015 16:57:12	Publishing an artifact: Param Stagingsimple	08-Oct-2015 16:57:12	Finished publishing of artifact Shared artifact: [Param Staging], pattern: [**/param.php] anchored at: [lib/scripts/ci/staging] in 0ssimple	08-Oct-2015 16:57:12	Publishing an artifact: Services Configsimple	08-Oct-2015 16:57:12	Finished publishing of artifact Shared artifact: [Services Config], pattern: [**/service.php] anchored at: [lib/scripts/ci/produccion] in 0ssimple	08-Oct-2015 16:57:12	Publishing an artifact: Config Frontera Produccionsimple	08-Oct-2015 16:57:12	Finished publishing of artifact Shared artifact: [Config Frontera Produccion], pattern: [**/produccion.php] anchored at: [lib/scripts/ci/produccion] in 0ssimple	08-Oct-2015 16:57:12	Publishing an artifact: Config Frontera Stagingsimple	08-Oct-2015 16:57:12	Finished publishing of artifact Shared artifact: [Config Frontera Staging], pattern: [**/produccion.php] anchored at: [lib/scripts/ci/staging] in 0ssimple	08-Oct-2015 16:57:12	Publishing an artifact: tesoreria phpsimple	08-Oct-2015 16:57:13	Finished publishing of artifact Shared artifact: [tesoreria php], pattern: [resources/php/tesoreria/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:13	Publishing an artifact: common PHPsimple	08-Oct-2015 16:57:13	Finished publishing of artifact Shared artifact: [common PHP], pattern: [resources/php/common/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:13	Publishing an artifact: provisiones phperror	08-Oct-2015 16:57:21	Unable to publish artifact [provisiones php]: Unable to publish artifact Shared artifact: [provisiones php], pattern: [resources/Provisiones/**] anchored at: [/] for COL-BMA-JOB1-569 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@1119923 simple	08-Oct-2015 16:57:21	Finished publishing of artifact Shared artifact: [provisiones php], pattern: [resources/Provisiones/**] anchored at: [/] in 7ssimple	08-Oct-2015 16:57:21	Publishing an artifact: Portal Clientes apperror	08-Oct-2015 16:57:48	Unable to publish artifact [Portal Clientes app]: Unable to publish artifact Shared artifact: [Portal Clientes app], pattern: [resources/portalclientes/app/**] anchored at: [/] for COL-BMA-JOB1-569 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@10eed8b simple	08-Oct-2015 16:57:48	Finished publishing of artifact Shared artifact: [Portal Clientes app], pattern: [resources/portalclientes/app/**] anchored at: [/] in 27ssimple	08-Oct-2015 16:57:48	Publishing an artifact: globales desarrolladorsimple	08-Oct-2015 16:57:48	Finished publishing of artifact Shared artifact: [globales desarrollador], pattern: [lib/scripts/ci/produccion/desarrollador/globales.js] in 0ssimple	08-Oct-2015 16:57:48	Publishing an artifact: .htaccess desarrolladorsimple	08-Oct-2015 16:57:48	Finished publishing of artifact Shared artifact: [.htaccess desarrollador], pattern: [lib/scripts/ci/produccion/desarrollador/.htaccess] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:48	Publishing an artifact: Portal clientes configsimple	08-Oct-2015 16:57:48	Finished publishing of artifact Shared artifact: [Portal clientes config], pattern: [resources/portalclientes/config/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:48	Publishing an artifact: desarrollador PHPsimple	08-Oct-2015 16:57:49	Finished publishing of artifact Shared artifact: [desarrollador PHP], pattern: [desarrollador/**/*.php] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:49	Publishing an artifact: Desarrollador Oauthsimple	08-Oct-2015 16:57:50	Finished publishing of artifact Shared artifact: [Desarrollador Oauth], pattern: [desarrollador/lib/OAuth/**] in 0ssimple	08-Oct-2015 16:57:50	Publishing an artifact: Desarrollador Resourcessimple	08-Oct-2015 16:57:50	Finished publishing of artifact Shared artifact: [Desarrollador Resources], pattern: [desarrollador/resources/**] in 0ssimple	08-Oct-2015 16:57:50	Publishing an artifact: portalclientes nodemodulessimple	08-Oct-2015 16:57:50	Finished publishing of artifact Shared artifact: [portalclientes nodemodules], pattern: [resources/portalclientes/node_modules/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:50	Publishing an artifact: Imagessimple	08-Oct-2015 16:57:51	Finished publishing of artifact Shared artifact: [Images], pattern: [resources/images/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:51	Publishing an artifact: JSsimple	08-Oct-2015 16:57:53	Finished publishing of artifact Shared artifact: [JS], pattern: [resources/js/Colppy/**/*.js] anchored at: [/] in 2ssimple	08-Oct-2015 16:57:53	Publishing an artifact: php empresasimple	08-Oct-2015 16:57:53	Finished publishing of artifact Shared artifact: [php empresa], pattern: [resources/php/empresa/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:53	Publishing an artifact: micuenta phpsimple	08-Oct-2015 16:57:54	Finished publishing of artifact Shared artifact: [micuenta php], pattern: [resources/php/micuenta/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:54	Publishing an artifact: colppymanager jssimple	08-Oct-2015 16:57:54	Finished publishing of artifact Shared artifact: [colppymanager js], pattern: [resources/js/ColppyManager/**/*.js] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:54	Publishing an artifact: overrides jssimple	08-Oct-2015 16:57:54	Finished publishing of artifact Shared artifact: [overrides js], pattern: [resources/js/overrides/**/*.js] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:54	Publishing an artifact: provisiones archivosimple	08-Oct-2015 16:57:55	Finished publishing of artifact Shared artifact: [provisiones archivo], pattern: [resources/Provisiones/Archivo/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:55	Publishing an artifact: inventario provisionessimple	08-Oct-2015 16:57:55	Finished publishing of artifact Shared artifact: [inventario provisiones], pattern: [resources/Provisiones/Inventario/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:55	Publishing an artifact: proveedor provisionessimple	08-Oct-2015 16:57:55	Finished publishing of artifact Shared artifact: [proveedor provisiones], pattern: [resources/Provisiones/Proveedor/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:55	Publishing an artifact: referido provisionessimple	08-Oct-2015 16:57:55	Finished publishing of artifact Shared artifact: [referido provisiones], pattern: [resources/Provisiones/Referido/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:55	Publishing an artifact: provisiones Clientesimple	08-Oct-2015 16:57:55	Finished publishing of artifact Shared artifact: [provisiones Cliente], pattern: [resources/Provisiones/Cliente/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:55	Publishing an artifact: socio provisionessimple	08-Oct-2015 16:57:55	Finished publishing of artifact Shared artifact: [socio provisiones], pattern: [resources/Provisiones/Socio/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:55	Publishing an artifact: tesoreria provisionessimple	08-Oct-2015 16:57:55	Finished publishing of artifact Shared artifact: [tesoreria provisiones], pattern: [resources/Provisiones/Tesoreria/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:57:55	Publishing an artifact: provisiones ColppyCommonerror	08-Oct-2015 16:58:03	Unable to publish artifact [provisiones ColppyCommon]: Unable to publish artifact Shared artifact: [provisiones ColppyCommon], pattern: [resources/Provisiones/ColppyCommon/**] anchored at: [/] for COL-BMA-JOB1-569 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@a34ee simple	08-Oct-2015 16:58:03	Finished publishing of artifact Shared artifact: [provisiones ColppyCommon], pattern: [resources/Provisiones/ColppyCommon/**] anchored at: [/] in 7ssimple	08-Oct-2015 16:58:03	Publishing an artifact: Provisiones Contabilidadsimple	08-Oct-2015 16:58:04	Finished publishing of artifact Job artifact: [Provisiones Contabilidad], pattern: [resources/Provisiones/Contabilidad/**] anchored at: [/] in 1ssimple	08-Oct-2015 16:58:04	Publishing an artifact: Provisiones Desarrolladorsimple	08-Oct-2015 16:58:05	Finished publishing of artifact Shared artifact: [Provisiones Desarrollador], pattern: [resources/Provisiones/Desarrollador/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:58:05	Publishing an artifact: Provisiones Empresasimple	08-Oct-2015 16:58:05	Finished publishing of artifact Shared artifact: [Provisiones Empresa], pattern: [resources/Provisiones/Empresa/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:58:05	Publishing an artifact: Provisiones FacturaComprasimple	08-Oct-2015 16:58:05	Finished publishing of artifact Shared artifact: [Provisiones FacturaCompra], pattern: [resources/Provisiones/FacturaCompra/**] anchored at: [/] in 0ssimple	08-Oct-2015 16:58:05	Finalising the build...simple	08-Oct-2015 16:58:05	Stopping timer.simple	08-Oct-2015 16:58:05	Build COL-BMA-JOB1-569 completed.simple	08-Oct-2015 16:58:05	Running on server: post build plugin 'NCover Results Collector'simple	08-Oct-2015 16:58:05	Running on server: post build plugin 'Clover Delta Calculator'simple	08-Oct-2015 16:58:06	Running on server: post build plugin 'Maven Dependencies Postprocessor'simple	08-Oct-2015 16:58:06	Running on server: post build plugin 'Build Hanging Detection Configuration'simple	08-Oct-2015 16:58:06	All post build plugins have finishedsimple	08-Oct-2015 16:58:06	Generating build results summary...simple	08-Oct-2015 16:58:06	Saving build results to disk...simple	08-Oct-2015 16:58:06	Logging substituted variables...simple	08-Oct-2015 16:58:06	Indexing build results...simple	08-Oct-2015 16:58:06	Finished building COL-BMA-JOB1-569.
```


author: srikanth chowdary
body: Hi,

Iam facing problem with

Unable to publish artifact \[xxx-tar\]: Unable to publish artifact Shared artifact: \[xxx-tar\], pattern: \[\*\*/\*.tar\] anchored at: \[/target\] for yyy-TAR-JOB1-42 via [com.atlassian.bamboo.build.artifact.ServerLocalArtifactHandler@33a30e57](mailto:com.atlassian.bamboo.build.artifact.ServerLocalArtifactHandler@33a30e57)

this was the error i am facing,recently it worked but now its nt working


author: Nicolas Nguyen
body: Hi Gretchen,

Thanks for responding. Found out the Artifact Handle add-on was un-enabled. Once enabled, everything works again.

What's interesting was that I am the only one who has access to this and I know I didn't turn it off.


author: Gretchen
body: Usually when I encounter this it is because there is something wrong with the path or artifact I have specified (usually a regex error). Also make sure the "shared" checkbox is checked.

I normally leave the artifact "location" field empty to avoid setting it in one location and forgetting to do it in another. Make sure your regex is correct. More often than not that is the cause of my failures.


author: Nicolas Nguyen
body: I am also getting this error. Everything has been working fine until today. Suddenly, no artifacts produced from all the builds.

Looking at the log and this is what I saw:

Unable to publish artifact \[xyz.war\]: No artifact handler found.

I also restarted Bamboo and still see the same issue.

comments: author: Gretchen
body: Nicholas, if it worked and suddenly doesn't you might check the audit trail on the task to make sure someone didn't inadvertently change something that affected the artifact definition.


author: Marcos Sigueros
body: We're having same problem. Nobody touched nothing so what could it be?