Error after update tuptime to version 3
rfrail3 opened this issue · 1 comments
rfrail3 commented
After update a system with tuptime 2.6 to 3.0, tuptime execution report the following error:
File "/usr/bin/tuptime", line 482, in
main()
File "/usr/bin/tuptime", line 356, in main
conn.execute('select count(endst) from tuptime where endst = 0 and oid < (select max(oid) from tuptime)')
sqlite3.OperationalError: no such column: endst
rfrail3 commented
Tuptime change database schema from 2.x to 3.x release. There is a script into de repo for migrate it.
Please, execute the file located here:
https://github.com/rfrail3/tuptime/blob/master/scripts/db-tuptime-migrate.sh