# Failed to upload alert panel image.

**URL:** <https://forums.percona.com/t/failed-to-upload-alert-panel-image/6485>\
**Category:** PMM 1.x\
**Created:** [August 1, 2018, 3:16am UTC](https://forums.percona.com/t/failed-to-upload-alert-panel-image/6485 "2018-08-01T03:16:21Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/fan/32/40_2.png) [@Fan](https://forums.percona.com/u/Fan)\
**Post date:** [August 1, 2018, 3:16am UTC](https://forums.percona.com/t/failed-to-upload-alert-panel-image/6485/1 "2018-08-01T03:16:21Z")

</div>

msg=“Failed to upload alert panel image.” logger=alerting.notifier error=“fork/exec /usr/share/grafana/tools/phantomjs/phantomjs: no such file or directory”

pmm version 1.12.0

---

<div class="post-metadata">

**Author:** ![Fan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/fan/32/40_2.png) [@Fan](https://forums.percona.com/u/Fan)\
**Post date:** [August 1, 2018, 3:18am UTC](https://forums.percona.com/t/failed-to-upload-alert-panel-image/6485/2 "2018-08-01T03:18:47Z")

</div>

[root@023b5832ae0f grafana]# ls  
conf public scripts  
[root@023b5832ae0f grafana]# pwd  
/usr/share/grafana

Enter docker. I don’t see the tool directory.

---

<div class="post-metadata">

**Author:** ![Fan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/fan/32/40_2.png) [@Fan](https://forums.percona.com/u/Fan)\
**Post date:** [August 1, 2018, 3:54am UTC](https://forums.percona.com/t/failed-to-upload-alert-panel-image/6485/3 "2018-08-01T03:54:46Z")

</div>

I copied the missing files(phantomjs and render.js) from the pmm of my company’s 1.4 versions. Then I copied them to the current pmm. Now the alarm has a picture.  
But why is this happening? No one has manually deleted this file.

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [August 1, 2018, 11:21am UTC](https://forums.percona.com/t/failed-to-upload-alert-panel-image/6485/4 "2018-08-01T11:21:53Z")

</div>

Are you deploying via Docker? Do you see this problem occurring using today’s release of 1.13?

---

<div class="post-metadata">

**Author:** ![Fan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/fan/32/40_2.png) [@Fan](https://forums.percona.com/u/Fan)\
**Post date:** [August 1, 2018, 9:29pm UTC](https://forums.percona.com/t/failed-to-upload-alert-panel-image/6485/5 "2018-08-01T21:29:17Z")

</div>

[QUOTE=Michael Coburn;51972]  
Are you deploying via Docker? Do you see this problem occurring using today’s release of 1.13?  
[/QUOTE]

1.deploying via docker yes  
2.still have the problem

t=2018-08-02T02:56:53+0000 lvl=info msg=Rendering logger=png-renderer path=“d-solo/LZrx7Qdiz/node008032gao-jing-ye-mian?panelId=97”  
t=2018-08-02T02:56:53+0000 lvl=eror msg=“Could not start command” logger=png-renderer LOG15\_ERROR= LOG15\_ERROR=“Normalized odd number of arguments by adding nil”  
t=2018-08-02T02:56:53+0000 lvl=eror msg=“Failed to upload alert panel image.” logger=alerting.notifier error=“fork/exec /usr/share/grafana/tools/phantomjs/phantomjs: no such file or directory”  
t=2018-08-02T02:56:53+0000 lvl=info msg=“Sending alert notification to” logger=alerting.notifier.email addresses=[fanboshi@mafengwo.com]  
^C  
[root@9a80e0f8e9ee grafana]# head -1 /srv/update/main.yml

# v1.13.0

[root@9a80e0f8e9ee grafana]# ls  
conf public scripts

---

<div class="post-metadata">

**Author:** ![Fan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/fan/32/40_2.png) [@Fan](https://forums.percona.com/u/Fan)\
**Post date:** [August 9, 2018, 8:08pm UTC](https://forums.percona.com/t/failed-to-upload-alert-panel-image/6485/6 "2018-08-09T20:08:29Z")

</div>

> [@Michael Coburn;51972](#):
>
> Are you deploying via Docker? Do you see this problem occurring using today’s release of 1.13?

so? Is it a bug or something?

---

<div class="post-metadata">

**Author:** ![Fan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/fan/32/40_2.png) [@Fan](https://forums.percona.com/u/Fan)\
**Post date:** [September 12, 2018, 11:20pm UTC](https://forums.percona.com/t/failed-to-upload-alert-panel-image/6485/7 "2018-09-12T23:20:06Z")

</div>

Has this bug been fixed in 1.14? @[Michael Coburn](https://www.percona.com/forums/member/22577-michael-coburn)

---

<div class="post-metadata">

**Author:** ![lao454490095](https://avatars.discourse-cdn.com/v4/letter/l/c0e974/32.png) [@lao454490095](https://forums.percona.com/u/lao454490095)\
**Post date:** [October 2, 2018, 12:56pm UTC](https://forums.percona.com/t/failed-to-upload-alert-panel-image/6485/8 "2018-10-02T12:56:03Z")

</div>

I have exactly the same issue.

Installed via Docker

PMM version: 1.14.1

Missing phantomjs executable

How is missing executable acceptable in a product?

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [October 2, 2018, 3:43pm UTC](https://forums.percona.com/t/failed-to-upload-alert-panel-image/6485/9 "2018-10-02T15:43:48Z")

</div>

Hi [Fan](https://percona.vanillacommunities.com/profile/x/x/41523) , [lao454490095](https://percona.vanillacommunities.com/profile/x/x/42382)

Let me see if we can get some QA attention on this thread. Please wait for further information, thanks for details provided so far

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [October 3, 2018, 11:59am UTC](https://forums.percona.com/t/failed-to-upload-alert-panel-image/6485/10 "2018-10-03T11:59:49Z")

</div>

Hi [Fan](https://percona.vanillacommunities.com/profile/x/x/41523) , [lao454490095](https://percona.vanillacommunities.com/profile/x/x/42382)

We’ve done some investigation and it appears that PMM Server is missing the PhantomJS library, due to upstream Grafana issue. We’ve filed a PMM bug and we’ll get some developer eyes on it ASAP:  
[url][[PMM-3056] Using direct link rendered image leads to error: "fork/exec /usr/share/grafana/tools/phantomjs/phantomjs: no such file or directory" - Percona JIRA](https://jira.percona.com/browse/PMM-3056%5B/url%5D)

Thanks for reporting it !
