Domain won't work after moving to new user

Hello,

Note that the move_domain.sh is not smart enough to go through all script configs for user created php files and change any paths setup for the scripts.

For example, if you have something like a config.php file with the full path to the location of the script.. after running the move_domain.sh, you must update these configs as the move_domain.sh will not go into your own files and start changing things.

The actual move of the domain directory is just a "mv" command of /home/user/domains/domain.com. Everything below that won't have it's chmod touched. However, a recursive chown is run to set the correct new user.

I'm not sure if this is the case for your site, but something to consider for debugging.

John
 
Back
Top