So I think I crashed instance crashed a few minutes ago and I found the docker container stopped and the resulting console output will be below. I was able to restart IN and all seems to be okay with no data loss. I guess I am wondering how/if I could run some kind of year long expense report that included the associated documents? My assumption is that I tried to run a report that included too many documents resulting in a crash.
Environment:
Docker image running on unRAID server
Server has 32GB of RAM and invoice ninja is NOT restricted in anyway.
What I was doing:
I entered several expenses with attached receipts (documents). I then went to look into some reports. I ran an expense report trying out the “attach documents” option as I was curious if this would somehow include my uploaded receipts (documents). Now I had selected a custom time range for ALL of 2024 and nearly all of my expenses have files attached. The spreadsheet report was produced, however no documents that I found. I went back into IN and noticed some “spinning wheel” activity trying to look at expenses.
I found my invoice ninja docker instance fully stopped with this as the last log entry:
In ZipFile.php line 1748:
Allowed memory size of 268435456 bytes exhausted (tried to allocate 1640331
60 bytes)
2025-01-30 14:37:31,271 WARN exited: queue-worker_01 (exit status 255; not expected)
2025-01-30 14:37:32,277 INFO spawned: 'queue-worker_01' with pid 8123
2025-01-30 14:37:32,278 WARN received SIGQUIT indicating exit request
2025-01-30 14:37:32,279 INFO waiting for shutdown, nginx_00, php-fpm, queue-worker_00, queue-worker_01, scheduler to die
2025-01-30 14:37:32,289 WARN stopped: scheduler (terminated by SIGTERM)
2025-01-30 14:37:32,290 WARN stopped: queue-worker_01 (terminated by SIGTERM)
2025-01-30 14:37:32,295 WARN stopped: queue-worker_00 (terminated by SIGTERM)
2025-01-30 14:37:32,332 INFO stopped: php-fpm (exit status 0)
2025-01-30 14:37:32,363 INFO stopped: nginx_00 (exit status 0)
2025-01-30 14:37:32,364 WARN stopped: shutdown (terminated by SIGTERM)
** Press ANY KEY to close this window **