Guest User

Untitled

a guest
Jul 21st, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. Hint: Replace USER with your Aegir Octopus system (not ftp) username.
  2. Your Aegir system username is the same as your ftp username, minus .ftp.
  3.  
  4. 1. Upload or rsync full drupal root of your site to static/custom/name
  5.  
  6. 2. Chmod everything with: chmod -R 775 static/custom/name
  7. Chmod files with: chmod -R 777 static/custom/name/sites/default/files
  8.  
  9. 3. Add platform in Aegir using full system path of static/custom/name
  10. so it will be (in this case) /data/disk/USER/static/custom/name
  11.  
  12. 4. Create an empty site in the new platform with temporary subdomain
  13. like custom-name.your-domain.com
  14.  
  15. 5. Move all files from sites/default/files to sites/domain/files
  16. with: cp -af sites/default/files/* sites/domain/files/
  17.  
  18. 6. Import your uploaded database (or use backup_migrate module) with:
  19. cd static/custom/name/sites/domain
  20. drush sqlc < /data/disk/USER/static/domain.sql
  21. drush cc (choose 1 to clear all)
  22.  
  23. 7. Rename the site (using Migrate task) to your final domain.
  24.  
  25. 8. Finally, re-verify the site in Aegir. Done!
Add Comment
Please, Sign In to add comment