-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Manual update button is sometimes grayed out even when the robot is available to accept an update #8432
Comments
Running through the above steps to reproduce again, I couldn't get the Browse button to gray out. There might be something else going on here. I am positive that I've had the Browse button be grayed out and have "fixed it" by closing and reopening the Opentrons App, which shouldn't work. |
This button's disable logic was previously broken (#5429) and fixed (#6483). The fix contained most of the "is this button disabled?" logic to a single function, via opentrons/app/src/redux/buildroot/selectors.ts Lines 136 to 173 in 63eb764
This logic looks pretty robust to me, so I'm sort of scratching my head as to why you would see this behavior. Did you check what the tooltip said? We've had stale data problems of this type in the discovery client before, so I wouldn't rule out the DC accidentally marking the update server's health as bad given some set of conditions |
I did, but I didn't write it down, and I don't remember. :( |
The app has evolved a lot since this ticket was written. I'm assuming this is no longer an issue. |
Overview
The Opentrons App has a Browse button to manually send an
ot2-system.zip
system update file to the OT-2. For robustness, this is supposed to work even when the robot server on the robot has crashed. Only the update server needs to be working.However, even when the update server is working and you should be able to do this, the Opentrons App sometimes grays out the Browse button and makes it unusable.
Steps to reproduce
[Edit: This is questionable. See comment below.]
ssh
into the robot and runsystemctl stop opentrons-robot-server
.Current behavior
It seems like the Opentrons App will incorrectly gray out the Browse button when the robot server goes down when it was not down before. If the robot server is down when the Opentrons App first discovers the robot, it seems like things work correctly.
Expected behavior
As long as it looks like the update server is able to receive an
ot2-system.zip
file, the Browse button should be usable.The text was updated successfully, but these errors were encountered: