# 重建失败：不存在文件 /usr/local/etc/ImageMagick-6/policy.xml

**URL:** <https://meta.discourse.org/t/failed-to-rebuild-no-such-file-usr-local-etc-imagemagick-6-policy-xml/170016>\
**Category:** Self-hosting\
**Created:** [2020 年11 月 13 日 09:00 UTC](https://meta.discourse.org/t/failed-to-rebuild-no-such-file-usr-local-etc-imagemagick-6-policy-xml/170016 "2020-11-13T09:00:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
发布日期： [2020 年11 月 16 日 17:08 UTC](https://meta.discourse.org/t/failed-to-rebuild-no-such-file-usr-local-etc-imagemagick-6-policy-xml/170016/4 "2020-11-16T17:08:18Z")

</div>

感谢 @jamie.wilson 的调查，看来您使用的是过时的安装脚本版本。请尝试运行以下命令：

```plaintext
cd /var/discourse
git pull
./launcher rebuild app

```

目前这仍会失败，原因是我们正在追踪的另一个 `stable` 兼容性问题。如果您需要更新，请移除 `stable` 锁定，因为该锁定目前存在问题，且我们并不频繁测试它。

---

_[View the full topic](https://meta.discourse.org/t/failed-to-rebuild-no-such-file-usr-local-etc-imagemagick-6-policy-xml/170016)._
