Difference between revisions of "Troubleshooting unsorted"

From Larnitech wiki page
Jump to navigation Jump to search
m
m
Line 15: Line 15:
 
if there is  ".no-check" in the email address it will not send email for vefirication
 
if there is  ".no-check" in the email address it will not send email for vefirication
  
==Alice== <!--T:3-->
+
==Alice==
 
https://dialogs.yandex.ru/store/skills/f636b340-larnitech
 
https://dialogs.yandex.ru/store/skills/f636b340-larnitech
  
Line 33: Line 33:
 
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 (screen -ls)
 +
#Do "Full restart"

Revision as of 12:45, 13 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 the devices' history.

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

Find out password from LT_Setup

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

Console doesn't work (or even server doesn't work, for example, with errors "onThreadCrash 6", "unknown: Treads")

  1. End screen session: crtl+c in the screen.
  2. Run new session: screen -c /home/sh2/screen.run
  3. Connect screen with console: screen -r ID, where ID - session ID (screen -ls)
  4. Do "Full restart"