We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Syntax error in domain.sh / Vesta not backing up all domains
Syntax error in domain.sh / Vesta not backing up all domains
Noticed that Vesta wasn't backing up all my domains it backs up 7 domains out of 15 checked the backup.log an can see the below error
Wondering if there was a fix for this?
Thanks
Code: Select all
-- WEB --
2015-11-15 05:10:02 domain.com
2015-11-15 05:10:06 blog.domain.com
2015-11-15 05:10:12 domain.co.uk
2015-11-15 05:10:14 domain.com
2015-11-15 05:10:19 domain.co.uk
2015-11-15 05:10:20 domain.org.uk
2015-11-15 05:10:33 domain.co.uk
sed: invalid option -- '2'
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
--follow-symlinks
follow symlinks when processing in place
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if SUFFIX supplied)
-c, --copy
use copy instead of rename when shuffling files in -i mode
-b, --binary
does nothing; for compatibility with WIN32/CYGWIN/MSDOS/EMX (
open files in binary mode (CR+LFs are not treated specially))
-l N, --line-length=N
specify the desired line-wrap length for the `l' command
--posix
disable all GNU extensions.
-r, --regexp-extended
use extended regular expressions in the script.
-s, --separate
consider files as separate rather than as a single continuous
long stream.
-u, --unbuffered
load minimal amounts of data from the input files and flush
the output buffers more often
-z, --null-data
separate lines by NUL characters
--help
display this help and exit
--version
output version information and exit
If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
sed: invalid option -- '2'
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
--follow-symlinks
follow symlinks when processing in place
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if SUFFIX supplied)
-c, --copy
use copy instead of rename when shuffling files in -i mode
-b, --binary
does nothing; for compatibility with WIN32/CYGWIN/MSDOS/EMX (
open files in binary mode (CR+LFs are not treated specially))
-l N, --line-length=N
specify the desired line-wrap length for the `l' command
--posix
disable all GNU extensions.
-r, --regexp-extended
use extended regular expressions in the script.
-s, --separate
consider files as separate rather than as a single continuous
long stream.
-u, --unbuffered
load minimal amounts of data from the input files and flush
the output buffers more often
-z, --null-data
separate lines by NUL characters
--help
display this help and exit
--version
output version information and exit
If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
/usr/local/vesta/func/domain.sh: line 339: 3
61: syntax error in expression (error token is "61")
Thanks
Re: Syntax error in domain.sh / Vesta not backing up all dom
Do you have sed and expect packets in your system?
OS version? VestaCP version? Fresh install or not?
OS version? VestaCP version? Fresh install or not?
Re: Syntax error in domain.sh / Vesta not backing up all dom
Hi,
Not sure what you mean by "Do you have sed and expect packets in your system"
OS is CentOS 7 64 bit. Its a fresh install of Vesta around 2 days ago. No customizations just added domains and transferred websites.
Thanks
Not sure what you mean by "Do you have sed and expect packets in your system"
OS is CentOS 7 64 bit. Its a fresh install of Vesta around 2 days ago. No customizations just added domains and transferred websites.
Thanks
Re: Syntax error in domain.sh / Vesta not backing up all dom
stevetoza wrote: Not sure what you mean by "Do you have sed and expect packets in your system"
Code: Select all
yum install sed expect
Not backuped have SSL may be? There is some differences?stevetoza wrote:OS is CentOS 7 64 bit. Its a fresh install of Vesta around 2 days ago. No customizations just added domains and transferred websites.
Re: Syntax error in domain.sh / Vesta not backing up all dom
Hello,
Just did yum install sed expect - looks like expect is not installed. I have installed it now.
One of the domains does have an SSL installed on it?
Thanks
Just did yum install sed expect - looks like expect is not installed. I have installed it now.
One of the domains does have an SSL installed on it?
Thanks
Re: Syntax error in domain.sh / Vesta not backing up all dom
Try to make backup or wait for backup and please tell, how was it. (same error or no error)
Re: Syntax error in domain.sh / Vesta not backing up all dom
Hello,
Just tried to make a backup getting the same error.
Thanks
Just tried to make a backup getting the same error.
Thanks
Re: Syntax error in domain.sh / Vesta not backing up all dom
Can you pm me accesses to your server for users root and admin? Let's see, what we can do with this.
-
- Posts: 3
- Joined: Mon Nov 16, 2015 8:46 am
Re: Syntax error in domain.sh / Vesta not backing up all dom
Same problem here on a fresh CentOS 7.1 64-bit VPS. Please let me know if you figured out the problem.
Re: Syntax error in domain.sh / Vesta not backing up all dom
Show your logs first! ;-)sjoerdvdwielen wrote:Same problem here on a fresh CentOS 7.1 64-bit VPS. Please let me know if you figured out the problem.