-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target Directory not set correctly when using docker? #887
Comments
For now as a quick fix, I changed the index.ts so that it does not use the PathHelper for the directory. Things seem odd with the parameter handling. Will look into it later |
When working with this application in a container, the application default directory (as specified in app.sh) is /scan and doesn't need to be changed. node application is thus still using /scan to store scan file. You then use the Volume directive from compose file to map /scan to your preferred host directory
From your compose file exposed above, is data directory (specified as a relative path) existing in the directory where you started the application, using docker compose ? That should be the place where scan docs are stored. |
I'm facing a similar issue. I'm running this cool project using Docker on a Synology NAS. Before I upgraded everything, everything ran smoothly. However currently no scans are saved to the mounted /scan path. Just like @Mawiguk0 I see the following in the log output:
Even whilest the /scan mount is correctly configured per Docker configuration. Is there a fix or workaround available to overcome this issue? |
Hello Could you tell me if you face the same issue with
I mean by using latest instead of master ? |
Hi, thanks for your prompt reply! I've tested latest and can confirm it then works as expected! |
The master tag should be updated now |
The target directory is not set properly or the doc needs to be checked.
Device: HP Officejet Pro 8600 N911a
Command line or Docker : Docker
docker-compose.yml with environement DIR="/scan"
but logs of the container saying:
node-hp-scan-to | Target folder: /tmp/scan-to-pcnLIIdn
node-hp-scan-to | Temp folder: /tmp/scan-to-pchgfLJd
inside the container output of top:
60 58 node S 10.3g 67% 12 0% node index.js -d /scan -ip 192.168.181.17 -p '"scan"_yyyy.mm.dd_hh:MM:ss'
so i assume that the directory is kind of set, but the app is not using the set directory.
Please attach the output with debug (-D switch, see documentation)
The text was updated successfully, but these errors were encountered: