Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta CLI
  • Search

Error on /usr/local/vesta/bin/v-update-sys-queue backup

Questions regarding the Command Line Interface
CLI
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
daross
Posts: 3
Joined: Sat Apr 04, 2020 8:37 am

Os: Ubuntu 17x
Web: apache + nginx
Error on /usr/local/vesta/bin/v-update-sys-queue backup
  • Quote

Post by daross » Sat Apr 04, 2020 8:42 am

Hi all,

I am getting the following errors anytime the cron runs and when I run these commands on the server:
sudo /usr/local/vesta/bin/v-update-sys-queue backup
sudo /usr/local/vesta/bin/v-update-sys-queue letsencrypt


The errors I'm getting:
/usr/local/vesta/bin/v-update-sys-queue: 21: /usr/local/vesta/bin/v-update-sys-queue: source: not found
/usr/local/vesta/bin/v-update-sys-queue: 24: /usr/local/vesta/bin/v-update-sys-queue: source: not found
/usr/local/vesta/bin/v-update-sys-queue: 25: /usr/local/vesta/bin/v-update-sys-queue: source: not found
/usr/local/vesta/bin/v-update-sys-queue: 35: /usr/local/vesta/bin/v-update-sys-queue: check_args: not found


line 21: source /etc/profile
line 24: source $VESTA/func/main.sh
line 25: source $VESTA/conf/vesta.conf
line 35: check_args '1' "$#" 'QUEUE'


Can anyone help?
Top

plutocrat
Posts: 232
Joined: Fri Jan 27, 2017 9:16 am

Os: Ubuntu 17x
Web: apache + nginx
Re: Error on /usr/local/vesta/bin/v-update-sys-queue backup
  • Quote

Post by plutocrat » Thu Apr 09, 2020 1:51 am

I'm guessing the $VESTA environment variable isn't set to /usr/local/vesta/, which means it can't find the files to source.
Check it as a logged in user with the command env, and look for VESTA=/user/local/vesta

You can set it manually to test
VESTA=/usr/local/vesta
sudo /usr/local/vesta/bin/v-my-command
Top

daross
Posts: 3
Joined: Sat Apr 04, 2020 8:37 am

Os: Ubuntu 17x
Web: apache + nginx
Re: Error on /usr/local/vesta/bin/v-update-sys-queue backup
  • Quote

Post by daross » Sat Jun 06, 2020 8:38 am

Thanks for your reply. I have checked and it looks like it is there and exists as:

VESTA=/usr/local/vesta
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “CLI”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password