SheffieldMLtracking / data-pipeline

Bee tracker automatic data pipeline scripts
https://github.com/SheffieldMLtracking/BBSRC_ohio/issues/20
GNU General Public License v3.0
0 stars 0 forks source link

Fix find: ‘"/home/pi/beephotos"’: No such file or directory #10

Closed Joe-Heffer-Shef closed 1 month ago

Joe-Heffer-Shef commented 1 month ago

See issue #9

Joe-Heffer-Shef commented 1 month ago

I tested this by installing this branch on the ohiobeeproject VM and running the pipeline systemd service. The error doesn't occur when we use find $remote_directory instead of find \"$remote_directory\" in the Bash script that runs on the remote RPI machines.

Sep 24 11:06:57 ohiobeeproject.shef.ac.uk bash[704345]: raspberry31
Sep 24 11:07:00 ohiobeeproject.shef.ac.uk bash[704408]: receiving incremental file list
Sep 24 11:07:00 ohiobeeproject.shef.ac.uk bash[704411]: beephotos/
Sep 24 11:07:00 ohiobeeproject.shef.ac.uk bash[704411]: beephotos/2024-08-30/
Sep 24 11:07:00 ohiobeeproject.shef.ac.uk bash[704411]: beephotos/2024-08-30/unnamed_session/
Sep 24 11:07:00 ohiobeeproject.shef.ac.uk bash[704411]: beephotos/2024-08-30/unnamed_session/unnamed_set/
Sep 24 11:07:00 ohiobeeproject.shef.ac.uk bash[704411]: sent 43 bytes  received 259 bytes  86.29 bytes/sec
Sep 24 11:07:00 ohiobeeproject.shef.ac.uk bash[704411]: total size is 0  speedup is 0.00
Sep 24 11:07:02 ohiobeeproject.shef.ac.uk bash[704345]: raspberry32
Sep 24 11:07:05 ohiobeeproject.shef.ac.uk bash[704418]: receiving incremental file list
Sep 24 11:07:05 ohiobeeproject.shef.ac.uk bash[704421]: beephotos/
Sep 24 11:07:05 ohiobeeproject.shef.ac.uk bash[704421]: beephotos/2024-08-30/
Sep 24 11:07:05 ohiobeeproject.shef.ac.uk bash[704421]: beephotos/2024-08-30/unnamed_session/
Sep 24 11:07:05 ohiobeeproject.shef.ac.uk bash[704421]: sent 223 bytes  received 5,653 bytes  2,350.40 bytes/sec
Sep 24 11:07:05 ohiobeeproject.shef.ac.uk bash[704421]: total size is 0  speedup is 0.00
Sep 24 11:07:08 ohiobeeproject.shef.ac.uk bash[704345]: raspberry33
Sep 24 11:07:10 ohiobeeproject.shef.ac.uk bash[704427]: receiving incremental file list
Sep 24 11:07:10 ohiobeeproject.shef.ac.uk bash[704430]: beephotos/
Sep 24 11:07:11 ohiobeeproject.shef.ac.uk bash[704430]: sent 34 bytes  received 244 bytes  79.43 bytes/sec
Sep 24 11:07:11 ohiobeeproject.shef.ac.uk bash[704430]: total size is 0  speedup is 0.00
Sep 24 11:07:13 ohiobeeproject.shef.ac.uk bash[704345]: raspberry34
Sep 24 11:07:16 ohiobeeproject.shef.ac.uk bash[704437]: receiving incremental file list
Sep 24 11:07:16 ohiobeeproject.shef.ac.uk bash[704440]: beephotos/
Sep 24 11:07:16 ohiobeeproject.shef.ac.uk bash[704440]: beephotos/2024-08-30/
Sep 24 11:07:16 ohiobeeproject.shef.ac.uk bash[704440]: beephotos/2024-08-30/unnamed_session/
Sep 24 11:07:16 ohiobeeproject.shef.ac.uk bash[704440]: beephotos/2024-08-30/unnamed_session/unnamed_set/
Sep 24 11:07:16 ohiobeeproject.shef.ac.uk bash[704440]: sent 43 bytes  received 255 bytes  85.14 bytes/sec
Sep 24 11:07:16 ohiobeeproject.shef.ac.uk bash[704440]: total size is 0  speedup is 0.00
Sep 24 11:07:19 ohiobeeproject.shef.ac.uk bash[704345]: raspberry35
Sep 24 11:07:21 ohiobeeproject.shef.ac.uk bash[704446]: receiving incremental file list
Sep 24 11:07:21 ohiobeeproject.shef.ac.uk bash[704451]: beephotos/
Sep 24 11:07:21 ohiobeeproject.shef.ac.uk bash[704451]: sent 219 bytes  received 5,553 bytes  2,308.80 bytes/sec
Sep 24 11:07:21 ohiobeeproject.shef.ac.uk bash[704451]: total size is 0  speedup is 0.00