Skip to content

os: Move /home/pi/PlanktoScope to /opt#950

Merged
sonnyp merged 8 commits into
mainfrom
move-planktoscpe-folder
Apr 29, 2026
Merged

os: Move /home/pi/PlanktoScope to /opt#950
sonnyp merged 8 commits into
mainfrom
move-planktoscpe-folder

Conversation

@sonnyp

@sonnyp sonnyp commented Apr 29, 2026

Copy link
Copy Markdown
Collaborator

Follow up:

for #923

/home/pi is on a partition "DATA" that is shared between ROOT A and ROOT B
PlanktoScope is part of the OS so it should be on the ROOT partitions and not shared

hardware.json, config.json and calibraton.json did not change path for now as we need to figure out the upgrade story

Migrate

cd /home/pi/PlanktoScope
git checkout main
git pull
sudo mv /home/pi/PlanktoScope /opt
sudo chown -R pi:pi /opt/PlanktoScope
mkdir /home/pi/PlanktoScope
mv /opt/PlanktoScope/config.json /home/pi/PlanktoScope
mv /opt/PlanktoScope/hardware.json /home/pi/PlanktoScope
mv /opt/PlanktoScope/calibration.json /home/pi/PlanktoScope
cd /opt/PlanktoScope/documentation
uv venv
cd /opt/PlanktoScope
just

@sonnyp sonnyp changed the title os: Move /home/pi/PlanktoScope to /opt/PlanktoScope os: Move /home/pi/PlanktoScope to /opt Apr 29, 2026
@sonnyp sonnyp marked this pull request as ready for review April 29, 2026 14:27
@sonnyp sonnyp merged commit a3a3c0a into main Apr 29, 2026
2 of 4 checks passed
@sonnyp sonnyp deleted the move-planktoscpe-folder branch April 29, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant