Page 2 of 2

Re: Syntax error in domain.sh / Vesta not backing up all dom

Posted: Mon Nov 16, 2015 9:09 am
by sjoerdvdwielen

Code: Select all

-- WEB --
2015-11-14 11:10:01 hosting.tweakitnow.nl
2015-11-14 11:10:59 eindhovengoesibiza.nl
2015-11-14 11:11:12 whirlpoolinfocentrum.nl
2015-11-14 11:11:12 spa-aanbiedingen.nl
2015-11-14 11:11:12 italworks.nl
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
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
37: syntax error in expression (error token is "37")

Re: Syntax error in domain.sh / Vesta not backing up all dom

Posted: Mon Nov 16, 2015 10:06 am
by skurudo
sjoerdvdwielen wrote: 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
37: syntax error in expression (error token is "37")[/code]
sjoerdvdwielen, you can do "Rebuild web" for user or users. It's helps.

If you don't mind, please tell more about your server: OS, panel version, templates for apache/nginx (hosting, basedir..)

Re: Syntax error in domain.sh / Vesta not backing up all dom

Posted: Mon Nov 16, 2015 11:23 am
by sjoerdvdwielen
Thanks that fixed the problem for me!

Re: Syntax error in domain.sh / Vesta not backing up all dom

Posted: Mon Nov 16, 2015 1:57 pm
by skurudo
sjoerdvdwielen wrote:Thanks that fixed the problem for me!
Glad to help you, If you don't mind, please tell more about your server: OS, panel version, templates for apache/nginx (hosting, basedir..)