Page MenuHomePhabricator

Script creation of avatar and award directories
Open, HighPublic


Part of the installation process for SocialProfile is to copy the default image directories for avatars and awards (for some reason that I'm sure @jack can provide)

This requires various rather standardised commands with a variety of permission requirements.

We ought to script this to make this process easier and foolproof.

Event Timeline

lewiscawte created this task.EditedMar 30 2017, 9:20 PM

Current commands:

cp -R /var/www/live/w/extensions/SocialProfile/avatars/ /var/www/images/TARGET_WIKI_IMAGES_DIR_NAME/
mkdir /var/www/images/TARGET_WIKI_IMAGES_DIR_NAME/awards/
sudo chown -hR www-data:www-data /var/www/images/TARGET_WIKI_IMAGES_DIR_NAME/avatars
sudo chown -hR www-data:www-data /var/www/images/TARGET_WIKI_IMAGES_DIR_NAME/awards

Pathing could do with avoiding symlinks on the new server.

lewiscawte triaged this task as High priority.Dec 16 2018, 2:36 AM
lewiscawte moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Feb 25 2019, 2:23 AM