I did a clean install of HestiaCP on Debian, everything perfect.
I create a domain and install wordpress. All perfect.
I use some migration plugin, migrate the content of the website and the website is installed on Hestiacp, everything perfect! I access to wp-admin, and everything ok.
I do the same with another website. I install the domain, ok. I install Wordpress clean, ok. I migrate the website, ok, the website looks perfect. I try to access and … error. I try to access the DB and error.
It is not only with an isolated website, I have 10 websites. Only the first one has been installed correctly. The second and third, give me the same error.
Before they were in Cpanel with Almalinux, with apache. I don’t know if this is relevant, but it’s information.
If using Nginx, the log is here: /var/log/nginx/domains/YourDomain.error.log
If using Nginx+Apache, the log is here: /var/log/apache2/domains/YourDomain.error.log
There are different reasons for this, from plugins to WP configuration, here it is worth trying not to use the plugin, but to manually transfer both WP and the database. Perhaps there is a database authorization or plugin error somewhere. For example, a login and password error for the database in the WP configuration
That’s because you changed the dir to /root/, you should run the command when you are in the document root of your WP installation /home/YourUser/web/YourDomain/public_html/
cd /home/YourUser/web/YourDomain/public_html/
v-run-cli-cmd YourUser /home/YourUser/.wp-cli/wp user update nvidia --user_pass='YourPassword'
Or you can specify the path in the command itself:
v-run-cli-cmd YourUser /home/YourUser/.wp-cli/wp user update nvidia --user_pass='YourPassword' --path='/home/YourUser/web/YourDomain/public_html'