Difference between revisions of "Troubleshooting unsorted"

From Larnitech wiki page
Jump to navigation Jump to search
m
m
Line 34: Line 34:
 
select * from accounts;
 
select * from accounts;
 
</syntaxhighlight>
 
</syntaxhighlight>
 
==Console doesn't work (or even server doesn't work, for example, with errors "onThreadCrash 6", "unknown: Treads")==
 
#End screen session: <code>crtl+c</code> in the screen.
 
#Run new session: <code>screen -c /home/sh2/screen.run</code>
 
#Connect screen with console: <code>screen -r ID</code>, where ID - session ID (<code>screen -ls</code>)
 
#Do "Full restart"
 

Revision as of 07:44, 28 January 2022

Disk usage error

Check what folder is full:

cd /storage
du -h -d 1

If folder is /storage/history, then write in screen:

history delete old

This will delete history of connected devices.

Registering email with no verification

testemail@gmail.com.no-check if there is ".no-check" in the email address it will not send email for vefirication

Alice

https://dialogs.yandex.ru/store/skills/f636b340-larnitech

Upload backup from server A to server B

  1. Save backup on A;
  2. Download it;
  3. Switch module ID on server B to A's ID;
  4. Copy and save somewhere B server's sn from logic->hw;
  5. Install needed plugins;
  6. Switch server mode to 'Gateway';
  7. Upload backup to B and restore it;
  8. Switch sn="xxxxxxxx" on B in logic.xml to the sn from p.4;
  9. Switch back server mode to 'Default'

Find out password from LT_Setup

sqlite3 /home/settings/db/larnitech.db
select * from accounts;