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.
Which user executes the CLI commands internally?
-
- Posts: 9
- Joined: Tue Jan 27, 2015 2:11 pm
Which user executes the CLI commands internally?
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.
Re: Which user executes the CLI commands internally?
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.
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.