Page MenuHomePhabricator

phabricator at labs is not up to date
Closed, ResolvedPublic

Description

role::phabricator::labs is not at the same branch than this phabricator, there is a problem with automatic updates.

Event Timeline

Luke081515 raised the priority of this task from to Needs Triage.
Luke081515 updated the task description. (Show Details)

@mmodell Not at a computer but isn't that just the tracking tag var?

@Negative24: Production isn't deployed via puppet anymore. I just need to set up labs instances to clone the deployment repo instead of the individual tags.

Ah, ok. (I'm a little bit curious of how the deployments are deployed; are they just pulled via git or something else?)

Clone rPHDEP Phabricator Deployment (master) into /srv/phab/, then run git submodule update and that's it!

For example:

sudo git clone https://gerrit.wikimedia.org/r/phabricator/deployment /srv/phab
cd /srv/phab
sudo git submodule update --init --recursive

Once that's done, future updates are as easy as , , , and . (pullsubmodule updaterestart apachecake)

For maximum redundancy, these are the exact commands:

cd /srv/phab
sudo git pull
sudo git submodule update --recursive
sudo /etc/init.d/apache2 restart

@mmodell Thanks for your details (and icons to go with it :)).

Shouldn't sudo service apache2 restart be used instead of the init V script? (or does it even make a difference?)

Negative24 lowered the priority of this task from High to Low.Dec 2 2015, 12:14 AM

@mmodell Thanks for your details (and icons to go with it :)).

Shouldn't sudo service apache2 restart be used instead of the init V script? (or does it even make a difference?)

Sure, service does the same thing as the init script though, in practice.

I tried it, phabricator was updated, but the design was broken, he tried to load this from http, not https.

Works, thanks for instructions :).