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

Which user executes the CLI commands internally?

Questions regarding the Command Line Interface
CLI
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
paralosreg
Posts: 9
Joined: Tue Jan 27, 2015 2:11 pm

Which user executes the CLI commands internally?
  • Quote

Post by paralosreg » Sun Apr 24, 2022 10:49 am

I'm having a problem due to a reinstall of postgresql (viewtopic.php?f=14&p=85920#p85920). From what I have been able to find out, the error is related to the fact that the execution of the command does not find the psql command. I have added the path to the admin PATH variable via .bashrc, it works fine when run in terminal but it still fails on v-commands.
Top

sandro
Support team
Posts: 87
Joined: Sun Aug 30, 2020 11:02 am

Os: CentOS 6x
Web: apache + nginx
Re: Which user executes the CLI commands internally?
  • Quote

Post by sandro » Wed Apr 27, 2022 12:18 pm

I don't use PostgreSQL with my VestaCP, but I believe the problem might have been caused by uninstalling version 9.2.

If I'm not mistaken Postgres uses some user and db settings to allow (or not) access to the database.

Deleting version 9.2 may have changed this, as before everything worked and only after the update did the problem appear. Correct?

Check the configuration in the /usr/local/vesta/data/users/admin/db.conf file, which is used in the v-add-database script.
Top


Post Reply
  • Print view

2 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