{"action":"created","issue":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4294","labels_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4294/labels{/name}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4294/comments","events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4294/events","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4294","id":113039110,"number":4294,"title":"Web deploy","user":{"login":"aleksandra-tarkowska","id":1065155,"avatar_url":"https://avatars.githubusercontent.com/u/1065155?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandra-tarkowska","html_url":"https://github.com/aleksandra-tarkowska","followers_url":"https://api.github.com/users/aleksandra-tarkowska/followers","following_url":"https://api.github.com/users/aleksandra-tarkowska/following{/other_user}","gists_url":"https://api.github.com/users/aleksandra-tarkowska/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandra-tarkowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandra-tarkowska/subscriptions","organizations_url":"https://api.github.com/users/aleksandra-tarkowska/orgs","repos_url":"https://api.github.com/users/aleksandra-tarkowska/repos","events_url":"https://api.github.com/users/aleksandra-tarkowska/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandra-tarkowska/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/labels/develop","name":"develop","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-23T15:08:16Z","updated_at":"2015-10-26T10:54:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4294","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4294","diff_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4294.diff","patch_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4294.patch"},"body":"This PR improve web plugin starting and stopping OMERO.web app\r\n\r\nTo test:\r\n- start web twice, you should get error message saying already started.\r\n- check if ``WARNINGS: ?: (1_8.W001) The standalone TEMPLATE_* settings...`` disappeared. When deploying with development server you will see ``System check identified no issues (1 silenced).``\r\n- stop web and create ``dist/var/django.pid`` with random number, start web, check if pid was updated to the correct value. Check if ``pid`` from web status match main process from ``ps aux | grep gunicorn``\r\n- check if ``dist/var/django_secret_key`` file has correct permission (CHECK WINDOWS!):\r\n\r\n    ```\r\n-rw-------   1 omero  staff   50 24 Oct 14:58 django_secret_key\r\n```\r\n- run ``bin\\omero web iis -h`` and check if you see only:\r\n\r\n ```\r\n usage: dist/bin/omero web iis [-h] [--remove] [--keep-sessions | --no-wait]\r\n ...\r\n ```\r\n- run ``bin\\omero web start|restart -h`` and check if you get \r\n\r\n ```\r\n usage: dist/bin/omero web start [-h] [--keep-sessions | --no-wait]\r\n                                [--workers WORKERS]\r\n                                [--worker-connections WORKER_CONNECTIONS]\r\n                                [--wsgi-args WSGI_ARGS]\r\n ...\r\n  --workers WORKERS                     NGINX only: the number of worker processes for handling requests.\r\n   --worker-connections WORKER_CONNECTIONS\r\n                                        NGINX only: the maximum number of simultaneous clients.\r\n   --wsgi-args WSGI_ARGS                 NGINX only: additional arguments. Check Gunicorn Documentationhttp://docs.gunicorn.org/en/latest/settings.html\r\n ```"},"comment":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/comments/151098835","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4294#issuecomment-151098835","issue_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4294","id":151098835,"user":{"login":"aleksandra-tarkowska","id":1065155,"avatar_url":"https://avatars.githubusercontent.com/u/1065155?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandra-tarkowska","html_url":"https://github.com/aleksandra-tarkowska","followers_url":"https://api.github.com/users/aleksandra-tarkowska/followers","following_url":"https://api.github.com/users/aleksandra-tarkowska/following{/other_user}","gists_url":"https://api.github.com/users/aleksandra-tarkowska/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandra-tarkowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandra-tarkowska/subscriptions","organizations_url":"https://api.github.com/users/aleksandra-tarkowska/orgs","repos_url":"https://api.github.com/users/aleksandra-tarkowska/repos","events_url":"https://api.github.com/users/aleksandra-tarkowska/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandra-tarkowska/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T10:54:10Z","updated_at":"2015-10-26T10:54:10Z","body":"@joshmoore Sorry I didn;t know you were planing to test it over the weekend ;-) I am done now. "}}