Closed hectorviov closed 9 years ago
that's weird. How many times have you tried to initalize the database? Or, did you upgraded the code and tried to restart the daemon? The problem could lies in the database migration .
I just installed like it says on the Readme. Didn't do anything else. I'm running Ubuntu Server...
Saludos, Hector Villarreal On Jul 10, 2015 4:32 AM, "Leonardo" notifications@github.com wrote:
that's weird. How many times have you tried to initalize the database? Or, did you upgraded the code and tried to restart the daemon? The problem could lies in the database migration https://github.com/radiocicletta/morganfreeman/blob/master/icestats/db.py#L27 .
— Reply to this email directly or view it on GitHub https://github.com/radiocicletta/morganfreeman/issues/3#issuecomment-120319385 .
So, i understood the problem, that relies only on the database initialization. Since the db model was changed through the releases, we created statements for the migrations not thinking about new installations. if you have the sqlite3 command line application, try edit the database stats.sqlite
using the pragma
directive:
$ sqlite3 stats.sqlite
sqlite> pragma user_version = 1;
sqlite>^D
$
then restart the application, all should work correctly.
I'm having trouble starting the daemon because an exception of a duplicate column with error: