# Chown: '/var/www/discourse/public/fonts'을(를) 참조할 수 없음: 그런 파일 또는 디렉터리가 없습니다

**URL:** https://meta.discourse.org/t/chown-cannot-dereference-var-www-discourse-public-fonts-no-such-file-or-directory/171493
**Category:** Bug
**Created:** [11월 27, 2020, 1:52오후 UTC](https://meta.discourse.org/t/chown-cannot-dereference-var-www-discourse-public-fonts-no-such-file-or-directory/171493 "2020-11-27T13:52:01Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [11월 27, 2020, 1:52오후 UTC](https://meta.discourse.org/t/chown-cannot-dereference-var-www-discourse-public-fonts-no-such-file-or-directory/171493/1 "2020-11-27T13:52:01Z")

</div>

최신 버전 재구축 시 다음 오류가 발생합니다:

`chown: cannot dereference '/var/www/discourse/public/fonts': No such file or directory `

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [11월 27, 2020, 4:24오후 UTC](https://meta.discourse.org/t/chown-cannot-dereference-var-www-discourse-public-fonts-no-such-file-or-directory/171493/2 "2020-11-27T16:24:31Z")

</div>

여전히 그런 상태입니다… 컨테이너가 실행 중이지 않으면 해결할 수 있는 문제가 아닙니다!

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [11월 27, 2020, 4:30오후 UTC](https://meta.discourse.org/t/chown-cannot-dereference-var-www-discourse-public-fonts-no-such-file-or-directory/171493/3 "2020-11-27T16:30:22Z")

</div>

기본 릴리스 채널을 사용 중이신가요?

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [11월 27, 2020, 4:31오후 UTC](https://meta.discourse.org/t/chown-cannot-dereference-var-www-discourse-public-fonts-no-such-file-or-directory/171493/4 "2020-11-27T16:31:57Z")

</div>

이 부분은 테스트 통과를 기준으로 따릅니다.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [11월 27, 2020, 4:32오후 UTC](https://meta.discourse.org/t/chown-cannot-dereference-var-www-discourse-public-fonts-no-such-file-or-directory/171493/5 "2020-11-27T16:32:49Z")

</div>

부트스트랩 없이 기본 이미지를 시작했는데 폴더가 이미 존재합니다:

```plaintext
root@c58c37ab127f:/var/www/discourse/public# ls -lah fonts
lrwxrwxrwx 1 root root 90 Nov 25 22:29 fonts -> /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/discourse-fonts-0.0.5/vendor/assets/fonts

```

기본 릴리스 채널에서 재빌드도 해봤는데 정상적으로 작동합니다 🤔

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [11월 27, 2020, 4:35오후 UTC](https://meta.discourse.org/t/chown-cannot-dereference-var-www-discourse-public-fonts-no-such-file-or-directory/171493/6 "2020-11-27T16:35:45Z")

</div>

의심스러운 볼륨(벤더 캐시)을 제거한 후 재구성을 시도해 보고 있습니다. 그 외에는 더 이상 생각해낼 아이디어가 없습니다.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [11월 27, 2020, 4:38오후 UTC](https://meta.discourse.org/t/chown-cannot-dereference-var-www-discourse-public-fonts-no-such-file-or-directory/171493/7 "2020-11-27T16:38:11Z")

</div>

app.yml에 고정된(base) 기본 이미지가 있나요?

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [11월 27, 2020, 4:50오후 UTC](https://meta.discourse.org/t/chown-cannot-dereference-var-www-discourse-public-fonts-no-such-file-or-directory/171493/8 "2020-11-27T16:50:05Z")

</div>

그게 뭔지 잘 모르겠네요… 하지만 분명히 볼륨이 원인이었습니다.  
@falco 님, 감사합니다. 이 주제는 닫아도 될 것 같습니다.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [11월 27, 2020, 4:52오후 UTC](https://meta.discourse.org/t/chown-cannot-dereference-var-www-discourse-public-fonts-no-such-file-or-directory/171493/9 "2020-11-27T16:52:39Z")

</div>


