{"action":"created","issue":{"url":"https://api.github.com/repos/pencilblue/pencilblue/issues/1181","repository_url":"https://api.github.com/repos/pencilblue/pencilblue","labels_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/1181/labels{/name}","comments_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/1181/comments","events_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/1181/events","html_url":"https://github.com/pencilblue/pencilblue/issues/1181","id":192560947,"number":1181,"title":"Admin panel progress dialogs don't complete","user":{"login":"wu-lee","id":67825,"avatar_url":"https://avatars.githubusercontent.com/u/67825?v=3","gravatar_id":"","url":"https://api.github.com/users/wu-lee","html_url":"https://github.com/wu-lee","followers_url":"https://api.github.com/users/wu-lee/followers","following_url":"https://api.github.com/users/wu-lee/following{/other_user}","gists_url":"https://api.github.com/users/wu-lee/gists{/gist_id}","starred_url":"https://api.github.com/users/wu-lee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wu-lee/subscriptions","organizations_url":"https://api.github.com/users/wu-lee/orgs","repos_url":"https://api.github.com/users/wu-lee/repos","events_url":"https://api.github.com/users/wu-lee/events{/privacy}","received_events_url":"https://api.github.com/users/wu-lee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-30T13:07:03Z","updated_at":"2016-11-30T16:05:18Z","closed_at":null,"body":"**Description:**\r\n\r\n(Some?) progress bars in the admin panel don't complete.  However, all the ones I've tried don't seem to.\r\n\r\nSpecific cases I can recall:\r\n* installing a new plugin\r\n* adding a site\r\n\r\n**Steps to Reproduce:**\r\n\r\nWith a new install of 0.7.0\r\n* Login as admin\r\n* Go to the admin panel, (for example) plugins->manage\r\n* Click on the \"install\" button for the portfolio plugin\r\n* Watch the progress dialog open, advance to 12%, then halt, with some log entries listed below.\r\n* Open the Javascript console to watch continual POSTs to /api/jobs/get/<long uuid here>\r\n\r\n50% seems to be the halt point for the other dialogs I've seen.  The dialog never closes.  Sometimes the job is completed anyway, and a reload will get past the problem, in the case of the plugin install, it does not.\r\n\r\nAn example of the dialog list content for the case of the portfolio install:\r\n\r\n    2016-11-30T12:56:15.330Z:[1] INSTALL_PLUGIN_portfolio: Verifying that plugin portfolio is not already installed\r\n    2016-11-30T12:56:15.334Z:[1] IS_AVAILABLE_portfolio: Updating job [f1e19381-14c2-457d-8887-62325eb6fd88:IS_AVAILABLE_portfolio] by 0 percent with status: \r\n    2016-11-30T12:56:15.382Z:[1] IS_AVAILABLE_portfolio: Inspecting plugin on disk at: /home/pencilblue/src/plugins/portfolio/details.json\r\n    2016-11-30T12:56:15.419Z:[1] IS_AVAILABLE_portfolio: Updating job [f1e19381-14c2-457d-8887-62325eb6fd88:IS_AVAILABLE_portfolio] by 12 percent with status: \r\n    2016-11-30T12:56:15.471Z:[1] IS_AVAILABLE_portfolio: Updating job [f1e19381-14c2-457d-8887-62325eb6fd88:IS_AVAILABLE_portfolio] by 12 percent with status: \r\n    2016-11-30T12:56:15.530Z:[1] IS_AVAILABLE_portfolio: Updating job [f1e19381-14c2-457d-8887-62325eb6fd88:IS_AVAILABLE_portfolio] by 12 percent with status: \r\n\r\n\r\n**Configuration Details:**\r\n\r\n    module.exports = {\r\n\tsiteName: \"<redacted>\",\r\n\tsiteRoot: \"<redacted>\",\r\n\tsitePort: 8700,\r\n\tsiteIP: \"127.0.0.1\",\r\n\tlogging: {\r\n\t    level: \"debug\"\r\n\t},\r\n\tdb: {\r\n\t    type:\"mongo\",\r\n\t    servers: [\r\n\t      \"127.0.0.1:27017\"\r\n\t    ],\r\n\t    name: \"pencilblue\",\r\n\t    writeConcern: 1\r\n\t},\r\n\tcache: {\r\n\t    fake: true,\r\n\t    host: \"localhost\",\r\n\t    port: 6379\r\n\t},\r\n\tsettings: {\r\n\t    use_memory: false,\r\n\t    use_cache: false\r\n\t},\r\n\ttemplates: {\r\n\t    use_memory: true,\r\n\t    use_cache: false\r\n\t},\r\n\tplugins: {\r\n\t    caching: {\r\n\t\tuse_memory: false,\r\n\t\tuse_cache: false\r\n\t    }\r\n\t},\r\n\tregistry: {\r\n\t    type: \"mongo\"\r\n\t},\r\n\tsession: {\r\n\t    storage: \"mongo\"\r\n\t},\r\n\tmedia: {\r\n\t    provider: \"mongo\",\r\n\t    max_upload_size: 6 * 1024 * 1024\r\n\t},\r\n\tcluster: {\r\n\t    workers: 1,\r\n\t    self_managed: true\r\n\t},\r\n\tmultisite: {\r\n\t    enabled: true,\r\n\t    globalRoot: 'http://localhost:8700'\r\n\t}\r\n    };\r\n\r\n**Log Output:**\r\n\r\nSnippet from appropriate part of log, truncated:\r\n\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 19ms URL=[POST]/api/plugins/install/portfolio CODE=200\",\"timestamp\":\"2016-11-30T12:25:37.775Z\"}\r\n    {\"level\":\"debug\",\"message\":\"INSTALL_PLUGIN_portfolio: Verifying that plugin portfolio is not already installed\",\"timestamp\":\"2016-11-30T12:25:37.787Z\"}\r\n    {\"level\":\"debug\",\"message\":\"IS_AVAILABLE_portfolio: Updating job [a5a0bacd-360e-4b3c-9ead-0c26ac17160b:IS_AVAILABLE_portfolio] by 0 percent with status: \",\"timestamp\":\\\r\n    \"2016-11-30T12:25:37.794Z\"}\r\n    {\"level\":\"debug\",\"message\":\"IS_AVAILABLE_portfolio: Inspecting plugin on disk at: /home/pencilblue/src/plugins/portfolio/details.json\",\"timestamp\":\"2016-11-30T12:25:37\\\r\n    .863Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 10ms URL=[POST]/api/jobs/getLogs/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:37.893Z\"}\r\n    {\"level\":\"debug\",\"message\":\"IS_AVAILABLE_portfolio: Updating job [a5a0bacd-360e-4b3c-9ead-0c26ac17160b:IS_AVAILABLE_portfolio] by 12 percent with status: \",\"timestamp\"\\\r\n    :\"2016-11-30T12:25:37.913Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 7ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:37.960Z\"}\r\n    {\"level\":\"debug\",\"message\":\"IS_AVAILABLE_portfolio: Updating job [a5a0bacd-360e-4b3c-9ead-0c26ac17160b:IS_AVAILABLE_portfolio] by 12 percent with status: \",\"timestamp\"\\\r\n    :\"2016-11-30T12:25:37.980Z\"} \r\n    {\"level\":\"debug\",\"message\":\"IS_AVAILABLE_portfolio: Updating job [a5a0bacd-360e-4b3c-9ead-0c26ac17160b:IS_AVAILABLE_portfolio] by 12 percent with status: \",\"timestamp\"\\\r\n    :\"2016-11-30T12:25:38.026Z\"} \r\n    {\"level\":\"debug\",\"message\":\"Response Time: 21ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:39.090Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 8ms URL=[POST]/api/jobs/getLogs/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:40.006Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 7ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:40.193Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 11ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:41.302Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 18ms URL=[POST]/api/jobs/getLogs/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:42.112Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 6ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:42.404Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 6ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:43.512Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 9ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:44.625Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 19ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:45.757Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 12ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:46.867Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 5ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:47.972Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 6ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:49.070Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 6ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:50.159Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 10ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:51.275Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 17ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:52.382Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 6ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:53.472Z\"}\r\n    {\"level\":\"debug\",\"message\":\"Response Time: 6ms URL=[POST]/api/jobs/get/a5a0bacd-360e-4b3c-9ead-0c26ac17160b CODE=200\",\"timestamp\":\"2016-11-30T12:25:54.590Z\"}\r\n    ...\r\n\r\nPencilBlue Version: 0.7.0-RC1\r\n\r\nNode.js Version: v4.6.2\r\n\r\nEnvironment Description:\r\n\r\nDebian \"Wheezy\" Webserver\r\nFirefox 50.0 on Ubuntu Precise\r\nChomium 37.0.2062.120 Ubuntu 12.04 (281580) (64-bit)\r\n"},"comment":{"url":"https://api.github.com/repos/pencilblue/pencilblue/issues/comments/263913466","html_url":"https://github.com/pencilblue/pencilblue/issues/1181#issuecomment-263913466","issue_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/1181","id":263913466,"user":{"login":"dukeofsussex","id":9024599,"avatar_url":"https://avatars.githubusercontent.com/u/9024599?v=3","gravatar_id":"","url":"https://api.github.com/users/dukeofsussex","html_url":"https://github.com/dukeofsussex","followers_url":"https://api.github.com/users/dukeofsussex/followers","following_url":"https://api.github.com/users/dukeofsussex/following{/other_user}","gists_url":"https://api.github.com/users/dukeofsussex/gists{/gist_id}","starred_url":"https://api.github.com/users/dukeofsussex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dukeofsussex/subscriptions","organizations_url":"https://api.github.com/users/dukeofsussex/orgs","repos_url":"https://api.github.com/users/dukeofsussex/repos","events_url":"https://api.github.com/users/dukeofsussex/events{/privacy}","received_events_url":"https://api.github.com/users/dukeofsussex/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T16:05:18Z","updated_at":"2016-11-30T16:05:18Z","body":"Yeah, nothing wrong with either. I'll have a look into it the next few days."}}
{"actor":{"display_login":"dukeofsussex"}}