[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 145 06-Apr-2025, 08:16 PM
Last Post: kmwgr
  [split] Problem starting API server 1.4.1 (Missing qsqlite3 lib) clark8888 17 447 26-Mar-2025, 09:33 AM
Last Post: clark8888
  Activation Code not received vincentdxu 2 743 20-Sep-2023, 02:19 PM
Last Post: sjtuross
  [split] Cannot install Roon Bridge kees1000 3 1,716 27-May-2023, 07:27 PM
Last Post: pikachullk
  About activation code sunnylof123 4 1,633 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
Normal/Inverted Phase Playback
Last Post: hkphantomgtr
Yesterday 05:05 PM
» Replies: 8
» Views: 3576
Snakeoil 1.4.3 (High End U3)
Last Post: Snoopy8
23-Apr-2025 04:13 PM
» Replies: 31
» Views: 1223
Work In Progress: 1.4.4
Last Post: agent_kith
23-Apr-2025 11:35 AM
» Replies: 13
» Views: 268
Wiki update - need your help!
Last Post: Snoopy8
22-Apr-2025 02:23 PM
» Replies: 7
» Views: 177
No audio devices on RPi5 with latests bu...
Last Post: miksi
21-Apr-2025 12:52 AM
» Replies: 16
» Views: 421
new install issues
Last Post: Snoopy8
19-Apr-2025 01:08 PM
» Replies: 7
» Views: 188
Connecting Spotify to SnakeOil
Last Post: Snoopy8
16-Apr-2025 01:55 PM
» Replies: 10
» Views: 264
Misc. sharing for building Raspberry Pi ...
Last Post: hkphantomgtr
13-Apr-2025 12:47 PM
» Replies: 2
» Views: 112
[split] Snakeoil 1.4.3 (High End U3)
Last Post: agent_kith
09-Apr-2025 03:45 PM
» Replies: 1
» Views: 76
SQ difference - Raspberry Pi vs x86_64?
Last Post: agent_kith
09-Apr-2025 03:41 PM
» Replies: 15
» Views: 1080

[-]
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.