Difference between revisions of "Troubleshooting unsorted"

From Larnitech wiki page
Jump to navigation Jump to search
m
m
Line 1: Line 1:
==Deleting history (for full hdd)== <!--T:3-->
+
==Disk usage error==
Connect via SSH -> screen -rx -> history delete old
+
Check what folder is full:
 +
<syntaxhighlight lang="c">
 +
cd /storage
 +
du -h -d 1
 +
</syntaxhighlight>
 +
If folder is <code>/storage/history</code>, then write in screen:
 +
<syntaxhighlight lang="c">
 +
history delete old
 +
</syntaxhighlight>
 +
This will delete the devices' history.
  
==Registering email with no verification== <!--T:3-->
+
==Registering email with no verification==
 
testemail@gmail.com.no-check
 
testemail@gmail.com.no-check
 
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
Line 9: Line 18:
 
https://dialogs.yandex.ru/store/skills/f636b340-larnitech
 
https://dialogs.yandex.ru/store/skills/f636b340-larnitech
  
==Upload backup from server A to server B== <!--T:3-->
+
==Upload backup from server A to server B==
 
# Save backup on A;
 
# Save backup on A;
 
# Download it;
 
# Download it;
Line 19: Line 28:
 
# Switch sn="xxxxxxxx" on B in logic.xml to the sn from p.4
 
# Switch sn="xxxxxxxx" on B in logic.xml to the sn from p.4
  
==Узнать пароль от LT_Setup== <!--T:3-->
+
==Узнать пароль от LT_Setup==
 
# sqlite3 /home/settings/db/larnitech.db
 
# sqlite3 /home/settings/db/larnitech.db
 
# select * from accounts;
 
# select * from accounts;

Revision as of 13:39, 11 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

Узнать пароль от LT_Setup

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