Container stuck - not able to stop processing.
Hi,
During a few processed images (55), the container is stuck, not able to stop processing.
Log: 2026-04-07 18:15:49,995 INFO httpx: HTTP Request: GET http://XX.XX.XX.XX:434/api/tags "HTTP/1.1 200 OK" 2026-04-07 18:15:49,997 INFO httpx: HTTP Request: GET http://XX.XX.XX.XX:11434/api/tags "HTTP/1.1 200 OK" INFO: 10.10.60.220:34626 - "GET /api/health HTTP/1.1" 200 OK INFO: 10.10.60.220:34626 - "GET /api/dashboard/status HTTP/1.1" 200 OK INFO: 10.10.60.220:34626 - "GET /api/dashboard/status HTTP/1.1" 200 OK
same issue and same log info for me as well. I now have 75% of my library sitting in pending with no way to requeue them other than individually selecting each photo
same here. and ollama has no ai loaded
Same here. 5K processed 50K to go. Restarted, rebooted but nothing doing.
Confirm that selecting images from all images and reprocessing kicks off processing again. Something to do with queuing, I guess?
I've been doing this but you can only select 50 at a time, I haven't found a way to reprocess all
A bit of. hack / workaround but paste this into the a-eye docker console. It queues 200 pending images (hard limit in the code according to Claude) and keeps repeating until there aren't any left.
python3 << 'EOF' import urllib.request, json, time while True: r = urllib.request.urlopen("http://localhost:8000/api/images?status=pending&limit=200") data = json.loads(r.read()) ids = [i['id'] for i in data['images']] if not ids: print("Done!") break print(f"Enqueuing {len(ids)} images...") payload = json.dumps({"image_ids": ids}).encode() req = urllib.request.Request( "http://localhost:8000/api/images/process-batch", data=payload, headers={"Content-Type": "application/json"}, method="POST" ) resp = urllib.request.urlopen(req) print(json.loads(resp.read())) time.sleep(2) EOF
See https://github.com/SpaceinvaderOne/a-eye/pull/18. I suspect what's happening (in my case) is that the nightly appdata backup restarts the a-eye container and it never kicks off the processing queue again. This PR is designed to recover gracefully if a-eye restarts
I have the same problem. Even restarting the container doesn't solve it. The only way I can restart after stopping is to remove the entire container and start over.
A bit of. hack / workaround but paste this into the a-eye docker console. It queues 200 pending images (hard limit in the code according to Claude) and keeps repeating until there aren't any left.
@martindell Hack works for me. You must turn off authentication and format it so python doesn't complain.
python3 << 'EOF'
import urllib.request
import json
import time
while True:
r = urllib.request.urlopen("http://localhost:8000/api/images?status=pending&limit=200")
data = json.loads(r.read())
ids = [i['id'] for i in data['images']]
if not ids:
print("Done!")
break
print(f"Enqueuing {len(ids)} images...")
payload = json.dumps({"image_ids": ids}).encode()
req = urllib.request.Request(
"http://localhost:8000/api/images/process-batch",
data=payload,
headers={"Content-Type": "application/json"},
method="POST"
)
resp = urllib.request.urlopen(req)
print(json.loads(resp.read()))
time.sleep(2)
EOF
try giving my fork a try I think I fixed this issue, he has yet to pull my changes. https://github.com/vonhex/a-eye its also on Unraid in the community apps.
I guess my situation is a bit different. I started the process by selecting a folder that has 200-ish photos. The scanner is showing me 1800+ scanned. I've clicked on "Stop processing". The button changed to "Stopping" and it got stuck there. If I navigate away from the page and come back, the button is back to "Stop processing" My Ollama (remote machine on the same network) is showing no activity.
I've even tried restarting the docker container (stop & start). Same situation.
I wonder: is this the same situation?
LE: I ended up stopping the container and deleting the photo_renamer.db file. That fixed MY problem (back to 0)
Thanks for the reports and the workarounds people posted here, and a nod to martindell and vonhex whose fixes made it into this release.
Stop Processing now stops properly. It drains the queue straight away and the button turns into Resume Processing, which puts everything pending back in. A restart also recovers on its own now, so the nightly appdata backup won't leave the queue stranded any more. And there's a Retry All Errors button, so no more selecting 50 at a time.
constantin, your case where the button sat on Stopping should be covered by the same change. If anyone's still stuck after updating, open a new issue with the log.