(04-Apr-2025, 10:13 AM)hkphantomgtr Wrote: Look, AK, may I know that...... can I "deactivate" an activated Snakeoil system (ie. removing the activation info), and then entering a new activation id & code later? Thanks for your concern.
Easiest way is to delete the configuration file and restart from scratch.
- Do a backup in case you need it.
- SSH into the machine & run this command
- Code:
sudo rm /var/www/config/snakeoil.deb
- Restart API serviec (In the WebApp, under System page, click on"Restart Rest"
- Again, do a backup just in case
- SSH into the machine & run this commandCode:
sudo sqlite3 /var/www/config/snakeoil.db
# If you do not have the sqlite3 program, run sudo apt install sqlite3 - Run the following SQLite statementCode:
update settings set value='' where key='rego_code';
- Press CTRL+D to exit sqlite
- Restart API service (In the WebApp, under System page, click on"Restart Rest"
I did thought about adding a button to reset the details. But figured that might cause more support issues for me so dropped that idea. That's why you can find your activation details in the dashboard page, but you cannot actually reset it.
