We are moving! New user registrations to this forum is now closed. Posting here will be disabled eventually. Please go to the new community for your Snakeoil OS support and other discussions. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


[split] How to re-set activation details
#1
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. Big Grin
Reply

#2
(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. Big Grin

Easiest way is to delete the configuration file and restart from scratch.
  1. Do a backup in case you need it.
  2. SSH into the machine & run this command
  3. Code:
    sudo rm /var/www/config/snakeoil.deb
  4. Restart API serviec (In the WebApp, under System page, click on"Restart Rest"
A more difficult way is to change the snakeoil database directly
  1. Again, do a backup just in case
  2. SSH into the machine & run this command
    Code:
    sudo sqlite3 /var/www/config/snakeoil.db

    # If you do not have the sqlite3 program, run sudo apt install sqlite3
  3. Run the following SQLite statement
    Code:
    update settings set value='' where key='rego_code';
  4. Press CTRL+D to exit sqlite
  5. 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.  Big Grin
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • hkphantomgtr
Reply

#3
(04-Apr-2025, 01:00 PM)agent_kith Wrote:
(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. Big Grin

Easiest way is to delete the configuration file and restart from scratch.
  1. Do a backup in case you need it.
  2. SSH into the machine & run this command
  3. Code:
    sudo rm /var/www/config/snakeoil.deb
  4. Restart API serviec (In the WebApp, under System page, click on"Restart Rest"
A more difficult way is to change the snakeoil database directly
  1. Again, do a backup just in case
  2. SSH into the machine & run this command
    Code:
    sudo sqlite3 /var/www/config/snakeoil.db

    # If you do not have the sqlite3 program, run sudo apt install sqlite3
  3. Run the following SQLite statement
    Code:
    update settings set value='' where key='rego_code';
  4. Press CTRL+D to exit sqlite
  5. 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.  Big Grin

Right, Thanks a lot, AK!  Shy
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED[split] MediaCenter33 not starting ing Snakeoil 1.4.3 (High End U3) kmwgr 4 410 06-Apr-2025, 08:16 PM
Last Post: kmwgr
  [split] Problem starting API server 1.4.1 (Missing qsqlite3 lib) clark8888 17 1,095 26-Mar-2025, 09:33 AM
Last Post: clark8888
  Activation Code not received vincentdxu 2 896 20-Sep-2023, 02:19 PM
Last Post: sjtuross
  [split] Cannot install Roon Bridge kees1000 3 1,935 27-May-2023, 07:27 PM
Last Post: pikachullk
  About activation code sunnylof123 4 1,861 07-May-2023, 08:27 AM
Last Post: agent_kith



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
Today 06:43 AM
» Replies: 14
» Views: 765
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 5482
Android Firefox issues with forum
Last Post: agent_kith
03-Jun-2025 04:14 PM
» Replies: 20
» Views: 996
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 478
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 347
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 2934
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 3176
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 10047
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 2339
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 601

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2025. Theme © Melroy van den Berg.