Hello Saku.
With some hustle I deployed cqrlog-improved.
When it starts, Error window pops up:
Quote
Database upgrade crashed with this error:
TMySQL80Connection : Error executing query:
Cannot add or update a child row:
a foreign key constraint fails
(`cqrlog001`.`upload_status`, CONSTRAINT `upload_status_ibfk_1` FOREIGN KEY (`id_log_changes`)
REFERENCES `log_changes` (`id`) ON DELETE SET NULL)
Unquote
After that, two consecutive windows pop up saying that "Could not connect to rigctld / rotctld",
despite the fact that both binaries are present in /usr/bin directory.
Suggestions and help will be very much appreciated.
Tom - SP2L




Something went wrong with database update.
Have you tried to restore backup (I hope you have) and tried again?
If you used "Save log data to local machine" it is enough to restore the "database" folder under the ~/.config/cqrlog
You could also try to create a new log, does that work? (that passes the database update routines)
For some reason cqrlog does not find rigctld/rotctld. Are you sure they are in /usr/bin, or could they be in /usr/local/bin?
What
whreis -b rigctld
says?
Some debug lines could be helpful for both problems.
Start cqrlog in command console as
cqrlog --help
to see different debug number options.
--
Saku
OH1KH