31 Commits

Author SHA1 Message Date
Fabian Ohler
1bce697475 add visibility of PAPERLESS_PRE_CONSUME_SCRIPT 2022-01-26 10:48:05 +01:00
Alex Kavanagh
4f0951402a Fix PAPERLESS_TIKA_GOTENBERG_ENDPOINT in a/t/main.yml
This fixes the ansible role for installing paperless-ng where the config
item PAPERLESS_TIKA_GOTENBERG_ENDPOINT derived from the wrong ansible
variable "paperlessng_tika_endpoint".  This patch corrects that to
"paperlessng_tika_gotenberg_endpoint".
2021-08-30 18:01:33 +01:00
Fabian Koller
6273eb0061
Handle OCR languages with hyphens
See https://github.com/jonaswinkler/paperless-ng/issues/584#issuecomment-782830878
2021-02-23 08:48:46 +01:00
Fabian Koller
734fd7c0fc
Update exposed configuration variables
Include the newly added OCR clean and deskew parameters
2021-02-23 08:35:10 +01:00
jonaswinkler
e2a932d744 update dependencies 2021-02-21 00:24:33 +01:00
jonaswinkler
afb63f763a Merge branch 'master' into dev 2021-02-03 15:24:38 +01:00
Fabian Koller
32c9369ba1
Apply consistent name structure to vars 2021-02-03 08:06:34 +01:00
jonaswinkler
3180b38797 adjust ansible scripts to use gunicorn.conf.py 2021-01-31 15:36:52 +01:00
jonaswinkler
fd59def1bd Merge branch 'feature-websockets-status' into dev 2021-01-31 14:37:15 +01:00
Fabian Koller
9c3b16c879
Switch CI target to sha instead of ref 2021-01-31 11:28:54 +01:00
jonaswinkler
46ea86a6d2 Merge branch 'dev' into feature-websockets-status 2021-01-30 16:08:50 +01:00
jonaswinkler
7414b3d23a update configuration 2021-01-27 19:57:04 +01:00
Fabian Koller
29ce2515ee
Build source package in paperlessng_directory
Avoids permission problems in /tmp
2021-01-25 21:57:20 +01:00
Fabian Koller
6c3b1db4dd
Determine installed version by git commit hash 2021-01-22 16:28:13 +01:00
Fabian Koller
eca1289ce2
Build release archive when version is not avail
Default ansible installation version to "latest" (pulls the latest
published release archive).
2021-01-22 10:49:59 +01:00
Fabian Koller
8884a4dfdf
molecule scenario to test upgrading from releases
Provide a separate scenario to install the last release, then update to
the current one.
Also includes improved deployment verification (check if uploading a
.txt through the API works).
2021-01-18 22:51:40 +01:00
Fabian Koller
19f73f5782
Make update ansible role paths explicit 2021-01-18 22:51:40 +01:00
Fabian Koller
c8b0674b93
Update to 0.9.14 2021-01-14 21:23:44 +01:00
Fabian Koller
69f1931f4f
Update to 0.9.13 2021-01-09 11:52:39 +01:00
Fabian Koller
e4e4efcba7
Fix creation of user arg
json.loads is picky in that is expects true json, not yaml from ansible
2020-12-29 23:54:22 +01:00
Fabian Koller
14f87f5aee
Harden systemd service files, drop perms further 2020-12-29 23:30:59 +01:00
Fabian Koller
bb569b4e78
Integrate OCRmyPDF args into ansible config 2020-12-29 22:43:52 +01:00
Fabian Koller
f075384b44
Move paperless.conf to /etc, drop permissions 2020-12-29 21:55:59 +01:00
Fabian Koller
bf3ffc29a9
Make role compatible with ansible 2.7
Recursive remote copy is supported starting with 2.8 only
Indentation behaviour in literal yaml strings seems to have changed
Regex logic for ImageMagic was flawed (no idea why this worked before)
2020-12-29 20:59:49 +01:00
Fabian Koller
bdf2e29843
Verify role for Ubuntu 20.04 2020-12-28 12:51:49 +01:00
Fabian Koller
ef9631ae24
Drop all permissions to paperlessng user
Also make role idempotent
2020-12-28 11:18:24 +01:00
Fabian Koller
227934a7f0
Do not clear static files on every run
Django collectstatic knows when files change.
2020-12-23 14:05:35 +01:00
Fabian Koller
089a8c0498
Fix fresh installation
We can't backup a nonexistent folder.
2020-12-23 13:39:16 +01:00
Fabian Koller
92fa978735
Allow running role on all Debian releases
Dynamically template current release string where required.
2020-12-23 13:31:30 +01:00
Fabian Koller
e48294a74b
Update to 0.9.9 2020-12-22 19:30:53 +01:00
Fabian Koller
50c5a23de8
add basic ansible role for debian deployment
Currently only Debian 10 buster is supported.
Other Debian versions, Ubuntu and derivates should be easy to integrate.
Database deployment is considered out-of-scope and deferred to the user.
Provides basic upgrade support between releases.
2020-12-22 18:47:02 +01:00