/
Setting Up Globus Upload

Setting Up Globus Upload

Steps on the mini computer

  1. How To Install, Configure, and Uninstall Globus Connect Personal for Linux

  2. sudo apt-get install tk tcllib

  3. wget https://downloads.globus.org/globus-connect-personal/linux/stable/globusconnectpersonal-latest.tgz

  4. tar xzf globusconnectpersonal-latest.tgz

  5. cd globusconnectpersonal-x.y.z

  6. ./globusconnectpersonal

  7. Click the link from the cli to login

  8. Enter in auth code

  9. Add name for the endpoint. When successfully logged in, note down the UUID that has been generated.

  10. Run pip install globus-cli and globus login for root user

  11. Enter auth code

  12. Create a timer with: globus timer create transfer --notify failed --interval 10m --recursive --sync-level mtime 4af299cc-2f37-11ef-9620-453c3ae125a5:/home/benchbot/benchbot-brain-app/mini_computer_api/images/ "ea8aff4a-274e-4c48-bc23-5b93da0cc941:/semifield-upload/".The UUID for local system being used here is generated when globusconnectpersonal is setup.

  13. Create a cronjob for deleting uploaded data by running crontab -e and append */10 * * * * /home/benchbot/benchbot-brain-app/mini_computer_api/delete_uploaded_images.sh >> /home/benchbot/benchbot-brain-app/mini_computer_api/logs/file_deletion_output.log 2>&1


For further investigation (Setting up a Globus application and using app id + secret)

  1. https://app.globus.org/settings/developers/

  2. Register a service account

  3. Name project

  4. Name app

  5. Add secret, copy somewhere safe

  6. Add permissions to destination: paste in the client identity (<CLIENTID>@clients.auth.globus.org) as the Username or Email when adding the permission.

Related content

SVCam Setup and Testing
SVCam Setup and Testing
Read with this
APP 1.5 details
APP 1.5 details
More like this
Raspberry Pi as your host
Raspberry Pi as your host
More like this
Image upload page (App1)
Image upload page (App1)
More like this
Windows/Mac Laptop as your host
Windows/Mac Laptop as your host
More like this
App 1 prod setup for super users
App 1 prod setup for super users
More like this