Scan-o-Matic / scanomatic-standalone

GNU General Public License v3.0
0 stars 0 forks source link

Status page indicate poorly handled initial state #107

Open local-minimum opened 2 years ago

local-minimum commented 2 years ago

🐛 Description

It can say Request refused, reason: TypeError: Cannot read properties of undefined (reading 'length')

🔢 To reproduce

  1. On SoM fresh install (requires removing files the gobal settings volume)
  2. Check the status

✌🏽 Expected behaviour

Handle that initial state properly

Might help so the configurations directory isn't stored in a named volume but in similar ways to how the projects work now in the docker-compose file.

Hint, I've noticed that the job queue gets wrong type on my system some times.

local-minimum commented 2 years ago

I've managed some progress on this and at least the jobs and jobs queue serialization works properly now. However there are strange messages on the status page that indicate something is still off.