Hi Tweakers,
Ik zit al een aantal dagen te sukkelen om PaperlessNGX werkend te krijgen.
De Situatie: proxmox -> LXC met docker/portainer -> hierop wil ik een container met PaperlessNGX.
Ik heb op Truenas een NFS share gemaakt, deze gemount naar proxmox en binnen proxmox opnieuw
gemount naar docker LXC.
/f/image/j3uonMLO47TnYWyECoc3kOBM.png?f=fotoalbum_large)
:fill(white):strip_exif()/f/image/6M71LTej8awZU60bJRSQAVB8.png?f=user_large)
:fill(white):strip_exif()/f/image/1Tb0KpuUnOLf1YxM4mJTDXcq.png?f=user_large)
via de Shell in proxmox kan ik deze share benaderen, de mappen op de nfsshare zijn ook te zien
...
Dit is de code die ik gebruik in de Portainer Stacks Web editor.
Na het deployen runnen alle containers, maar kan ik geen verbinding maken met de container
http://local-ip-adress:8777
/f/image/stnzFoiXqhwF9NbNTW6J0BBy.png?f=fotoalbum_large)
:fill(white):strip_exif()/f/image/P24V6lwPQUzhzDsXdnMFEBp0.png?f=user_large)
Relevante software en hardware die ik gebruik
Proxmox 7.4-3
Truenas Scale
Docker LXC op proxmox
Wat doe ik verkeerd?
Ik zit al een aantal dagen te sukkelen om PaperlessNGX werkend te krijgen.
De Situatie: proxmox -> LXC met docker/portainer -> hierop wil ik een container met PaperlessNGX.
Ik heb op Truenas een NFS share gemaakt, deze gemount naar proxmox en binnen proxmox opnieuw
gemount naar docker LXC.
/f/image/j3uonMLO47TnYWyECoc3kOBM.png?f=fotoalbum_large)
:fill(white):strip_exif()/f/image/6M71LTej8awZU60bJRSQAVB8.png?f=user_large)
:fill(white):strip_exif()/f/image/1Tb0KpuUnOLf1YxM4mJTDXcq.png?f=user_large)
via de Shell in proxmox kan ik deze share benaderen, de mappen op de nfsshare zijn ook te zien
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
| root@docker:~# cd / root@docker:/# ls -all total 81 drwxr-xr-x 20 root root 4096 May 21 11:40 . drwxr-xr-x 20 root root 4096 May 21 11:40 .. lrwxrwxrwx 1 root root 7 Dec 19 20:43 bin -> usr/bin drwxr-xr-x 2 root root 4096 Dec 9 20:15 boot drwxr-xr-x 6 root root 480 May 21 11:20 dev drwxr-xr-x 5 1000 1000 4096 May 21 00:08 documents drwxr-xr-x 72 root root 4096 May 21 11:20 etc drwxr-xr-x 2 root root 4096 Dec 9 20:15 home lrwxrwxrwx 1 root root 7 Dec 19 20:43 lib -> usr/lib lrwxrwxrwx 1 root root 9 Dec 19 20:43 lib32 -> usr/lib32 lrwxrwxrwx 1 root root 9 Dec 19 20:43 lib64 -> usr/lib64 lrwxrwxrwx 1 root root 10 Dec 19 20:43 libx32 -> usr/libx32 drwx------ 2 nobody nogroup 16384 May 20 23:39 lost+found drwxr-xr-x 2 root root 4096 Dec 19 20:43 media drwxr-xr-x 2 root root 4096 Dec 19 20:43 mnt drwxr-xr-x 3 root root 4096 May 20 23:40 opt drwxrwxrwx 9 nobody nogroup 9 May 21 11:35 paperlessngx dr-xr-xr-x 506 nobody nogroup 0 May 21 11:20 proc drwx------ 3 root root 4096 May 21 00:02 root drwxr-xr-x 17 root root 580 May 21 11:20 run lrwxrwxrwx 1 root root 8 Dec 19 20:43 sbin -> usr/sbin drwxr-xr-x 2 root root 4096 Dec 19 20:43 srv dr-xr-xr-x 13 nobody nogroup 0 May 21 11:20 sys drwxrwxrwt 9 root root 4096 May 21 11:20 tmp drwxr-xr-x 14 root root 4096 Dec 19 20:43 usr drwxr-xr-x 11 root root 4096 Dec 19 20:43 var root@docker:/# cd /paperlessngx root@docker:/paperlessngx# ls -all total 16 drwxrwxrwx 9 nobody nogroup 9 May 21 11:35 . drwxr-xr-x 20 root root 4096 May 21 11:40 .. drwxrwxrwx 2 nobody nogroup 2 May 20 23:35 consume drwxrwxrwx 2 nobody nogroup 2 May 20 23:35 data drwxrwxrwx 2 nobody nogroup 2 May 20 23:35 db drwxrwxrwx 2 nobody nogroup 2 May 20 23:35 export drwxr-xr-x 2 nobody nogroup 2 May 21 11:35 images drwxrwxrwx 2 nobody nogroup 2 May 20 23:35 media drwxrwxrwx 2 nobody nogroup 2 May 20 23:36 redis root@docker:/paperlessngx# |
...
Dit is de code die ik gebruik in de Portainer Stacks Web editor.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
| version: "3.6"
services:
redis:
image: redis
container_name: PaperlessNGX-REDIS
restart: always
volumes:
- /paperlessngx/redis:/data
db:
image: postgres
container_name: PaperlessNGX-DB
restart: always
volumes:
- /paperlessngx/db:/var/lib/postgresql/data
environment:
POSTGRES_DB: paperless
POSTGRES_USER: paperless
POSTGRES_PASSWORD: paperless
webserver:
image: ghcr.io/paperless-ngx/paperless-ngx
container_name: PaperlessNGX
restart: always
depends_on:
- db
- redis
- gotenberg
- tika
ports:
- 8777:8000
volumes:
- /paperlessngx/data:/usr/src/paperless/data
- /paperlessngx/media:/usr/src/paperless/media
- /paperlessngx/export:/usr/src/paperless/export
- /paperlessngx/consume:/usr/src/paperless/consume
environment:
PAPERLESS_REDIS: redis://redis:6379
PAPERLESS_DBHOST: db
USERMAP_UID: 1026
USERMAP_GID: 100
PAPERLESS_TIME_ZONE: Europe/Brussels
PAPERLESS_ADMIN_USER: admin
PAPERLESS_ADMIN_PASSWORD: admin
PAPERLESS_OCR_LANGUAGE: deu+eng
PAPERLESS_TIKA_ENABLED: 1
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000/forms/libreoffice/convert#
PAPERLESS_TIKA_ENDPOINT: http://tika:9998
gotenberg:
image: gotenberg/gotenberg
restart: always
container_name: PaperlessNGX-GOTENBERG
ports:
- 3000:3000
command:
- "gotenberg"
- "--chromium-disable-routes=true"
tika:
image: ghcr.io/paperless-ngx/tika
container_name: PaperlessNGX-TIKA
ports:
- 9998:9998
restart: always |
Na het deployen runnen alle containers, maar kan ik geen verbinding maken met de container
http://local-ip-adress:8777
/f/image/stnzFoiXqhwF9NbNTW6J0BBy.png?f=fotoalbum_large)
:fill(white):strip_exif()/f/image/P24V6lwPQUzhzDsXdnMFEBp0.png?f=user_large)
Relevante software en hardware die ik gebruik
Proxmox 7.4-3
Truenas Scale
Docker LXC op proxmox
Wat doe ik verkeerd?
Fractal Design Meshify S2|Intel Core i9-10900K|Asus ROG Strix Z490-E Gaming|32GB G.Skill Trident Z F4-3200 |Asus Rog Strix GeForce RTX 3080 OC|Samsung 970 Evo Plus 1TB|Samsung 850 EVO 250GB | Samsung 860 EVO 1TB|Corsair HX1000i|Samsung LC27HG70
/f/image/Oq4heyexRgtVTsaN6SzoTKdP.png?f=fotoalbum_large)