If you can access Management Console WebUI
Get the License ID in your Management Console Settings -> License
If you don't have access to your Management Console WebUI
You'll need access to the host where Management Console is installed to extract License ID from the MC database. Please ensure that the MC service / daemon is down before running commands below
- Make sure Resilio Connect Management Console service is stopped.
- Run powershell command prompt as administrator
- Run command
Install-Module PSSqlite
, agree to install NuGet provider and confirm installation from the untrusted repository - Run the following one-liner
Import-Module PSSQlite; $a = ((Invoke-SqliteQuery -DataSource 'C:\ProgramData\Resilio\Connect Server\data\data.db' -Query "select settings from app_config where id=3;").settings | ConvertFrom-Json).license.TrimStart("btos1_"); $b = ([System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($a)) | ConvertFrom-Json).d; ([System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($b)) | ConvertFrom-Json).info.cst
The output you see is the license ID:
- Make sure that resilio-connect-server daemon is not running.
- Install
sqlite3
command line tool in your Linux distro - Execute the following code, specify the correct path to data.db
sqlite3 "file:/home/ubuntu/resilio-connect-server/var/data/data.db?mode=ro" "select settings from app_config where id=3;" | awk -F '"' '{print $10}' | cut -c 7- | base64 -d | awk -F '"' '{print $8}' | base64 -d | awk -F '"' '{print $94}'