{"action":"created","issue":{"url":"https://api.github.com/repos/wireload/screenly-ose/issues/242","labels_url":"https://api.github.com/repos/wireload/screenly-ose/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/wireload/screenly-ose/issues/242/comments","events_url":"https://api.github.com/repos/wireload/screenly-ose/issues/242/events","html_url":"https://github.com/wireload/screenly-ose/issues/242","id":50561242,"number":242,"title":"Screenly runs for approximately 4-5 hrs - display goes dark - cannot access web admin","user":{"login":"chadmaag","id":10034847,"avatar_url":"https://avatars.githubusercontent.com/u/10034847?v=3","gravatar_id":"","url":"https://api.github.com/users/chadmaag","html_url":"https://github.com/chadmaag","followers_url":"https://api.github.com/users/chadmaag/followers","following_url":"https://api.github.com/users/chadmaag/following{/other_user}","gists_url":"https://api.github.com/users/chadmaag/gists{/gist_id}","starred_url":"https://api.github.com/users/chadmaag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadmaag/subscriptions","organizations_url":"https://api.github.com/users/chadmaag/orgs","repos_url":"https://api.github.com/users/chadmaag/repos","events_url":"https://api.github.com/users/chadmaag/events{/privacy}","received_events_url":"https://api.github.com/users/chadmaag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/wireload/screenly-ose/milestones/2","html_url":"https://github.com/wireload/screenly-ose/milestones/Sprint%200","labels_url":"https://api.github.com/repos/wireload/screenly-ose/milestones/2/labels","id":1320511,"number":2,"title":"Sprint 0","description":"Let's give OSE some TLC.","creator":{"login":"vpetersson","id":357664,"avatar_url":"https://avatars.githubusercontent.com/u/357664?v=3","gravatar_id":"","url":"https://api.github.com/users/vpetersson","html_url":"https://github.com/vpetersson","followers_url":"https://api.github.com/users/vpetersson/followers","following_url":"https://api.github.com/users/vpetersson/following{/other_user}","gists_url":"https://api.github.com/users/vpetersson/gists{/gist_id}","starred_url":"https://api.github.com/users/vpetersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpetersson/subscriptions","organizations_url":"https://api.github.com/users/vpetersson/orgs","repos_url":"https://api.github.com/users/vpetersson/repos","events_url":"https://api.github.com/users/vpetersson/events{/privacy}","received_events_url":"https://api.github.com/users/vpetersson/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":5,"state":"open","created_at":"2015-09-23T14:55:30Z","updated_at":"2015-10-05T10:39:05Z","due_on":"2015-10-06T23:00:00Z","closed_at":null},"comments":17,"created_at":"2014-12-01T19:05:06Z","updated_at":"2015-10-08T10:39:09Z","closed_at":null,"body":"Greetings All\r\n\r\nApologies in advance if I've overlooked any matters with regards to formatting. This is my first time posting in GitHub.\r\n\r\nWe've been running Screenly in an internal beta test to push digital signage for our multi-site church. The software has been exactly what we're looking for, and have been thrilled with how it works.\r\n\r\nEverything has been running solid for a few months until this past week. We find we're now getting approximately 4-5 hrs of uptime with Screenly. Afterwards, the screen goes dark, and we're no longer able to access the web admin panel. I am able to SSH to the device using putty. A reboot brings everything back online for another 4-5 hrs. Lather. Rinse. Repeat.\r\n\r\nWe're running the current OSE build, on a Raspberry Pi Model B, using an official Raspberry Pi power supply. I pulled the device from the location it was installed and hooked it to a different power circuit as well as a new monitor to verify we weren't having power issues or screen issues causing the problem.\r\n\r\nSeeing the recommended course of action described by @vpetersson in a [previously closed thread](https://github.com/wireload/screenly-ose/issues/219)\r\n\r\nI ran the following command until the device crashed\r\n\r\n```$ tail -f /var/log/syslog /tmp/screenly*.log```\r\n\r\n\r\nHere's the results leading up to, at the point of, and after the crash\r\n\r\n```\r\nMon, 01 Dec 2014 17:53:31 Showing asset December Welcome (image)\r\nMon, 01 Dec 2014 17:53:31 Sleeping for 8\r\nMon, 01 Dec 2014 17:53:39 Showing asset December Welcome Book (image)\r\nMon, 01 Dec 2014 17:53:40 Sleeping for 8\r\nMon, 01 Dec 2014 17:53:48 Showing asset December Prayer (image)\r\nMon, 01 Dec 2014 17:53:49 Sleeping for 8\r\nMon, 01 Dec 2014 17:53:57 Showing asset December Connections (image)\r\nMon, 01 Dec 2014 17:53:58 Sleeping for 8\r\nMon, 01 Dec 2014 17:54:06 Showing asset December Groups (image)\r\nMon, 01 Dec 2014 17:54:06 Sleeping for 8\r\nMon, 01 Dec 2014 17:54:15 Showing asset Wornall Wednesdays (image)\r\nMon, 01 Dec 2014 17:54:15 Sleeping for 8\r\nMon, 01 Dec 2014 17:55:00 Showing asset Birthday Party for Jesus (image)\r\nMon, 01 Dec 2014 17:55:15 Sleeping for 8\r\nMon, 01 Dec 2014 17:55:24 Showing asset Angel Tree (image)\r\nMon, 01 Dec 2014 17:55:24 Sleeping for 8\r\nMon, 01 Dec 2014 17:55:32 Showing asset Poinsettia Order Form (image)\r\nMon, 01 Dec 2014 17:55:33 Sleeping for 8\r\nMon, 01 Dec 2014 17:55:41 Showing asset WTTM Promo (image)\r\nMon, 01 Dec 2014 17:55:41 browser found dead, restarting\r\nMon, 01 Dec 2014 17:55:41 Loading browser...\r\n\r\n== /tmp/screenly_xloader.log ==\r\nTraceback (most recent call last):\r\n  File \"/home/pi/screenly/viewer.py\", line 364, in <module>\r\n    main()\r\n  File \"/home/pi/screenly/viewer.py\", line 360, in main\r\n    asset_loop(scheduler)\r\n  File \"/home/pi/screenly/viewer.py\", line 298, in asset_loop\r\n    view_image(uri)\r\n  File \"/home/pi/screenly/viewer.py\", line 181, in view_image\r\n    browser_send('js window.setimg(\"{0}\")'.format(uri), cb=lambda b: 'COMMAND_EXECUTED' in b and 'setimg' in b)\r\n  File \"/home/pi/screenly/viewer.py\", line 160, in browser_send\r\n    load_browser()\r\n  File \"/home/pi/screenly/viewer.py\", line 131, in load_browser\r\n    if browser:\r\n  File \"/usr/local/lib/python2.7/dist-packages/sh.py\", line 334, in __len__\r\n    return len(str(self))\r\n  File \"/usr/local/lib/python2.7/dist-packages/sh.py\", line 370, in __str__\r\n    else: return unicode(self).encode(self.call_args[\"encoding\"])\r\n  File \"/usr/local/lib/python2.7/dist-packages/sh.py\", line 373, in __unicode__\r\n    if self.process and self.stdout:\r\n  File \"/usr/local/lib/python2.7/dist-packages/sh.py\", line 316, in stdout\r\n    self.wait()\r\n  File \"/usr/local/lib/python2.7/dist-packages/sh.py\", line 295, in wait\r\n    self._handle_exit_code(self.process.wait())\r\n  File \"/usr/local/lib/python2.7/dist-packages/sh.py\", line 309, in _handle_exit_code\r\n    self.process.stderr\r\nsh.SignalException_11:\r\n\r\n  RAN: '/usr/bin/uzbl-browser --config=- --uri=file:///tmp/screenly_html/black_page.html --print-events'\r\n\r\n  STDOUT:\r\nEVENT [2426] INSTANCE_START 2426\r\nEVENT [2426] BUILTINS 'back forward scroll reload reload_ign_cache stop zoom_in zoom_out toggle_zoom_type uri js script toggle_status spawn sync_spawn sync_spawn_exec sh sync_sh exit search search_reverse search_clear dehilight set toggle dump_config dump_config_as_events chain print event request menu_add menu_link_add menu_image_add menu_editable_add menu_separator menu_link_separator menu_image_separator menu_editable_separator menu_remove menu_link_remove menu_image_remove menu_editable_remove hardcopy include show_inspector add_cookie delete_cookie clear_cookies download '\r\nEVENT [2426] VARIABLE_SET status_format str '<b>@[@TITLE]@</b> - @[@uri]@ - <span foreground=\"#bbb\">@NAME</span>'\r\nEVENT [2426] VARIA... (291421 more, please see e.stdout)\r\n\r\n  STDERR:\r\n\r\nCleaning up...\r\nCleaning up...\r\nCleaning up...\r\nCleaning up...\r\nCleaning up...\r\nCleaning up...\r\n```\r\n\r\n\"Cleaning up\" continued on in what is to be assumed perpetuity. \r\n\r\nI suspect we have a bad SD card. Card isn't labeled to indicate if it is a SLC, MLC, or TLC card. Can anyone confirm with what I've posted here? "},"comment":{"url":"https://api.github.com/repos/wireload/screenly-ose/issues/comments/146494450","html_url":"https://github.com/wireload/screenly-ose/issues/242#issuecomment-146494450","issue_url":"https://api.github.com/repos/wireload/screenly-ose/issues/242","id":146494450,"user":{"login":"over64","id":2621273,"avatar_url":"https://avatars.githubusercontent.com/u/2621273?v=3","gravatar_id":"","url":"https://api.github.com/users/over64","html_url":"https://github.com/over64","followers_url":"https://api.github.com/users/over64/followers","following_url":"https://api.github.com/users/over64/following{/other_user}","gists_url":"https://api.github.com/users/over64/gists{/gist_id}","starred_url":"https://api.github.com/users/over64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/over64/subscriptions","organizations_url":"https://api.github.com/users/over64/orgs","repos_url":"https://api.github.com/users/over64/repos","events_url":"https://api.github.com/users/over64/events{/privacy}","received_events_url":"https://api.github.com/users/over64/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T10:39:09Z","updated_at":"2015-10-08T10:39:09Z","body":"Maybe it's possible to dump image from SD card?"}}