# Using Octoprint and it can't find 'printer.cfg' file

**URL:** <https://klipper.discourse.group/t/using-octoprint-and-it-cant-find-printer-cfg-file/13876>\
**Category:** General Discussion\
**Created:** [February 5, 2024, 11:43pm UTC](https://klipper.discourse.group/t/using-octoprint-and-it-cant-find-printer-cfg-file/13876 "2024-02-05T23:43:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgd](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@dgd](https://klipper.discourse.group/u/dgd)\
**Post date:** [February 5, 2024, 11:43pm UTC](https://klipper.discourse.group/t/using-octoprint-and-it-cant-find-printer-cfg-file/13876/1 "2024-02-05T23:43:35Z")

</div>

### Basic Information:

Printer Model: None  
 MCU / Printerboard: BTT SKR2  
 ERROR: `Unable to open config file /home/pi/printer.cfg`

I’m using Octoprint and the printer is connecting through ‘tmp/printer’ port.

When I enter a command (M119) in the Octo terminal I get the error `Unable to open config file /home/pi/printer.cfg`.

The file is present and here is the info on it.

> pwd  
> /home/pi  
> ls -all  
> -rwxr-xr-x 1 pi pi 3296 Feb 5 17:00 printer.cfg

What extremely simple thing am I missing?

---

<div class="post-metadata">

**Author:** ![theophile](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/theophile/32/31_2.png) [@theophile](https://klipper.discourse.group/u/theophile)\
**Post date:** [February 6, 2024, 12:43am UTC](https://klipper.discourse.group/t/using-octoprint-and-it-cant-find-printer-cfg-file/13876/2 "2024-02-06T00:43:18Z")

</div>

> [@dgd](#):
>
> What extremely simple thing am I missing?

Posting your klippy.log as instructed by the issue template.

---

<div class="post-metadata">

**Author:** ![dgd](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@dgd](https://klipper.discourse.group/u/dgd)\
**Post date:** [February 6, 2024, 1:08am UTC](https://klipper.discourse.group/t/using-octoprint-and-it-cant-find-printer-cfg-file/13876/3 "2024-02-06T01:08:17Z")

</div>

> [@dgd](#):
>
> `Unable to open config file /home/pi/printer.cfg`

That is all that’s in there. Multiple times.

---

<div class="post-metadata">

**Author:** ![theophile](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/theophile/32/31_2.png) [@theophile](https://klipper.discourse.group/u/theophile)\
**Post date:** [February 6, 2024, 2:07am UTC](https://klipper.discourse.group/t/using-octoprint-and-it-cant-find-printer-cfg-file/13876/4 "2024-02-06T02:07:57Z")

</div>

> [@dgd](#):
>
> That is all that’s in there. Multiple times.

Mind posting it anyway?

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [February 6, 2024, 6:52am UTC](https://klipper.discourse.group/t/using-octoprint-and-it-cant-find-printer-cfg-file/13876/5 "2024-02-06T06:52:53Z")

</div>

What did you use to install Klipper on OctoPrint. There are various possibilities.

Most easy is using the OctoKlipperPi image.

---

<div class="post-metadata">

**Author:** ![dgd](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@dgd](https://klipper.discourse.group/u/dgd)\
**Post date:** [February 6, 2024, 3:15pm UTC](https://klipper.discourse.group/t/using-octoprint-and-it-cant-find-printer-cfg-file/13876/6 "2024-02-06T15:15:47Z")

</div>

I’ve moved past this issue, but now have a `mcu 'mcu': Unable to connect` error.

I’m using a BTT SKR V2 REV B board with an STM32F429.

Klippy.log [klippy.log - Pastebin.com](https://pastebin.com/hcyiqCzL)  
Here’s the output of `sudo dmesg` [sudo dmesg - Pastebin.com](https://pastebin.com/efCz3gQz)  
Printer.cfg [printer.cfg - Pastebin.com](https://pastebin.com/C172mekb)

A business trip will now take me away from this for about a week.

**Thank you for the help.**

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [February 6, 2024, 3:46pm UTC](https://klipper.discourse.group/t/using-octoprint-and-it-cant-find-printer-cfg-file/13876/7 "2024-02-06T15:46:11Z")

</div>

Could you please upload your logs here?

Pastebin is a pain to read. And I do not need another file server on my list.

---

<div class="post-metadata">

**Author:** ![theophile](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/theophile/32/31_2.png) [@theophile](https://klipper.discourse.group/u/theophile)\
**Post date:** [February 6, 2024, 3:46pm UTC](https://klipper.discourse.group/t/using-octoprint-and-it-cant-find-printer-cfg-file/13876/8 "2024-02-06T15:46:25Z")

</div>

Klipper is not flashed to the board. You need to follow the installation instructions.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [April 6, 2024, 3:47pm UTC](https://klipper.discourse.group/t/using-octoprint-and-it-cant-find-printer-cfg-file/13876/9 "2024-04-06T15:47:24Z")

</div>

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