# OOPS BB problem?

**URL:** <https://forum.onefinitycnc.com/t/oops-bb-problem/25305>\
**Category:** Troubleshooting (X35/X50)\
**Created:** [February 12, 2024, 1:15am UTC](https://forum.onefinitycnc.com/t/oops-bb-problem/25305 "2024-02-12T01:15:39Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [February 14, 2024, 4:58am UTC](https://forum.onefinitycnc.com/t/oops-bb-problem/25305/7 "2024-02-14T04:58:26Z")

</div>

Hey Tony,

you simply need to log in and become root and delete the contents of the /var/lib/bbctrl/plans and /var/lib/bbctrl/upload directories. No need to reflash the entire Operating System Installation (except if the SD card is failing, but in this case re-flashing it would make no sense either).

If you are on a display directly connected to the Onefinity Controller, you can open a terminal by typing this on a USB keyboard you attached to the Onefinity Controller:

\<Ctrl\>-T \<Ctrl\>-C

If you are on a remote machine, you can get a terminal by logging in via [ssh](https://en.wikipedia.org/wiki/Secure_Shell) as bbmc@onefinity.local

- on a unixoid shell with the command:

`ssh bbmc@onefinity.local`

and password: _onefinity_

- or under windoze by using [PuTTY](https://en.wikipedia.org/wiki/PuTTY) with the credentials:

remote host: _onefinity.local_ (or its ip address)  
user: _bbmc_  
password: _onefinity_

When you are in the terminal, you type:

```sh
sudo -i

```

(password for sudo -i: _onefinity_. Ignore the warning about the password for ‘pi’ was not changed yet. You are root@onefinity now.) Then continue with entering:

```sh
rm -I /var/lib/bbctrl/plans/*
rm -I /var/lib/bbctrl/upload/*
exit
exit

```

The “`-I`” option (for _“interactive”_) on the _remove_ command _(rm)_ is to make _‘rm’_ ask if you are sure before deleting. Without this option, _‘rm’_ behaves like all UNIX commands: If nothing goes wrong, it makes no output. You can also use “`-i`” instead of “`-I`” but then _‘rm’_ will ask if you are sure for every single file which may take longer then.

If you are interested to see what files are in the directories before deleting them, you can do:

```sh
cd /var/lib/bbctrl/plans
ls -l | less
cd ../upload
ls -l | less

```

Inside _‘less’_, use space bar or PageDown key to scroll forward by one page, and use “q” to quit _‘less’_.

If you want to know what the command _‘ls’_ is for, type:

`man ls`

_‘man’_ means “Display the Manual Page”. This works with all commands. e.g.

`man sudo`

means “Display the Manual Page of the command _‘sudo’_.”

#### See also:

- [Support: How To Remove All Gcode Files Manually (Fix for stuck file)](https://forum.onefinitycnc.com/t/how-to-remove-all-gcode-files-manually-fix-for-stuck-file/5626)

---

_[View the full topic](https://forum.onefinitycnc.com/t/oops-bb-problem/25305)._
