View Single Post
Old 01-01-2024, 08:41 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,475
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
It seems that the user defined functions have disappeared. I don't know why. There haven't been any changes to stored templates and functions for a long time.

You can check if they are still in the DB by looking in metadata_db_prefs_backup.json for the key "user_template_functions", or directly in the database in the preferences table. If the functions are there then I will need the metadata.db to debug why they aren't being loaded.

If they are not there then you must think about what might have happened. I can imagine a database restore losing the functions. You can probably put them back by editing the preferences table and adding that key from a backup.
chaley is offline   Reply With Quote