Hallo,
da ich mehr oder weniger nun fast nur noch Linux Mint nutze, wollte ich mich jetzt auch an paperless-ngx wagen. Bzw. habe es ja schon lange auf meiner Syno DS720+ im Docker laufen. Ich wollte nun den Consume-Ordner in der fstab mounten, damit ich eben über diesen Ordner meine Files darüber in paperless integrieren kann. Leider klappt das nicht so und ich hab keine Ahnung was ich falsch mache.
version: "3.4"
services:
broker:
image: docker.io/library/redis:7
restart: unless-stopped
volumes:
- /volume1/docker/paperless-ngx/redisdata:/data
webserver:
image: ghcr.io/paperless-ngx/paperless-ngx:latest
restart: unless-stopped
depends_on:
- broker
ports:
- 8810:8000
healthcheck:
test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"]
interval: 30s
timeout: 10s
retries: 5
volumes:
- /volume1/docker/paperless-ngx/data:/usr/src/paperless/data
- /volume1/docker/paperless-ngx/media:/usr/src/paperless/media
- /volume1/docker/paperless-ngx/export:/usr/src/paperless/export
- /volume1/docker/paperless-ngx/consume:/usr/src/paperless/consume
# - /volume1/paperlessngxincoming:/usr/src/paperless/consume
environment:
PAPERLESS_REDIS: redis://broker:6379
PAPERLESS_SECRET_KEY: pw
PAPERLESS_ADMIN_USER: taker88
PAPERLESS_ADMIN_PASSWORD: pw
PAPERLESS_OCR_LANGUAGE: deu+eng
PAPERLESS_CONSUMER_DELETE_DUPLICATES: true
PAPERLESS_FILENAME_FORMAT: '{correspondent}/{created_year}/{created_month}/{title}'
PAPERLESS_OCR_USER_ARGS: '{"invalidate_digital_signatures":true}'
PAPERLESS_TIME_ZONE: Europe/Berlin
PAPERLESS_TIKA_ENABLED: 1
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
PAPERLESS_TIKA_ENDPOINT: http://tika:9998
USERMAP_UID: 0
USERMAP_GID: 0
gotenberg:
image: docker.io/gotenberg/gotenberg:8
restart: unless-stopped
command:
- "gotenberg"
- "--chromium-disable-javascript=true"
- "--chromium-allow-list=file:///tmp/.*"
tika:
image: ghcr.io/paperless-ngx/tika:latest
restart: unless-stopped
volumes:
data:
media:
redisdata:
Alles anzeigen
Laut der File wäre der Pfad ja /volume1/docker/paperless-ngx/consume - Also habe ich in der fstab folgendes eingetragen
# Synology 720+ - Paperless NGX Consume-Ordner
//192.168.178.123/volume1/docker/paperless-ngx/consume/ /media/NAS/paperlessngxincoming cifs credentials=/home/sascha/.smbcredentials2,nounix,uid=1000,gid=1000,auto,rw 0 0
Die credentials stimmen zu 100%, da ich diese auch noch für andere Mounts nutze. Wenn ich nun sudo mount -a eingebe, kann es nicht gemountet werden.
sascha@sascha-mint:/media/NAS$ sudo mount -a
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
Mache ich testweise genau bei der Zeile ein #, mounte dann alles, klappt es ohne Fehler. Also muss doch einfach nur mein Pfad falsch sein, oder?
PS: Hier noch meine ganze fstab zum Vergleich
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme2n1p4 during installation
UUID=4d143f43-d477-4363-b923-9a953acc3f7e / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme1n1p1 during installation
UUID=16E8-D519 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
# Crucial SSD 1TB
UUID=2830af59-422f-4411-8a1d-b7a4b784d621 /media/CrucialSSD ext4 defaults 0 2
# Nvidia ShieldTV
//192.168.178.154/internal/ /media/shieldtv cifs credentials=/home/sascha/.smbcredentials,nounix,uid=1000,gid=1000,auto,rw 0 0
# Synology 720+
//192.168.178.123/usbshare1-2/ /media/NAS/HDD1 cifs credentials=/home/sascha/.smbcredentials2,nounix,uid=1000,gid=1000,auto,rw 0 0
//192.168.178.123/usbshare2/ /media/NAS/HDD2 cifs credentials=/home/sascha/.smbcredentials2,nounix,uid=1000,gid=1000,auto,rw 0 0
# Synology 720+ - Linux Mint Backup
//192.168.178.123/backupmint-sascha/ /media/NAS/backupmint cifs credentials=/home/sascha/.smbcredentials2,nounix,uid=1000,gid=1000,auto,rw 0 0
# Synology 720+ - Paperless NGX Consume-Ordner
//192.168.178.123/volume1/docker/paperless-ngx/consume/ /media/NAS/paperlessngxincoming cifs credentials=/home/sascha/.smbcredentials2,nounix,uid=1000,gid=1000,auto,rw 0 0
Alles anzeigen
Lg