nathangrove / fin-email-parser

Parses financial emails and updates FireFlyIII with the transactions
3 stars 0 forks source link

Unable to run #1

Open dgossghub46 opened 3 months ago

dgossghub46 commented 3 months ago

Hello, thanks for developing this I think it's a great approach to loading transactions in Firefly III.

I followed the instructions to the best of my understanding however when I get to the point that I run the following command: docker run -d --env-file .env -v $(pwd):/app fin-email-parser:latest

It generates a 64-character string of numbers and lower-case letters, and the string is different every time I run it. Running docker ps -a shows that it exits 1s after running. I tried to run bash scripts/run.sh but it generates the error: Could not open input file: /app/runner.php.

Any idea what I might be doing wrong? Thanks in advance.

nathangrove commented 3 months ago

Ahh. The -v $(pwd):/app was wrong. It should be removed and only used for development within docker via the scripts/run.sh script. I updated to README to reflect how it can be ran.

dgossghub46 commented 3 months ago

Thanks for your quick response. Docker ps -a shows that it is up, but the transactions have not been imported and I get the same error when I try to run the debugger:

bash scripts/run.sh generates the error: Could not open input file: /app/runner.php.

It also appears to generate a different name every time it is run, like "sad_einstein", "jolly_darwin" etc - an easter egg?