Closed
Bug 670867
Opened 14 years ago
Closed 14 years ago
Builder preview is down
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: clouserw, Unassigned)
Details
This is a 500: https://builder-addons.allizom.org/
I don't know why, our dev copies work. Unless the logs say something, I'd try:
find . -name "*pyc" -exec rm "{}" \;
/etc/init.d/httpd restart
Comment 1•14 years ago
|
||
Was going to go to bed, but wth :)
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] mod_wsgi (pid=24214): Target WSGI script '/data/amo_python/www/builder.preview/flightdeck/wsgi/flightdeck.wsgi' cannot be loaded as Python module.
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] mod_wsgi (pid=24214): Exception occurred processing WSGI script '/data/amo_python/www/builder.preview/flightdeck/wsgi/flightdeck.wsgi'.
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] Traceback (most recent call last):
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] File "/data/amo_python/www/builder.preview/flightdeck/wsgi/flightdeck.wsgi", line 25, in <module>
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] django.utils.translation.activate(django.conf.settings.LANGUAGE_CODE)
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] File "/data/amo_python/www/builder.preview/flightdeck/vendor/lib/python/django/utils/translation/__init__.py", line 100, in activate
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] return _trans.activate(language)
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] File "/data/amo_python/www/builder.preview/flightdeck/vendor/lib/python/django/utils/translation/trans_real.py", line 202, in activate
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] _active.value = translation(language)
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] File "/data/amo_python/www/builder.preview/flightdeck/vendor/lib/python/django/utils/translation/trans_real.py", line 185, in translation
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] default_translation = _fetch(settings.LANGUAGE_CODE)
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] File "/data/amo_python/www/builder.preview/flightdeck/vendor/lib/python/django/utils/translation/trans_real.py", line 162, in _fetch
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] app = import_module(appname)
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] File "/data/amo_python/www/builder.preview/flightdeck/vendor/lib/python/django/utils/importlib.py", line 35, in import_module
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] __import__(name)
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] File "/data/amo_python/www/builder.preview/flightdeck/vendor/lib/python/django/contrib/admin/__init__.py", line 4, in <module>
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] from django.contrib.admin.options import ModelAdmin, HORIZONTAL, VERTICAL
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] File "/data/amo_python/www/builder.preview/flightdeck/vendor/lib/python/django/contrib/admin/options.py", line 6, in <module>
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] from django.contrib.admin import widgets, helpers
[Tue Jul 12 00:33:36 2011] [error] [client 10.2.83.105] ImportError: cannot import name widgets
Assignee: server-ops → shyam
| Reporter | ||
Comment 3•14 years ago
|
||
I still think the steps in comment 0 need done. -> nobody
Assignee: jeremy.orem+bugs → nobody
| Reporter | ||
Updated•14 years ago
|
Severity: major → critical
| Reporter | ||
Comment 4•14 years ago
|
||
Before this is restarted please alter the format of the CACHES settings at the end of the settings_local file. Replace those 3 lines with this:
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': ['10.2.81.12:11211'],
'KEY_PREFIX': 'bamo_next',
}
}
Also change bamo_next to bamo_preview for preview
Comment 5•14 years ago
|
||
The cache settings are changed, and builder-preview and builder-next are both pushed. The link in comment 0 is working for me... I'm not sure what the other link is, but the work requested is complete. Please let us know if you're still getting 500's.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 6•14 years ago
|
||
Verified FIXED; it's all good now:
[12:01:06.459] GET https://builder-addons.allizom.org/ [HTTP/1.1 200 OK 3641ms]
Status: RESOLVED → VERIFIED
| Assignee | ||
Updated•12 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•