# אין כזה קובץ או תיקיה - convert (Errno::ENOENT)

**URL:** https://meta.discourse.org/t/no-such-file-or-directory-convert-errno-enoent/286032
**Category:** Self-hosting
**Tags:** dev-install
**Created:** [20 בנובמבר,‏ 2023,‏ 4:03am UTC](https://meta.discourse.org/t/no-such-file-or-directory-convert-errno-enoent/286032 "2023-11-20T04:03:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![codergautam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codergautam/32/261083_2.png) [@codergautam](https://meta.discourse.org/u/codergautam)
#### Post date: [20 בנובמבר,‏ 2023,‏ 4:03am UTC](https://meta.discourse.org/t/no-such-file-or-directory-convert-errno-enoent/286032/1 "2023-11-20T04:03:15Z")

</div>

Trying to run Discourse dev on Windows 11 , following [this](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-windows-10-for-development/75149) tutorial.

Versions:

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/2/e/92edb13e4b2a5d85d3bf0dd296b927e3e19c142b.png)

Getting the following error, any idea why?

```plaintext
gautam@gautampc:~/discourse$ DISCOURSE_HOSTNAME=localhost UNICORN_LISTENER=localhost:3000 bin/ember-cli -u
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
patch-package 8.0.0
Applying patches...
babel-plugin-debug-macros@0.3.4 ✔
content-tag@1.1.2 ✔
ember-source@3.28.12 ✔
ember-this-fallback@0.4.0 (1 deprecation-name) ✔
ember-this-fallback@0.4.0 (2 themes) ✔
virtual-dom@2.1.1 ✔
Ember CLI running on PID: 6112
I, [2023-11-19T21:59:31.189585 #6136] INFO -- : Refreshing Gem list
Starting CSS change watcher
I, [2023-11-19T21:59:32.402308 #6136] INFO -- : listening on addr=127.0.0.1:3000 fd=24
#<Thread:0x00007ff72c9dac30 /home/gautam/discourse/lib/discourse.rb:1157 run> terminated with exception (report_on_exception is true):
/home/gautam/discourse/lib/letter_avatar.rb:112:in ``': No such file or directory - convert (Errno::ENOENT)
        from /home/gautam/discourse/lib/letter_avatar.rb:112:in `image_magick_version'
        from /home/gautam/discourse/lib/discourse.rb:1157:in `block in preload_rails!'
Proxying to http://localhost:3000
E, [2023-11-19T21:59:33.033584 #6136] ERROR -- : No such file or directory - convert (Errno::ENOENT)
/home/gautam/discourse/lib/letter_avatar.rb:112:in ``'
/home/gautam/discourse/lib/letter_avatar.rb:112:in `image_magick_version'
/home/gautam/discourse/lib/discourse.rb:1157:in `block in preload_rails!'
- building...
[bin/ember-cli] unicorn process stopped. Terminating ember-cli.

```

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [20 בנובמבר,‏ 2023,‏ 4:41am UTC](https://meta.discourse.org/t/no-such-file-or-directory-convert-errno-enoent/286032/2 "2023-11-20T04:41:34Z")

</div>

What Linux did you install Discourse on? (Unless you modified the script, I would assume Ubuntu 22)

Can you share the output of `convert --version`? I’m wondering if ImageMagick is properly installed.

As a side note, it’s odd you have node v16; the script installed node v18. 🤔

---

<div class="post-metadata">

### Author: ![codergautam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codergautam/32/261083_2.png) [@codergautam](https://meta.discourse.org/u/codergautam)
#### Post date: [20 בנובמבר,‏ 2023,‏ 1:40pm UTC](https://meta.discourse.org/t/no-such-file-or-directory-convert-errno-enoent/286032/3 "2023-11-20T13:40:03Z")

</div>

Turns out the script didn’t install properly for some reason so I was manually installing node and the other deps as I ran into issues with commands 😬. I think it would’ve worked if I just installed ImageMagick from apt, but I did re run the initial installer script and that fixed it.

Thanks!

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [20 בנובמבר,‏ 2023,‏ 1:47pm UTC](https://meta.discourse.org/t/no-such-file-or-directory-convert-errno-enoent/286032/4 "2023-11-20T13:47:58Z")

</div>

Can you share what issue happened, and where the script failed?

I installed Discourse on a fresh Ubuntu 22 several times (windows 11 as well), and it works without issue.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [20 בדצמבר,‏ 2023,‏ 1:48pm UTC](https://meta.discourse.org/t/no-such-file-or-directory-convert-errno-enoent/286032/5 "2023-12-20T13:48:30Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
