jetcli backup -vfR clearcache [Error: stdin is not a tty]

cPanel, Industry leading hosting platform with world-class support.
Post Reply
TunedHosting
Posts: 2
Joined: July 25th, 2017, 7:17 pm

jetcli backup -vfR clearcache [Error: stdin is not a tty]

Post by TunedHosting »

jetcli backup -vfR clearcache command runs but doesn't update when trying to sync data from remote backup server to newly built web server seems to be having error in process.

Here is example of output after running command:

stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
DONE - 90 Backups found.
[25/Jul/2017 10:21:14 -0700] Indexing the account ab62100...stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty


Is the 'stdin: is not a tty' an issue? Seems like just notice message about connection type and not fatal error... yet process is not completing.

I ran the command all night... the PID process completed and yet no new orphan accounts were shown in 'Disaster Recovery' section after following these instructions:

https://docs.jetapps.com/jetbackup/faq/ ... r-recovery


Please advise!
Last edited by TunedHosting on July 25th, 2017, 8:21 pm, edited 1 time in total.
TunedHosting
Posts: 2
Joined: July 25th, 2017, 7:17 pm

Re: jetcli backup -vfR clearcache [Not Syncing Data]

Post by TunedHosting »

Here is the fix for the 'stdin is not a tty' error as provided by JetApps Support:

1. ssh to your backup server

2. Open the .bashrc file and add this below top:

[ -z "$PS1" ] && return

3. Save.
User avatar
elialum
Staff Member
Staff Member
Posts: 95
Joined: October 25th, 2015, 1:44 pm

Re: jetcli backup -vfR clearcache [Error: stdin is not a tty

Post by elialum »

Hi,

Thank you for the update, can you confirm now that the clear cache command works as expected ?

Thanks,
Eli.
chipmank
Posts: 1
Joined: November 17th, 2017, 7:33 pm

Re: jetcli backup -vfR clearcache [Error: stdin is not a tty

Post by chipmank »

jetcli backup –vfR clearcache - is not working

How to modify it, in order to get work?

it asking for additional parameters

jetcli backup –vfR clearcache
Command Line Interface for JetBackup
Copyright (C) 2012-2017 by JetApps (created by Idan Ben Ezra).
Web site: http://www.jetapps.com/

Usage
jetcli backup [options -f] -P <page> [-U <username>] [-A <action> [-I <id>]]
jetcli backup [options -vfg] -R <command> [-U <username> ] [-I <id>]

Options
-v, --verbose increase verbosity
-f, --force no action prompt and force commands
-g, --flag flag clearcache
-P, --page <page> The page you want to access. example -P backupmanager::jobs or --page backupmanager::jobs
-V, --view <view> The page view you want to access (for view or edit). example --view manage or -V manage
-A, --action <action> The action you want to perform on the selected page. example -A runnow or --action runnow
-I, --id <id> The item ID to perform the action you provided if needed. example -I 17 or --id 17
-R, --run <command> The command you want to execute. example -R jobs or --run jobs
-U, --username <username> The account you want to execute the command. example -U myaccount or --username myaccount
-D, --data <data> The data you want to pass to the selected page and view. example --data "{\"key\":\"value\"}" or -D "{\"key\":\"value\"}"
-j Use this flag if you want to get the response output in a JSON format
--version prints the JetBackup version
--help show this help
User avatar
elialum
Staff Member
Staff Member
Posts: 95
Joined: October 25th, 2015, 1:44 pm

Re: jetcli backup -vfR clearcache [Error: stdin is not a tty

Post by elialum »

Hi,

Just a follow up on this thread to update that the "clear cache" command is deprecated in JetBackup 3.1.X branch and won't be used/needed anymore in JetBackup 3.2.x Branch

JetBackup 3.2 is now on EDGE tier and should be released to BETA around February 2018.

Thanks,
Eli.
Post Reply