From e5009b4cd274ed1410cb36052abf2adb5adf7be9 Mon Sep 17 00:00:00 2001 From: HolzHannes Date: Thu, 27 May 2021 08:30:21 +0200 Subject: [PATCH 1/4] Info for The input device is not a TTY Errors --- docs/administration.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/administration.rst b/docs/administration.rst index 6f017db11..f170795cc 100644 --- a/docs/administration.rst +++ b/docs/administration.rst @@ -216,6 +216,8 @@ With docker-compose, while paperless is running: $ cd /path/to/paperless $ docker-compose exec webserver +*If you use a command within a cronjob you might use the "-t" flag behind exec to suppress "The input device is not a TTY" errors.* + With docker, while paperless is running: .. code:: shell-session From b3906e7bc101c6c519fa5dc7644cbdcbb8d07ee6 Mon Sep 17 00:00:00 2001 From: HolzHannes Date: Thu, 27 May 2021 10:01:30 +0200 Subject: [PATCH 2/4] Corrected position of info --- docs/administration.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/administration.rst b/docs/administration.rst index f170795cc..7d99eb0f1 100644 --- a/docs/administration.rst +++ b/docs/administration.rst @@ -216,8 +216,6 @@ With docker-compose, while paperless is running: $ cd /path/to/paperless $ docker-compose exec webserver -*If you use a command within a cronjob you might use the "-t" flag behind exec to suppress "The input device is not a TTY" errors.* - With docker, while paperless is running: .. code:: shell-session @@ -240,7 +238,9 @@ Document exporter ================= The document exporter exports all your data from paperless into a folder for -backup or migration to another DMS. +backup or migration to another DMS. + +If you use the document exporter within a cronjob to backup your data you might use the ``-t`` flag behind exec to suppress "The input device is not a TTY" errors. For example: ``docker-compose exec -t webserver document_exporter ../export`` .. code:: From e5b92d895db5d80e6ff90be5f3deae28a130ecb1 Mon Sep 17 00:00:00 2001 From: Jonas Winkler <17569239+jonaswinkler@users.noreply.github.com> Date: Sun, 22 Aug 2021 17:00:36 +0200 Subject: [PATCH 3/4] Update docs/administration.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Stéphane Brunner --- docs/administration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/administration.rst b/docs/administration.rst index 7d99eb0f1..f517ccfa9 100644 --- a/docs/administration.rst +++ b/docs/administration.rst @@ -240,7 +240,7 @@ Document exporter The document exporter exports all your data from paperless into a folder for backup or migration to another DMS. -If you use the document exporter within a cronjob to backup your data you might use the ``-t`` flag behind exec to suppress "The input device is not a TTY" errors. For example: ``docker-compose exec -t webserver document_exporter ../export`` +If you use the document exporter within a cronjob to backup your data you might use the ``-T`` flag behind exec to suppress "The input device is not a TTY" errors. For example: ``docker-compose exec -T webserver document_exporter ../export`` .. code:: From 360fe68f922bdf8234e53ce1edacf2d01b7412cb Mon Sep 17 00:00:00 2001 From: jonaswinkler <17569239+jonaswinkler@users.noreply.github.com> Date: Sun, 22 Aug 2021 17:03:45 +0200 Subject: [PATCH 4/4] fix whitespace --- docs/administration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/administration.rst b/docs/administration.rst index f517ccfa9..43710bd91 100644 --- a/docs/administration.rst +++ b/docs/administration.rst @@ -238,7 +238,7 @@ Document exporter ================= The document exporter exports all your data from paperless into a folder for -backup or migration to another DMS. +backup or migration to another DMS. If you use the document exporter within a cronjob to backup your data you might use the ``-T`` flag behind exec to suppress "The input device is not a TTY" errors. For example: ``docker-compose exec -T webserver document_exporter ../export``