Patrick_3000
Contributor
- Joined
- Apr 28, 2021
- Messages
- 167
I am unable to configure the UPS from the web, and all attempts to start the UPS service give the error message "UPS service failed to start." This is probably because I've had the UPS service set up for years, and it worked with previous versions of Truenas, but probably due to a bug, it no longer does. This has been discussed in multiple past threads, for example this one: https://www.truenas.com/community/threads/unable-to-save-ups-config.87877/.
My problem is that the recommended solution in those other threads is to use sqlite to manually edit the Truenas database (which I guess is located at /data/freenas-v1.db) and delete the UPS entry. However, I have absolutely no idea how to do that, have never used sqlite; and am afraid that editing the database would break Truenas.
Does anyone have any other suggestions? Perhaps there's another way to reset the UPS config without editing the database? Or some pointers on editing the database, either with sqlite or another approach?
My problem is that the recommended solution in those other threads is to use sqlite to manually edit the Truenas database (which I guess is located at /data/freenas-v1.db) and delete the UPS entry. However, I have absolutely no idea how to do that, have never used sqlite; and am afraid that editing the database would break Truenas.
Does anyone have any other suggestions? Perhaps there's another way to reset the UPS config without editing the database? Or some pointers on editing the database, either with sqlite or another approach?
Last edited: