Cannot get task history to work.

54 views
Skip to first unread message

My Display Name

unread,
Feb 9, 2018, 12:21:36 PM2/9/18
to Luigi
I'm having a difficult time getting task history to work.

In the directory where I launch luigid from, I have a file called luigi.cfg.

In it, I include the lines:

[scheduler]
record_task_history=True
state_path=/home/task_state.pickle

and

[task_history]
db_connection=myconnection


The tables get successfully created, but when I try to access locahost:8082/history, I get a 500 internal server error, and none of the tables get updated when I run a task. Otherwise the interface works fine.

Suggestions?

wixo...@gmail.com

unread,
May 9, 2018, 11:44:05 AM5/9/18
to Luigi

I'm having the exact same issue. Are you using MSSQL as your database as well?

Andrew Brooks

unread,
May 9, 2018, 11:46:15 AM5/9/18
to wixo...@gmail.com, Luigi
Yup - MSSQL database.

--
You received this message because you are subscribed to a topic in the Google Groups "Luigi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/luigi-user/mcd5-nmnagk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to luigi-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--------------------------
Andrew Brooks, PhD
Data Scientist, Scientific Games International


    

João Paulo Albuquerque

unread,
Jul 13, 2022, 4:32:34 PM7/13/22
to Luigi
Same here! Got any workaround? 

João Paulo Albuquerque

unread,
Jul 14, 2022, 8:00:03 AM7/14/22
to Luigi
FYI the error might be this one: https://github.com/spotify/luigi/issues/2769. It is a problem when creating the timestamp column for the task_events table. 
Reply all
Reply to author
Forward
0 new messages