{"action":"created","issue":{"url":"https://api.github.com/repos/wallabag/wallabag/issues/2661","repository_url":"https://api.github.com/repos/wallabag/wallabag","labels_url":"https://api.github.com/repos/wallabag/wallabag/issues/2661/labels{/name}","comments_url":"https://api.github.com/repos/wallabag/wallabag/issues/2661/comments","events_url":"https://api.github.com/repos/wallabag/wallabag/issues/2661/events","html_url":"https://github.com/wallabag/wallabag/issues/2661","id":191967249,"number":2661,"title":"Export (any format): 500 Internal Server Error","user":{"login":"sgiraudot","id":12890639,"avatar_url":"https://avatars.githubusercontent.com/u/12890639?v=3","gravatar_id":"","url":"https://api.github.com/users/sgiraudot","html_url":"https://github.com/sgiraudot","followers_url":"https://api.github.com/users/sgiraudot/followers","following_url":"https://api.github.com/users/sgiraudot/following{/other_user}","gists_url":"https://api.github.com/users/sgiraudot/gists{/gist_id}","starred_url":"https://api.github.com/users/sgiraudot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgiraudot/subscriptions","organizations_url":"https://api.github.com/users/sgiraudot/orgs","repos_url":"https://api.github.com/users/sgiraudot/repos","events_url":"https://api.github.com/users/sgiraudot/events{/privacy}","received_events_url":"https://api.github.com/users/sgiraudot/received_events","type":"User","site_admin":false},"labels":[{"id":34427664,"url":"https://api.github.com/repos/wallabag/wallabag/labels/Bug","name":"Bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-28T10:19:23Z","updated_at":"2016-12-20T09:06:54Z","closed_at":null,"body":"### Issue details\r\n\r\nWhen trying to export the unread entries, I get a 500 Internal Server Error (my first trials were for EPUB but it seems that I have the same error for all the formats).\r\n\r\nThis is what I find in the logs of nginx:\r\n\r\n> [error] 12814#0: *14565 rewrite or internal redirection cycle while redirect to named location \"@wallbag2\", client: _(myip)_, server: _(myserver)_, request: \"GET /bag/export/unread.pdf?tag= HTTP/1.1\", host: \"_(myserver)_\", referrer: \"_(myserver)_/bag/\"\r\n\r\nI can't find anything in the logs of _Wallabag_.\r\n\r\nThe error does not appear when I try to export a single article (using the _Download_ button), just when trying to export the unread articles as a single file.\r\n\r\n### Environment\r\n\r\n* Version: 2.1.4\r\n* Installed on my _Yunohost_ using the [dedicated package](https://github.com/YunoHost-Apps/wallabag2_ynh). This is not yet an official package for _Yunohost_ so it's possible the bug comes from there.\r\n* php version: 5.6.27-0+deb8u1\r\n* OS: Debian 8.6 64bit (Linux 3.16.0-4-amd64)\r\n* Hardware: [OVH VPS](https://www.ovh.com/fr/vps/vps-ssd.xml)\r\n\r\n### Steps to reproduce/test case\r\n\r\nSave some articles and try to export the unread articles from the main page."},"comment":{"url":"https://api.github.com/repos/wallabag/wallabag/issues/comments/268191460","html_url":"https://github.com/wallabag/wallabag/issues/2661#issuecomment-268191460","issue_url":"https://api.github.com/repos/wallabag/wallabag/issues/2661","id":268191460,"user":{"login":"j0k3r","id":62333,"avatar_url":"https://avatars.githubusercontent.com/u/62333?v=3","gravatar_id":"","url":"https://api.github.com/users/j0k3r","html_url":"https://github.com/j0k3r","followers_url":"https://api.github.com/users/j0k3r/followers","following_url":"https://api.github.com/users/j0k3r/following{/other_user}","gists_url":"https://api.github.com/users/j0k3r/gists{/gist_id}","starred_url":"https://api.github.com/users/j0k3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0k3r/subscriptions","organizations_url":"https://api.github.com/users/j0k3r/orgs","repos_url":"https://api.github.com/users/j0k3r/repos","events_url":"https://api.github.com/users/j0k3r/events{/privacy}","received_events_url":"https://api.github.com/users/j0k3r/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T09:06:54Z","updated_at":"2016-12-20T09:06:54Z","body":"Sorry it shouldn't fix the problem but you should have more information in the log file `var/log/prod.log`"}}
{"actor":{"display_login":"j0k3r"}}