Thread
#prefect-community
    James Keegan

    James Keegan

    4 months ago
    Hello! I'm trying to clone a bitbucket repository into a Prefect Docker image (using the
    ShellTask
    task) but keep running into this error. Any suggestions? The SSH key is set up correctly, but there doesn't appear to be a user associated with the
    ShellTask
    commands. This wasn't an issue previously, as older flow images can pull git projects just fine. Only came up recently after I rebuilt the image again (Prefect version & python version are still the same).
    Cloning into './dbt_project'...
    No user exists for uid 1000190000
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    Kevin Kho

    Kevin Kho

    4 months ago
    Is this behavior just when you use the
    ShellTask
    or does it also happen when you go into the container and try to clone?
    James Keegan

    James Keegan

    4 months ago
    Only via the shell task - can pull fine when bashing into the container and doing the same clone command
    Kevin Kho

    Kevin Kho

    4 months ago
    Is it using bash in both cases?
    James Keegan

    James Keegan

    4 months ago
    Yes (if ShellTask defaults to bash)
    Kevin Kho

    Kevin Kho

    4 months ago
    Yeah considering it’s the same Prefect and Python version, unsure where the difference could be.
    James Keegan

    James Keegan

    4 months ago
    Yeah it's odd 🤔 Going to ditch the ShellTask and see if that fixes anything 👍