# New Pioreactor release: 24.4.11

**URL:** <https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274>\
**Category:** Software\
**Tags:** release\
**Created:** [April 11, 2024, 4:00pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274 "2024-04-11T16:00:34Z")\
**Posts on this page:** 13\
**Page:** 1

<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:** [April 11, 2024, 4:00pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274/1 "2024-04-11T16:00:35Z")

</div>

> 👋 It’s recommend to be on 24.4.3 (the previous version) before updating to this version!

## 24.4.11

#### Enhancements

- Faster app start-up performance, which should translate to faster response times.
- Log when workers change experiment assignments.
- Log when workers change active status.
- Adding `[pioreactor]` section to config.inis
- improvements to calibration charts

#### Breaking changes

- `pio install-plugin` is now `pio plugins install`. Likewise for `uninstall`.
- `pio list-plugins` is now `pio plugins list`.
- `pios install-plugin` is now `pios plugins install`. Likewise for `uninstall`.

#### Bug fixes

- fixed Log table in the UI not showing all entries.
- fixed HAT button response in the UI.

## How to update?

> **[Updating the Pioreactor software | Pioreactor Docs](https://docs.pioreactor.com/user-guide/updating-software)**
>
> We publish new software occasionally that fixes bugs, adds new features, and improves performance. You can update your Pioreactor(s) to the latest software from the UI, or from the command line. We highly recommend keeping your Pioreactor software up...

---

<div class="post-metadata">

**Author:** ![LeoKleym](https://forum.pioreactor.com/letter_avatar_proxy/v4/letter/l/c67d28/32.png) [@LeoKleym](https://forum.pioreactor.com/u/LeoKleym)\
**Post date:** [April 12, 2024, 12:28pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274/2 "2024-04-12T12:28:20Z")

</div>

heyhey! i just updated to the next release and something is not working out with the UI, when i want to click on my pioreactors after creating an experiment, this is happening:

# Something went wrong with the PioreactorUI!

### Don’t worry. It’s our fault. Here’s what you can do:

Looks like there’s a bug in the UI. See the below for error information. We would appreciate it if you create an issue in [Github](https://github.com/Pioreactor/pioreactorui/issues) for us, with the information below.

`URL: http://pioreactor2.piogate.izi.fraunhofer.de:8080/pioreactors`  
`i.map is not a function`

if i want to SSH into the pioreactor and run for example stirring, it’s saying this:

pioreactor@pioreactor2:~ $ pio run stirring  
Traceback (most recent call last):  
File “/usr/local/lib/python3.11/dist-packages/pioreactor/whoami.py”, line 57, in \_get\_assigned\_experiment\_name  
result.raise\_for\_status()  
File “/usr/local/lib/python3.11/dist-packages/pioreactor/mureq.py”, line 232, in raise\_for\_status  
raise HTTPErrorStatus(self.status\_code)  
pioreactor.mureq.HTTPErrorStatus: HTTP response returned error code 404

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “/usr/local/bin/pio”, line 8, in   
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/background\_jobs/stirring.py”, line 509, in click\_stirring  
st = start\_stirring(target\_rpm=target\_rpm, use\_rpm=use\_rpm)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/usr/local/lib/python3.11/dist-packages/pioreactor/background\_jobs/stirring.py”, line 477, in start\_stirring  
experiment = experiment or get\_assigned\_experiment\_name(unit)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/usr/local/lib/python3.11/dist-packages/pioreactor/whoami.py”, line 37, in get\_assigned\_experiment\_name  
return \_get\_assigned\_experiment\_name(unit\_name)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/usr/local/lib/python3.11/dist-packages/pioreactor/whoami.py”, line 66, in \_get\_assigned\_experiment\_name  
raise NotAssignedAnExperimentError(f"Worker {unit\_name} is not assigned to an experiment")  
pioreactor.exc.NotAssignedAnExperimentError: Worker pioreactor2 is not assigned to an experiment

pio version = 24.4.11

it seems like pio 2, which is my leader, is now not my leader anymore but i also don’t know how to change that. If i want to add any worker via the new “inventory” button to my cluster it doesn’t work, i guess it is because i have no leader assigned, the following error message occurs:

Unable to complete installation. The following error occurred: [32m2024-04-12T14:22:06+0200 INFO [add\_pioreactor] Adding new pioreactor pioreactor1 to cluster.[0m [31m2024-04-12T14:22:08+0200 ERROR [add\_pioreactor] + set -e + export LC\_ALL=C + LC\_ALL=C + SSHPASS=raspberry + HOSTNAME=pioreactor1 + HOSTNAME\_local=pioreactor1.local + USERNAME=pioreactor + ssh-keygen -R pioreactor1.local + ssh-keygen -R pioreactor1 ++ getent hosts pioreactor1.local ++ cut '-d ’ -f1 + ssh-keygen -R 10.131.125.66 + N=120 + counter=0 + sshpass -p raspberry ssh [pioreactor@pioreactor1.local](mailto:pioreactor@pioreactor1.local) ‘test -d /home/pioreactor/.pioreactor && echo ‘'‘exists’'’’ + pio discover-workers -t + grep -q pioreactor1 Usage: pio [OPTIONS] COMMAND [ARGS]… Try ‘pio --help’ for help. Error: No such command ‘discover-workers’. + echo ‘Unable to confirm if pioreactor1 is a Pioreactor worker. Not found in ‘'‘pio discover-workers -t’'’. Did you install the worker image?’ + exit 1 [0m Traceback (most recent call last): File “/usr/local/bin/pio”, line 8, in 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/cluster\_management/ **init**.py”, line 91, in add\_worker raise BashScriptError(res.stderr) pioreactor.exc.BashScriptError: + set -e + export LC\_ALL=C + LC\_ALL=C + SSHPASS=raspberry + HOSTNAME=pioreactor1 + HOSTNAME\_local=pioreactor1.local + USERNAME=pioreactor + ssh-keygen -R pioreactor1.local + ssh-keygen -R pioreactor1 ++ getent hosts pioreactor1.local ++ cut '-d ’ -f1 + ssh-keygen -R 10.131.125.66 + N=120 + counter=0 + sshpass -p raspberry ssh [pioreactor@pioreactor1.local](mailto:pioreactor@pioreactor1.local) ‘test -d /home/pioreactor/.pioreactor && echo ‘'‘exists’'’’ + pio discover-workers -t + grep -q pioreactor1 Usage: pio [OPTIONS] COMMAND [ARGS]… Try ‘pio --help’ for help. Error: No such command ‘discover-workers’. + echo ‘Unable to confirm if pioreactor1 is a Pioreactor worker. Not found in ‘'‘pio discover-workers -t’'’. Did you install the worker image?’ + exit 1

any ideas? thanks!!!

---

<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:** [April 12, 2024, 12:33pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274/3 "2024-04-12T12:33:45Z")

</div>

Hi @LeoKleym,

Were you on version 24.4.3 prior to updating to 24.4.11? If not, you’ll need to manually run some update scripts. Copy&paste the these [three files](https://github.com/Pioreactor/pioreactor/tree/master/update_scripts/24.4.3) to your leader Pioreactor. And execute them like so:

```auto
sudo bash update.sh
sudo sqlite3 /home/pioreactor/.pioreactor/storage/pioreactor.sqlite < update.sql
sudo bash post_update.sh

```

I think that should be enough…

---

<div class="post-metadata">

**Author:** ![LeoKleym](https://forum.pioreactor.com/letter_avatar_proxy/v4/letter/l/c67d28/32.png) [@LeoKleym](https://forum.pioreactor.com/u/LeoKleym)\
**Post date:** [April 12, 2024, 12:44pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274/4 "2024-04-12T12:44:06Z")

</div>

hmm this is what happens:

pioreactor@pioreactor2:~ $ sudo bash update.sh  
sudo sqlite3 /home/pioreactor/.pioreactor/storage/pioreactor.sqlite \< update.sql  
sudo bash post\_update.sh  
bash: update.sh: No such file or directory  
-bash: update.sql: No such file or directory  
bash: post\_update.sh: No such file or directory

and i just updated them now and updated to the release before first, then to the release now

---

<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:** [April 12, 2024, 1:00pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274/5 "2024-04-12T13:00:54Z")

</div>

Sorry I should have been more clear. Create new files on your leader, example:

```auto
nano update.sh

```

and copy&paste the update.sh contents from my link above into that file (ctrl-x to save and exit). Do that for `update.sql` and `post_update.sh`. Then try the commands I posted.

> and i just updated them now and updated to the release before first, then to the release now

hm, so you were on 23.4.3 previously? Were there any errors during that update, or problems with the UI?

---

<div class="post-metadata">

**Author:** ![LeoKleym](https://forum.pioreactor.com/letter_avatar_proxy/v4/letter/l/c67d28/32.png) [@LeoKleym](https://forum.pioreactor.com/u/LeoKleym)\
**Post date:** [April 12, 2024, 1:01pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274/6 "2024-04-12T13:01:56Z")

</div>

i can’t say if there were any problems, i just clicked the button in the UI saying “update to next release” when that update was done, i updated to the next one

---

<div class="post-metadata">

**Author:** ![LeoKleym](https://forum.pioreactor.com/letter_avatar_proxy/v4/letter/l/c67d28/32.png) [@LeoKleym](https://forum.pioreactor.com/u/LeoKleym)\
**Post date:** [April 12, 2024, 1:12pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274/7 "2024-04-12T13:12:51Z")

</div>

is this what i am supposed to see ?

sudo sqlite3 /home/pioreactor/.pioreactor/storage/pioreactor.sqlite \< update.sql  
sudo bash post\_update.sh

- set -e
- export LC\_ALL=C
- LC\_ALL=C  
++ cat
- NEW\_SCRIPT='#!/bin/bash

set -x  
set -e

export LC\_ALL=C

# Get the first IPv4 address

IP=$(hostname -I | awk ‘'’{print $1}‘'’)

# Check if the network interfaces exist and get their MAC addresses

if [-d /sys/class/net/wlan0]; then  
WLAN\_MAC=$(cat /sys/class/net/wlan0/address)  
else  
WLAN\_MAC=“Not available”  
fi

if [-d /sys/class/net/eth0]; then  
ETH\_MAC=$(cat /sys/class/net/eth0/address)  
else  
ETH\_MAC=“Not available”  
fi

# Write the information to a file in key-value format

echo “HOSTNAME=$(hostname)” \>\> /boot/firmware/network\_info.txt  
echo “IP=$IP” \> /boot/firmware/network\_info.txt  
echo “WLAN\_MAC=$WLAN\_MAC” \>\> /boot/firmware/network\_info.txt  
echo “ETH\_MAC=$ETH\_MAC” \>\> /boot/firmware/network\_info.txt’

- sudo echo '#!/bin/bash

set -x  
set -e

export LC\_ALL=C

# Get the first IPv4 address

IP=$(hostname -I | awk ‘'’{print $1}‘'’)

# Check if the network interfaces exist and get their MAC addresses

if [-d /sys/class/net/wlan0]; then  
WLAN\_MAC=$(cat /sys/class/net/wlan0/address)  
else  
WLAN\_MAC=“Not available”  
fi

if [-d /sys/class/net/eth0]; then  
ETH\_MAC=$(cat /sys/class/net/eth0/address)  
else  
ETH\_MAC=“Not available”  
fi

# Write the information to a file in key-value format

echo “HOSTNAME=$(hostname)” \>\> /boot/firmware/network\_info.txt  
echo “IP=$IP” \> /boot/firmware/network\_info.txt  
echo “WLAN\_MAC=$WLAN\_MAC” \>\> /boot/firmware/network\_info.txt  
echo “ETH\_MAC=$ETH\_MAC” \>\> /boot/firmware/network\_info.txt’

- sudo chmod +x /usr/local/bin/write\_ip.sh
- PIO\_DIR=/home/pioreactor/.pioreactor  
++ hostname
- HOSTNAME=pioreactor2  
++ crudini --get /home/pioreactor/.pioreactor/config.ini cluster.topology leader\_address
- LEADER\_ADDRESS=[pioreactor2.izi.fraunhofer.de](http://pioreactor2.izi.fraunhofer.de)  
update.sh: line 87: unexpected EOF while looking for matching `"’  
Parse error near line 21: duplicate column name: experiment
- set -e
- export LC\_ALL=C
- LC\_ALL=C
- PIO\_DIR=/home/pioreactor/.pioreactor  
++ hostname
- HOSTNAME=pioreactor2  
++ crudini --get /home/pioreactor/.pioreactor/config.ini cluster.topology leader\_address
- LEADER\_ADDRESS=[pioreactor2.izi.fraunhofer.de](http://pioreactor2.izi.fraunhofer.de)  
++ crudini --get /home/pioreactor/.pioreactor/config.ini storage database
- DB\_FILE=/home/pioreactor/.pioreactor/storage/pioreactor.sqlite
- ‘[’ pioreactor2.local = [pioreactor2.izi.fraunhofer.de](http://pioreactor2.izi.fraunhofer.de) ‘]’

---

<div class="post-metadata">

**Author:** ![LeoKleym](https://forum.pioreactor.com/letter_avatar_proxy/v4/letter/l/c67d28/32.png) [@LeoKleym](https://forum.pioreactor.com/u/LeoKleym)\
**Post date:** [April 12, 2024, 1:16pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274/8 "2024-04-12T13:16:52Z")

</div>

It didn’t change the problem that when i want to access the Pios via the UI this comes up:

# Something went wrong with the PioreactorUI!

### Don’t worry. It’s our fault. Here’s what you can do:

Looks like there’s a bug in the UI. See the below for error information. We would appreciate it if you create an issue in [Github](https://github.com/Pioreactor/pioreactorui/issues) for us, with the information below.

`URL: http://pioreactor2.piogate.izi.fraunhofer.de:8080/pioreactors`  
`i.map is not a function`

---

<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:** [April 12, 2024, 1:34pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274/9 "2024-04-12T13:34:33Z")

</div>

Try the following to refresh the webserver:

```auto
sudo systemctl restart lighttpd.service
sudo systemctl restart huey.service

```

And try the UI again.

* * *

EDIT: Actually, I see the error in your output. It’s a small issue with the `leader_address` (and we’ve fixed it in the future). Use this as your post\_update.sh instead:

First delete the old one:

```auto
rm post_update.sh
nano post_update.sh

```

copy and paste the contents here: [gist:6f8de25c8c141504531f9c9a2e5bc31c · GitHub](https://gist.github.com/CamDavidsonPilon/6f8de25c8c141504531f9c9a2e5bc31c)

```auto
sudo bash post_update.sh

```

* * *

The error was because we were checking your `leader_address`, and we assumed it was of the form “leader.local”, which is wrong on our end. In your case, leader\_address is `pioreactor2.izi.fraunhofer.de`

---

<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:** [April 12, 2024, 1:48pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274/10 "2024-04-12T13:48:53Z")

</div>

And now that I see the problem, you’ll also want to rerun this newer `update.sh`: [update.sh · GitHub](https://gist.github.com/CamDavidsonPilon/e6e55a5ab0a7a3e732fb95962e863c84)

---

<div class="post-metadata">

**Author:** ![LeoKleym](https://forum.pioreactor.com/letter_avatar_proxy/v4/letter/l/c67d28/32.png) [@LeoKleym](https://forum.pioreactor.com/u/LeoKleym)\
**Post date:** [April 12, 2024, 2:02pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274/11 "2024-04-12T14:02:21Z")

</div>

> [@CamDavidsonPilon](#):
>
> ```auto
> sudo bash update.sh
> sudo sqlite3 /home/pioreactor/.pioreactor/storage/pioreactor.sqlite < update.sql
> sudo bash post_update.sh
> 
> ```

this is the new output:

pioreactor@pioreactor2:~ $ sudo bash update.sh  
sudo sqlite3 /home/pioreactor/.pioreactor/storage/pioreactor.sqlite \< update.sql  
sudo bash post\_update.sh

- set -e
- export LC\_ALL=C
- LC\_ALL=C
- PIO\_DIR=/home/pioreactor/.pioreactor  
++ hostname
- HOSTNAME=pioreactor2  
++ crudini --get /home/pioreactor/.pioreactor/config.ini cluster.topology leader\_hostname
- LEADER\_HOSTNAME=pioreactor2
- ‘[’ pioreactor2 = pioreactor2 ‘]’
- systemd\_files=(“/lib/systemd/system/avahi\_aliases.service” “/lib/systemd/system/load\_rp2040.service”)
- for file in “${systemd\_files[@]}”
- sudo crudini --ini-options=nospace --set /lib/systemd/system/avahi\_aliases.service Service User pioreactor --set /lib/systemd/system/avahi\_aliases.service Service EnvironmentFile /etc/environment
- for file in “${systemd\_files[@]}”
- sudo crudini --ini-options=nospace --set /lib/systemd/system/load\_rp2040.service Service User pioreactor --set /lib/systemd/system/load\_rp2040.service Service EnvironmentFile /etc/environment
- sudo systemctl daemon-reload
- sudo systemctl restart avahi\_aliases.service
- sudo systemctl restart load\_rp2040.service
- FILE\_PATH=/usr/local/bin/add\_new\_pioreactor\_worker\_from\_leader.sh
- sudo sed -i ‘s/pio discover-workers/pio workers discover/g’ /usr/local/bin/add\_new\_pioreactor\_worker\_from\_leader.sh  
Parse error near line 21: duplicate column name: experiment
- set -e
- export LC\_ALL=C
- LC\_ALL=C
- PIO\_DIR=/home/pioreactor/.pioreactor  
++ hostname
- HOSTNAME=pioreactor2  
++ crudini --get /home/pioreactor/.pioreactor/config.ini cluster.topology leader\_hostname
- LEADER\_HOSTNAME=pioreactor2  
++ crudini --get /home/pioreactor/.pioreactor/config.ini storage database
- DB\_FILE=/home/pioreactor/.pioreactor/storage/pioreactor.sqlite
- ‘[’ pioreactor2 = pioreactor2 ‘]’
- crudini --get /home/pioreactor/.pioreactor/config.ini cluster.inventory  
++ crudini --get /home/pioreactor/.pioreactor/config.ini cluster.inventory
- units=‘pioreactor2  
pioreactor1  
pioreactor3  
pioreactor4  
pioreactor5’
- IFS=
- read -r unit
- sqlite3 /home/pioreactor/.pioreactor/storage/pioreactor.sqlite ‘INSERT OR IGNORE INTO workers (pioreactor\_unit, added\_at, is\_active) VALUES (’'‘pioreactor2’'‘, STRFTIME(’'‘%Y-%m-%dT%H:%M:%f000Z’'‘, ‘'‘NOW’'’), 1);’
- IFS=
- read -r unit
- sqlite3 /home/pioreactor/.pioreactor/storage/pioreactor.sqlite ‘INSERT OR IGNORE INTO workers (pioreactor\_unit, added\_at, is\_active) VALUES (’'‘pioreactor1’'‘, STRFTIME(’'‘%Y-%m-%dT%H:%M:%f000Z’'‘, ‘'‘NOW’'’), 1);’
- IFS=
- read -r unit
- sqlite3 /home/pioreactor/.pioreactor/storage/pioreactor.sqlite ‘INSERT OR IGNORE INTO workers (pioreactor\_unit, added\_at, is\_active) VALUES (’'‘pioreactor3’'‘, STRFTIME(’'‘%Y-%m-%dT%H:%M:%f000Z’'‘, ‘'‘NOW’'’), 1);’
- IFS=
- read -r unit
- sqlite3 /home/pioreactor/.pioreactor/storage/pioreactor.sqlite ‘INSERT OR IGNORE INTO workers (pioreactor\_unit, added\_at, is\_active) VALUES (’'‘pioreactor4’'‘, STRFTIME(’'‘%Y-%m-%dT%H:%M:%f000Z’'‘, ‘'‘NOW’'’), 1);’
- IFS=
- read -r unit
- sqlite3 /home/pioreactor/.pioreactor/storage/pioreactor.sqlite ‘INSERT OR IGNORE INTO workers (pioreactor\_unit, added\_at, is\_active) VALUES (’'‘pioreactor5’'‘, STRFTIME(’'‘%Y-%m-%dT%H:%M:%f000Z’'‘, ‘'‘NOW’'’), 1);’
- IFS=
- read -r unit
- sqlite3 /home/pioreactor/.pioreactor/storage/pioreactor.sqlite ‘INSERT INTO experiment\_worker\_assignments (pioreactor\_unit, experiment, assigned\_at) SELECT pioreactor\_unit, experiment, added\_at FROM workers JOIN latest\_experiment;’  
Error: stepping, UNIQUE constraint failed: experiment\_worker\_assignments.pioreactor\_unit (19)

---

<div class="post-metadata">

**Author:** ![LeoKleym](https://forum.pioreactor.com/letter_avatar_proxy/v4/letter/l/c67d28/32.png) [@LeoKleym](https://forum.pioreactor.com/u/LeoKleym)\
**Post date:** [April 12, 2024, 2:05pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274/12 "2024-04-12T14:05:31Z")

</div>

it worked 😬 😇 thanks a lot

---

<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:** [April 12, 2024, 2:06pm UTC](https://forum.pioreactor.com/t/new-pioreactor-release-24-4-11/274/13 "2024-04-12T14:06:28Z")

</div>

hehe yea I think you can ignore that last `Error: stepping, UNIQUE constraint failed`

* * *

Anyways, I’ve also gone back and fixed the previous update scripts for 24.4.3, which is where the problem started. Thanks for letting us know!
