Issue with Updating ROS Workspace on Stretch 3

Hi everyone,

I’m encountering an issue while trying to update my ROS workspace using the steps provided in the Hello Robot documentation. After running ./stretch_update_ros_workspace.sh, this is the output I receive:

[sudo] password for hello-robot: 
###########################################
CREATING HUMBLE AMENT WORKSPACE at /home/hello-robot/ament_ws
###########################################
Ensuring correct version of ROS is sourced...
You are about to delete and replace the existing ament workspace. If you have any personal data in the workspace, please create a back up before proceeding.
Do you want to continue? Press (y/n for yes/no): y
Continuing to create a new ament workspace.
Updating rosdep indices...
Deleting /home/hello-robot/ament_ws if it already exists...
Creating the workspace directory...
Cloning the workspace's packages...

#############################################
FAILURE. UPDATING ROS WORKSPACE DID NOT COMPLETE.
Look at the troubleshooting guide for solutions to common issues: https://docs.hello-robot.com/0.3/installation/ros_workspace/
or contact Hello Robot support
#############################################

It seems like the process fails after attempting to clone the workspace’s packages. I’ve checked the troubleshooting guide but couldn’t find a solution that fits this specific issue. Has anyone else encountered this problem or have any suggestions on how to resolve it?

Thanks in advance!

Hey @allen, good question! There’s a log file named with this pattern: ~/stretch_user/log/stretch_create_ament_workspace.<datetime>_redirected.txt. This log file is generated when the script fails, and includes information about the failure. Would you find it and post it here (as a .txt attachment)? If there are multiple, you can attach them all.

1 Like

Hi @bshah,

Thank you for your reply. I reviewed the log file and was able to resolve the issue by installing the missing packages, such as VCS and NPM. Everything is working fine now. Thanks again!

1 Like

Awesome! Glad to hear it!