You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Nova Resource:Wikispore/Runbook

From Wikitech-static
< Nova Resource:Wikispore
Revision as of 22:45, 27 October 2019 by imported>Gergő Tisza (Created page with "== Setting up a new Wikispore instance == # Follow the steps in Help:MediaWiki-Vagrant in Cloud VPS#Setting up your instance with MediaWiki-Vagrant. (Seems very broken ATM...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Setting up a new Wikispore instance

  1. Follow the steps in Help:MediaWiki-Vagrant in Cloud VPS#Setting up your instance with MediaWiki-Vagrant. (Seems very broken ATM, see phab:T236455)
  2. Download custom Wikispore Vagrant roles: (get inside the Vagrant box with cd /srv/mediawiki-vagrant; vagrant ssh if needed, then) cd /vagrant; git fetch "https://gerrit.wikimedia.org/r/mediawiki/vagrant" refs/changes/56/546156/1 && git cherry-pick FETCH_HEAD

Copying the DB of another Wikispore instance

(i.e. syncing up test with production

  1. On the source server, get into vagrant, dump with e.g. mysqldump wiki | gzip -9 -c > wikispore.sql.gz
  2. Move the dump to the target server. TODO exposing it via the web is horribly insecure, scp-ing through the Cloud box and Vagrant box is a pain in the ass; better method needed. (Some kinda NFS share? Password-protected web share?)
  3. On the target server, get into vagrant, import with e.g. cat wikispore.sql | mysql wiki