The files have been updated with aggressive cache clearing. Now restart:
docker-compose restart appWait 10 seconds for restart, then proceed.
- Go to:
http://your-domain/kanban/columns - Click "Add Column"
- Create a column with:
- Label: "Testing123"
- Key: (leave blank, will auto-generate)
- Color: Primary (blue)
- Click "Create Column"
Expected: You should see "Testing123" in the list
- Open new tab
- Go to:
http://your-domain/tasks - Look at the kanban board
Expected: "Testing123" column should appear on the board
Run these diagnostic commands:
# 1. Check database
docker exec -it timetracker_db_1 psql -U timetracker -d timetracker -c "SELECT key, label, is_active FROM kanban_columns ORDER BY position;"
# 2. Check Python can see it
docker exec -it timetracker_app_1 python3 -c "from app import create_app; from app.models import KanbanColumn; app = create_app(); app.app_context().push(); cols = KanbanColumn.get_active_columns(); print(f'Found {len(cols)} columns:'); [print(f' - {c.label}') for c in cols]"
# 3. Check logs for errors
docker logs --tail=50 timetracker_app_1 | grep -i "error\|warning"I've added db.session.expire_all() before EVERY query for kanban columns:
- ✅ In
/tasksroute - ✅ In
/tasks/my-tasksroute - ✅ In
/projects/<id>route - ✅ In
/kanban/columnsroute - ✅ In
/api/kanban/columnsendpoint - ✅ After every column modification
This forces SQLAlchemy to fetch fresh data from the database every single time, completely bypassing any caching.
This adds a tiny bit of overhead (< 1ms per request) but ensures fresh data always.
Then the issue is one of these:
Check step 4.1 above. If your column isn't in the database, there's a form/validation issue.
Press Ctrl+Shift+R (hard refresh) after creating column.
Unlikely, but check if you have multiple postgres containers:
docker ps | grep postgresShould only show ONE container.
Check Docker logs:
docker logs timetracker_app_1 2>&1 | tail -100Look for "Permission denied" or "Access denied" errors.
After restart and testing, tell me:
- Do you see your column in the database? (Step 4.1)
- Does Python see it? (Step 4.2)
- Do you see it on
/kanban/columnspage? - Do you see it on
/taskspage? - Any errors in logs? (Step 4.3)
With these answers, I can pinpoint the exact issue!