title: How to solve ERROR: could not access file "pglogical": No such file or directory
body: <p>Error:</p>
  <pre><code>2019-06-17T05:00:11 [SOURCE_CAPTURE ]E: RetCode: SQL_ERROR SqlState: 58P01 NativeError: 1 Message: ERROR: could not access file &quot;pglogical&quot;: No such file or directory;, Error while executing the query [1022502] (ar_odbc_stmt.c:2546)
  2019-06-17T05:00:11 [SOURCE_CAPTURE ]E: RetCode: SQL_ERROR SqlState: 42P01 NativeError: 1 Message: ERROR: relation &quot;pglogical.replication_set&quot; does not exist;, No query has been executed with that handle [1022502] (ar_odbc_stmt.c:3722)
  </code></pre>
  <p>We receive this error every 3 months or so. Restarting the task solves the problem but resume doesn't work.</p>
  <p>Replication slot exists but seems like it's in inactive state:</p>
  <pre><code>   postgres=&gt; select * from pg_replication_slots ;
                                 slot_name                            |    plugin     | slot_type | datoid |   database    | active | active_pid | xmin | catalog_xmin | restart_lsn
      ----------------------------------------------------------------+---------------+-----------+--------+---------------+--------+------------+------+--------------+--------------
       juvmrynv47ajpwrc_00016389_f28d6802_db75_43d6_8058_315783e9b1b2 | test_decoding | logical   |  16389 | postgres | f      |            |      |    148271120 | 8DF/B292FB48
      (1 row)
  </code></pre>