Skip to content

Pseudo-terminal will not be allocated because stdin is not a terminal. #5

Description

@Joe-Heffer-Shef

I think this happens because we're running a remote command with a pipe (bash && operator) in it

/usr/bin/rsync --archive --compress --update --verbose $remote_host:$remote_directory $local_directory && \

see: https://stackoverflow.com/a/7122115/15368268

Sep 11 11:19:40 ohiobeeproject.shef.ac.uk bash[380860]: raspberry34
Sep 11 11:19:43 ohiobeeproject.shef.ac.uk bash[380957]: receiving incremental file list
Sep 11 11:19:43 ohiobeeproject.shef.ac.uk bash[380961]: beephotos/
Sep 11 11:19:43 ohiobeeproject.shef.ac.uk bash[380961]: beephotos/2024-08-30/
Sep 11 11:19:43 ohiobeeproject.shef.ac.uk bash[380961]: beephotos/2024-08-30/unnamed_session/
Sep 11 11:19:43 ohiobeeproject.shef.ac.uk bash[380961]: beephotos/2024-08-30/unnamed_session/unnamed_set/
Sep 11 11:19:43 ohiobeeproject.shef.ac.uk bash[380961]: sent 85 bytes  received 798 bytes  252.29 bytes/sec
Sep 11 11:19:43 ohiobeeproject.shef.ac.uk bash[380961]: total size is 44,046,058  speedup is 49,882.29
Sep 11 11:19:43 ohiobeeproject.shef.ac.uk bash[380962]: Pseudo-terminal will not be allocated because stdin is not a terminal.
Sep 11 11:19:46 ohiobeeproject.shef.ac.uk bash[380860]: raspberry35
Sep 11 11:19:49 ohiobeeproject.shef.ac.uk bash[380964]: receiving incremental file list
Sep 11 11:19:49 ohiobeeproject.shef.ac.uk bash[380967]: beephotos/
Sep 11 11:21:17 ohiobeeproject.shef.ac.uk bash[380967]: sent 224,337 bytes  received 3,046,555 bytes  35,747.45 bytes/sec
Sep 11 11:21:17 ohiobeeproject.shef.ac.uk bash[380967]: total size is 228,852,812,784  speedup is 69,966.48
Sep 11 11:21:17 ohiobeeproject.shef.ac.uk bash[380994]: Pseudo-terminal will not be allocated because stdin is not a terminal.
Sep 11 11:21:28 ohiobeeproject.shef.ac.uk bash[380860]: raspberry36
Sep 11 11:21:28 ohiobeeproject.shef.ac.uk bash[381001]: ssh: Could not resolve hostname raspberry36: Name or service not known
Sep 11 11:21:28 ohiobeeproject.shef.ac.uk bash[381000]: rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
Sep 11 11:21:28 ohiobeeproject.shef.ac.uk bash[381000]: rsync error: error in rsync protocol data stream (code 12) at io.c(231) [Receiver=3.2.7]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions