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.
Migrate To New User
Migrate To New User
Avid VestaCP user here (3 servers, 25 sites)-
I have a VestaCP installation running on CentOS 6.5. All of my sites are built under one account, and I am wondering the best way to move a website to another user account. I attempted to create the new user and then create the website under that user, but obviously Vesta does not like that. I looking into the migration function, but since all of my sites are under one user that will not work either.
I understand that I could download and delete the site, then upload it. I am looking for a quicker or easier way to just shuffle things on the server. A little bit of down time is ok.
Thanks in advance!
I have a VestaCP installation running on CentOS 6.5. All of my sites are built under one account, and I am wondering the best way to move a website to another user account. I attempted to create the new user and then create the website under that user, but obviously Vesta does not like that. I looking into the migration function, but since all of my sites are under one user that will not work either.
I understand that I could download and delete the site, then upload it. I am looking for a quicker or easier way to just shuffle things on the server. A little bit of down time is ok.
Thanks in advance!
Re: Migrate To New User
Imburr wrote:Avid VestaCP user here (3 servers, 25 sites)-
I have a VestaCP installation running on CentOS 6.5. All of my sites are built under one account, and I am wondering the best way to move a website to another user account. I attempted to create the new user and then create the website under that user, but obviously Vesta does not like that. I looking into the migration function, but since all of my sites are under one user that will not work either.
I understand that I could download and delete the site, then upload it. I am looking for a quicker or easier way to just shuffle things on the server. A little bit of down time is ok.
Thanks in advance!
Code: Select all
v-change-domain-owner {DOMAIN} {NEWUSERNAME}
Re: Migrate To New User
Wow, that simple huh? I feel like I didn't read the documentation!
Thanks! Saved me a lot of work!
Thanks! Saved me a lot of work!
Re: Migrate To New User
Imburr wrote:Wow, that simple huh? I feel like I didn't read the documentation!
Thanks! Saved me a lot of work!
You really didnt read the docs cause its not in there lol... But you can find all the commands in /usr/local/vesta/bin/
Re: Migrate To New User
Brilliant!
One question, while
v-change-domain-owner {DOMAIN} {NEWUSERNAME}
got
idn: could not convert from ANSI_X3.4-1968 to UTF-8
But finally website seems to work fine... What was the reason of the error message and where to check some log file for it to understand the root of problem?
One question, while
v-change-domain-owner {DOMAIN} {NEWUSERNAME}
got
idn: could not convert from ANSI_X3.4-1968 to UTF-8
But finally website seems to work fine... What was the reason of the error message and where to check some log file for it to understand the root of problem?
Re: Migrate To New User
locales, I thinkkaavain wrote:But finally website seems to work fine... What was the reason of the error message and where to check some log file for it to understand the root of problem?