The site, https://happinesspackets.fedorainfracloud.org/ is currently down.
I checked the status here too, and it was confirmed that it's down.
@jflory7 @jonatoni
Metadata Update from @jflory7: - Issue priority set to: waiting on assignee (was: awaiting triage) - Issue set to the milestone: Summer Coding 2019: community bonding - Issue tagged with: bug, type - infra
Metadata Update from @jflory7: - Issue tagged with: PASSED
@phoenixabhishek Thanks for opening a ticket. I will try to look into this during the week. For now, the staging site is still up: https://happinesspackets-stg.fedorainfracloud.org/
Sure :thumbsup: :thumbsup: :thumbsup: :thumbsup: :thumbsup: Thank you for the link :smile: :smile: :smile: :smile: :smile:
Metadata Update from @jflory7: - Issue assigned to jflory7
@jonatoni @bt0dotninja @anxh3l0 I tried to restart the website using the same command used to start it:
SECRET_KEY=testing123 /opt/happinesspackets/fedora-happiness-packets/virtualenv/bin/python2 /opt/happinesspackets/fedora-happiness-packets/virtualenv/bin/gunicorn happinesspackets.wsgi:application --name happinesspackets --workers 3 --user=root --group=root --bind=unix:/opt/happinesspackets/run/gunicorn.sock
But it yields an error that shouldn't happen:
Traceback (most recent call last): File "/opt/happinesspackets/fedora-happiness-packets/virtualenv/lib/python2.7/site-packages/gunicorn/arbiter.py", line 515, in spawn_worker worker.init_process() File "/opt/happinesspackets/fedora-happiness-packets/virtualenv/lib/python2.7/site-packages/gunicorn/workers/base.py", line 122, in init_process self.load_wsgi() File "/opt/happinesspackets/fedora-happiness-packets/virtualenv/lib/python2.7/site-packages/gunicorn/workers/base.py", line 130, in load_wsgi self.wsgi = self.app.wsgi() File "/opt/happinesspackets/fedora-happiness-packets/virtualenv/lib/python2.7/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/opt/happinesspackets/fedora-happiness-packets/virtualenv/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 65, in load return self.load_wsgiapp() File "/opt/happinesspackets/fedora-happiness-packets/virtualenv/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp return util.import_app(self.app_uri) File "/opt/happinesspackets/fedora-happiness-packets/virtualenv/lib/python2.7/site-packages/gunicorn/util.py", line 354, in import_app __import__(module) File "/opt/happinesspackets/fedora-happiness-packets/happinesspackets/wsgi.py", line 28, in <module> application = get_wsgi_application() File "/opt/happinesspackets/fedora-happiness-packets/virtualenv/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application django.setup(set_prefix=False) File "/opt/happinesspackets/fedora-happiness-packets/virtualenv/lib/python2.7/site-packages/django/__init__.py", line 22, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/opt/happinesspackets/fedora-happiness-packets/virtualenv/lib/python2.7/site-packages/django/conf/__init__.py", line 56, in __getattr__ self._setup(name) File "/opt/happinesspackets/fedora-happiness-packets/virtualenv/lib/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup self._wrapped = Settings(settings_module) File "/opt/happinesspackets/fedora-happiness-packets/virtualenv/lib/python2.7/site-packages/django/conf/__init__.py", line 129, in __init__ raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.") ImproperlyConfigured: The SECRET_KEY setting must not be empty.
I need to spend more time to understand how this is currently deployed. I'm not sure it will happen this week. :disappointed_relieved: I can't make any guarantees on getting it back online until I understand how it is deployed today. It might be easier to start with a fresh deployment. I am a little lost on what the right call is.
hello @jflory7, still cant reach the site
Hi @saidat, I have no new progress on this ticket. I didn't deploy the app originally so I am still figuring it out. #111 is likely the best way to get the site back online in a more sustainable way.
Metadata Update from @jflory7: - Issue set to the milestone: Summer Coding 2019: phase 1 (was: Summer Coding 2019: community bonding)
Metadata Update from @jflory7: - Issue unmarked as blocking: #111 - Issue unmarked as blocking: #182
Metadata Update from @jflory7: - Issue set to the milestone: None (was: Summer Coding 2019: phase 1)
When #222 is completed, we will be ready to deploy a new version to staging and then production. For now, I am closing this ticket as a duplicate and we can focus our efforts there. :ocean:
Metadata Update from @jflory7: - Issue close_status updated to: duplicate - Issue status updated to: Closed (was: Open)