# Pumps unresponsive in UI and command line

**URL:** <https://forum.pioreactor.com/t/pumps-unresponsive-in-ui-and-command-line/520>\
**Category:** Software\
**Tags:** dosing\
**Created:** [October 30, 2024, 8:45pm UTC](https://forum.pioreactor.com/t/pumps-unresponsive-in-ui-and-command-line/520 "2024-10-30T20:45:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DonalC](https://forum.pioreactor.com/letter_avatar_proxy/v4/letter/d/3bc359/32.png) [@DonalC](https://forum.pioreactor.com/u/DonalC)\
**Post date:** [October 30, 2024, 8:45pm UTC](https://forum.pioreactor.com/t/pumps-unresponsive-in-ui-and-command-line/520/1 "2024-10-30T20:45:19Z")

</div>

I have been having issues with my pumps not working similarly to [Cycle media in dosing does not work](https://forum.pioreactor.com/t/cycle-media-in-dosing-does-not-work/511). I recently updated my cluster to 24.10.29 as the changelog made it seem like there were relevant changes to mitigate this bug, but I still am unable to turn my pumps on through the UI (clicking the button doesn’t lead to anything happening in the logs either). Additionally, when I try running the pumps from the command line with `pio run add_media --continuously`, I get the following error:

```auto
Traceback (most recent call last):
  File "/usr/local/bin/pio", line 8, in <module>
    sys.exit(pio())
             ^^^^^
  File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/pioreactor/actions/pump.py", line 576, in click_add_media
    return add_media(
           ^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/pioreactor/actions/pump.py", line 268, in _pump_action
    with utils.managed_lifecycle(
  File "/usr/local/lib/python3.11/dist-packages/pioreactor/utils/ __init__.py", line 204, in __enter__
    with JobManager() as jm:
         ^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/pioreactor/utils/ __init__.py", line 548, in __init__
    self._create_tables()
  File "/usr/local/lib/python3.11/dist-packages/pioreactor/utils/ __init__.py", line 582, in _create_tables
    self.cursor.executescript(create_table_query)
sqlite3.OperationalError: no such column: job_name

```

So it seems like there may be a breaking change with sqlite3 with something new/changed in this most recent update. Any ideas?

---

<div class="post-metadata">

**Author:** ![CamDavidsonPilon](https://forum.pioreactor.com/user_avatar/forum.pioreactor.com/camdavidsonpilon/32/3_2.png) [@CamDavidsonPilon](https://forum.pioreactor.com/u/CamDavidsonPilon)\
**Post date:** [October 30, 2024, 9:03pm UTC](https://forum.pioreactor.com/t/pumps-unresponsive-in-ui-and-command-line/520/2 "2024-10-30T21:03:39Z")

</div>

Ah, hm, maybe there is a bug with the update, I’ll investigate. Two easy solutions:

1. Reboot the cluster, or
2. On each machine, run

```auto
sqlite3 /tmp/local_intermittent_pioreactor_metadata.sqlite

```

opens up a database shell, and run:

```auto
ALTER TABLE pio_job_metadata RENAME COLUMN name TO job_name;

```

and

```auto
ALTER TABLE pio_job_metadata ADD COLUMN is_long_running_job INTEGER NOT NULL DEFAULT 0;

```

---

<div class="post-metadata">

**Author:** ![vickylouise](https://forum.pioreactor.com/letter_avatar_proxy/v4/letter/v/a6a055/32.png) [@vickylouise](https://forum.pioreactor.com/u/vickylouise)\
**Post date:** [January 10, 2025, 9:43am UTC](https://forum.pioreactor.com/t/pumps-unresponsive-in-ui-and-command-line/520/3 "2025-01-10T09:43:09Z")

</div>

Hi @CamDavidsonPilon , happy new year!

We have run into this problem too when starting jobs which I believe calls the same util function. The fix of rebooting the cluster works. We were wondering whether there was a more permanent bug fix planned? Low priority given there’s a workaround but just wanted to check whether it was still on your radar. We’re on version 24.12.10.

Many thanks for your help,

Vicky

---

<div class="post-metadata">

**Author:** ![CamDavidsonPilon](https://forum.pioreactor.com/user_avatar/forum.pioreactor.com/camdavidsonpilon/32/3_2.png) [@CamDavidsonPilon](https://forum.pioreactor.com/u/CamDavidsonPilon)\
**Post date:** [January 10, 2025, 2:40pm UTC](https://forum.pioreactor.com/t/pumps-unresponsive-in-ui-and-command-line/520/4 "2025-01-10T14:40:39Z")

</div>

> [@vickylouise](#):
>
> The fix of rebooting the cluster works.

Does that not permanently work? If your problem is the same as above, then a reboot (including the leader) should have solved it completely.

However, it sounds like you’re still experiencing a problem? Can you describe it in more detail?

---

<div class="post-metadata">

**Author:** ![vickylouise](https://forum.pioreactor.com/letter_avatar_proxy/v4/letter/v/a6a055/32.png) [@vickylouise](https://forum.pioreactor.com/u/vickylouise)\
**Post date:** [January 14, 2025, 9:00am UTC](https://forum.pioreactor.com/t/pumps-unresponsive-in-ui-and-command-line/520/5 "2025-01-14T09:00:12Z")

</div>

Hi Cameron, thanks for getting back to me. Sorry for not being clearer. Rebooting the cluster worked until we started another experiment, at which point we encountered the error again. Rebooting the cluster at this point got rid of the error. This made me think that one has to do this every time we begin a new experiment.. However, the column name in the tmp database seems to be correct and we haven’t experienced this issue starting jobs after this. Will let you know if we have any trouble again but will otherwise close this. Thank you!

 ![Screenshot 2025-01-14 at 08.58.36](https://forum.pioreactor.com/uploads/default/original/1X/93387f440a0e9888ac22aadd8669e39f290d3243.png)
