{"action":"created","issue":{"url":"https://api.github.com/repos/dalibo/pgbadger/issues/226","labels_url":"https://api.github.com/repos/dalibo/pgbadger/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/dalibo/pgbadger/issues/226/comments","events_url":"https://api.github.com/repos/dalibo/pgbadger/issues/226/events","html_url":"https://github.com/dalibo/pgbadger/issues/226","id":59220529,"number":226,"title":" can't read file LAST_PARSED.tmp","user":{"login":"gonxalo2000","id":910465,"avatar_url":"https://avatars.githubusercontent.com/u/910465?v=3","gravatar_id":"","url":"https://api.github.com/users/gonxalo2000","html_url":"https://github.com/gonxalo2000","followers_url":"https://api.github.com/users/gonxalo2000/followers","following_url":"https://api.github.com/users/gonxalo2000/following{/other_user}","gists_url":"https://api.github.com/users/gonxalo2000/gists{/gist_id}","starred_url":"https://api.github.com/users/gonxalo2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonxalo2000/subscriptions","organizations_url":"https://api.github.com/users/gonxalo2000/orgs","repos_url":"https://api.github.com/users/gonxalo2000/repos","events_url":"https://api.github.com/users/gonxalo2000/events{/privacy}","received_events_url":"https://api.github.com/users/gonxalo2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-27T10:50:34Z","updated_at":"2015-03-02T10:39:53Z","closed_at":null,"body":"Yesterday i download the last version of pbbadger. Then make a bash file in a remote server with apache, here's the code:\r\n------------------------------\r\n#!/bin/bash\r\n\r\nSERVER=postgres\r\nDIR_LOG_SERVER=/var/log/pg_log\r\n\r\nssh ${SERVER} 'cat ' \"${DIR_LOG_SERVER}\"'/*.log' | /usr/bin/pgbadger -I -O /var/www/pgBadger6 -\r\n------------------------------\r\nI run it onece and i get the reports and all was ok.\r\nI run a second time and i get ...\r\n\r\nWARNING: can't read file /var/www/pgBadger6/LAST_PARSED.tmp, No such file or directory\r\nHINT: maybe there's no new entries in your log since last run.\r\nLOG: Ok, generating global index to access incremental reports...\r\n\r\nThis is a production database and the logs gets a lot of entries between runs.\r\nI look out for the file and it does not exists, but It exists: /var/www/pgBadger6/LAST_PARSED\r\nWhat i'm doing wrong!?\r\nTks a lot."},"comment":{"url":"https://api.github.com/repos/dalibo/pgbadger/issues/comments/76690285","html_url":"https://github.com/dalibo/pgbadger/issues/226#issuecomment-76690285","issue_url":"https://api.github.com/repos/dalibo/pgbadger/issues/226","id":76690285,"user":{"login":"gonxalo2000","id":910465,"avatar_url":"https://avatars.githubusercontent.com/u/910465?v=3","gravatar_id":"","url":"https://api.github.com/users/gonxalo2000","html_url":"https://github.com/gonxalo2000","followers_url":"https://api.github.com/users/gonxalo2000/followers","following_url":"https://api.github.com/users/gonxalo2000/following{/other_user}","gists_url":"https://api.github.com/users/gonxalo2000/gists{/gist_id}","starred_url":"https://api.github.com/users/gonxalo2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonxalo2000/subscriptions","organizations_url":"https://api.github.com/users/gonxalo2000/orgs","repos_url":"https://api.github.com/users/gonxalo2000/repos","events_url":"https://api.github.com/users/gonxalo2000/events{/privacy}","received_events_url":"https://api.github.com/users/gonxalo2000/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T10:39:53Z","updated_at":"2015-03-02T10:39:53Z","body":"You're righT! It works fine now.\r\nTks a log again.!"}}