Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

Transferring web, dns & db to different user account.

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
11 posts
  • 1
  • 2
  • Next
TopeZ
Posts: 18
Joined: Mon Nov 03, 2014 11:50 pm

Transferring web, dns & db to different user account.
  • Quote

Post by TopeZ » Sun Feb 15, 2015 10:46 pm

Hello all,

Linux n00b here I recently switched from ZPanel (Windows) to VestaCP (Ubuntu). Loving it so far! Unfortunately though I made a mistake and put all 4 of web & dns domains + 2 dbs under 1 user account.

Is there anyway I can separate and transfer them into newly created user accounts? I saw in the roadmap there is scripts for doing the following:

Domain transfer to another user account
Database transfer to another user account

Now I saw the scripts \ CLI Commands... However I want advice or guidance before I move forward and break things...

Thanks!
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: Transferring web, dns & db to different user account.
  • Quote

Post by joem » Wed Feb 18, 2015 2:04 am

TopeZ wrote:Hello all,

Linux n00b here I recently switched from ZPanel (Windows) to VestaCP (Ubuntu). Loving it so far! Unfortunately though I made a mistake and put all 4 of web & dns domains + 2 dbs under 1 user account.

Is there anyway I can separate and transfer them into newly created user accounts? I saw in the roadmap there is scripts for doing the following:

Domain transfer to another user account
Database transfer to another user account

Now I saw the scripts \ CLI Commands... However I want advice or guidance before I move forward and break things...

Thanks!

Code: Select all

v-change-domain-owner {DOMAIN} {NEWUSERNAME}
Top

Tralapo
Posts: 23
Joined: Wed Oct 15, 2014 11:25 am

Re: Transferring web, dns & db to different user account.
  • Quote

Post by Tralapo » Sat Feb 21, 2015 3:41 pm

joem wrote:

Code: Select all

v-change-domain-owner {DOMAIN} {NEWUSERNAME}
Are you sure this code is still actual? I tried this, but I get:

Code: Select all

v-change-domain-owner: command not found
Top

TopeZ
Posts: 18
Joined: Mon Nov 03, 2014 11:50 pm

Re: Transferring web, dns & db to different user account.
  • Quote

Post by TopeZ » Mon Feb 23, 2015 6:00 pm

joem wrote:
TopeZ wrote:Hello all,

Linux n00b here I recently switched from ZPanel (Windows) to VestaCP (Ubuntu). Loving it so far! Unfortunately though I made a mistake and put all 4 of web & dns domains + 2 dbs under 1 user account.

Is there anyway I can separate and transfer them into newly created user accounts? I saw in the roadmap there is scripts for doing the following:

Domain transfer to another user account
Database transfer to another user account

Now I saw the scripts \ CLI Commands... However I want advice or guidance before I move forward and break things...

Thanks!

Code: Select all

v-change-domain-owner {DOMAIN} {NEWUSERNAME}
This worked like a charm and everything is working just fine after moving the usernames to a new account! Thanks!
Tralapo wrote:
joem wrote:

Code: Select all

v-change-domain-owner {DOMAIN} {NEWUSERNAME}
Are you sure this code is still actual? I tried this, but I get:

Code: Select all

v-change-domain-owner: command not found
Yes I can confirm this works, just fine as I have used it and moved over 4 different web domains to 4 different user accounts.

Make sure you are using the latest VestaCP perhaps?
Top

Tralapo
Posts: 23
Joined: Wed Oct 15, 2014 11:25 am

Re: Transferring web, dns & db to different user account.
  • Quote

Post by Tralapo » Tue Feb 24, 2015 10:55 am

TopeZ wrote:
Tralapo wrote:
joem wrote:

Code: Select all

v-change-domain-owner {DOMAIN} {NEWUSERNAME}
Are you sure this code is still actual? I tried this, but I get:

Code: Select all

v-change-domain-owner: command not found
Yes I can confirm this works, just fine as I have used it and moved over 4 different web domains to 4 different user accounts.

Make sure you are using the latest VestaCP perhaps?
I am. I am using the latest Ubuntu LTS and everything is updated. Those commands never worked for me I should say, none of them to be precise. Maybe it's an Ubuntu thing then?
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: Transferring web, dns & db to different user account.
  • Quote

Post by joem » Fri Feb 27, 2015 10:02 am

Tralapo wrote: I am. I am using the latest Ubuntu LTS and everything is updated. Those commands never worked for me I should say, none of them to be precise. Maybe it's an Ubuntu thing then?
Can you provide us with the exact command your typing in.
Top

Tralapo
Posts: 23
Joined: Wed Oct 15, 2014 11:25 am

Re: Transferring web, dns & db to different user account.
  • Quote

Post by Tralapo » Mon Mar 02, 2015 12:19 pm

joem wrote:
Tralapo wrote: I am. I am using the latest Ubuntu LTS and everything is updated. Those commands never worked for me I should say, none of them to be precise. Maybe it's an Ubuntu thing then?
Can you provide us with the exact command your typing in.
Well, just as it's posted in all previous posts.
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: Transferring web, dns & db to different user account.
  • Quote

Post by joem » Mon Mar 02, 2015 9:57 pm

Tralapo wrote:
joem wrote:
Tralapo wrote: I am. I am using the latest Ubuntu LTS and everything is updated. Those commands never worked for me I should say, none of them to be precise. Maybe it's an Ubuntu thing then?
Can you provide us with the exact command your typing in.
Well, just as it's posted in all previous posts.
Well thats your problem.
Top

alexandremg85
Posts: 3
Joined: Thu Mar 03, 2016 7:56 pm

Re: Transferring web, dns & db to different user account.
  • Quote

Post by alexandremg85 » Thu Mar 03, 2016 7:58 pm

for this error
v-change-domain-owner: line 36: v-search-domain-owner: command not found

change line 36 to this
owner=$($BIN/v-search-domain-owner $domain)

just add BIN variable.
Top

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

Os: Ubuntu 17x
Web: apache + nginx
Re: Transferring web, dns & db to different user account.
  • Quote

Post by plutocrat » Fri Feb 17, 2017 4:18 am

Also had to do a

Code: Select all

v-change-database-owner databasename targetuser
Then set a password in the Vesta interface
Then update the web config (eg wordpress) to use the new details.
Top


Post Reply
  • Print view

11 posts
  • 1
  • 2
  • Next

Return to “Debian/Ubuntu”



  • 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