Page MenuHomePhabricator

Broken links make bits answer with 403s in beta
Closed, ResolvedPublic

Description

On beta, after a cache purge in bits, all static assets respond with 403 forbidden, that is due to the files being missing on the beta mediawiki servers.

This is due to a broken link:

ls -la /usr/local/apache/common/docroot/bits/static-master/skins

lrwxrwxrwx 1 mwdeploy mwdeploy 28 Sep 3 23:37 /usr/local/apache/common/docroot/bits/static-master/skins -> ../../../../php-master/skins

which points to the void.

When fixed, please un-cache the bits varnish:

varnisadm ban req.url ~ /


Version: unspecified
Severity: normal

Details

Reference
bz70445

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:51 AM
bzimport set Reference to bz70445.
bzimport added a subscriber: Unknown Object (MLST).

Change 158643 had a related patch set uploaded by BryanDavis:
Fix relative symlinks for bits/static-master

https://gerrit.wikimedia.org/r/158643

Change 158643 merged by jenkins-bot:
Fix relative symlinks for bits/static-master

https://gerrit.wikimedia.org/r/158643

Change 158645 had a related patch set uploaded by BryanDavis:
Fix spelling in symlink

https://gerrit.wikimedia.org/r/158645

Change 158645 merged by jenkins-bot:
Fix spelling in symlink

https://gerrit.wikimedia.org/r/158645

Change to docroot synced and varnish cache purged with sudo varnishadm ban req.url '~' / on deployment-cache-bits01