Changes for page Delete devices from Build-in Server
Last modified by Xiaoling on 2023/11/21 09:50
From version 12.1
edited by Kilight Cao
on 2023/11/06 09:57
on 2023/11/06 09:57
Change comment:
There is no comment for this version
Summary
-
Page properties (4 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 5 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,0 @@ 1 -Delete devices from Build-in Server - Parent
-
... ... @@ -1,1 +1,0 @@ 1 -Main.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Kilight1 +XWiki.Xiaoling - Content
-
... ... @@ -1,104 +1,0 @@ 1 -(% class="wikigeneratedid" %) 2 - **Table of Contents:** 3 - 4 -{{toc/}} 5 - 6 -= 1. Upgrade LPS8v2's TTS to HTTPS = 7 - 8 - 9 -(% style="color:blue" %)**1). Download the upgrade script** 10 - 11 -wget http:~/~/repo.dragino.com/release/tool/ttnstack/upgrade_to_https.sh && chmod +x upgrade_to_https.sh 12 - 13 -[[image:1690793819929-828.png]] 14 - 15 - 16 -(% style="color:blue" %)**2). Run the upgrade script** 17 - 18 -./upgrade_to_https.sh <step> <Local Ip Address> 19 - 20 -[[image:1690793801312-653.png]] 21 - 22 - 23 -(% style="color:red" %)**Note that:** 24 - 25 -parameter 1 tells the script which steps it should start from. 26 - 27 -parameter 2 is the configured local IP address. 28 - 29 - 30 -(% style="color:blue" %)**3). Check the TTS running status** 31 - 32 -[[image:1690793877462-490.png]] 33 - 34 - 35 -= 2. Install ttn-lw-cli = 36 - 37 - 38 -== **2.1 Download ttn-lw-cli** == 39 - 40 -[[https:~~/~~/www.thethingsindustries.com/docs/the-things-stack/interact/cli/installing-cli/#installing-using-pre-built-binaries>>url:https://www.thethingsindustries.com/docs/the-things-stack/interact/cli/installing-cli/#installing-using-pre-built-binaries]] 41 - 42 -[[image:1690794001186-556.png]] 43 - 44 - 45 -(% style="color:blue" %)**Login the lps8v2's tts via ttn-lw-cli** 46 - 47 -[[image:1690794013040-498.png]] 48 - 49 - 50 -(% style="color:blue" %)**Node:** 51 - 52 -You need to configure a ca certificate for the cli, The ca certificate is inside the gateway and the directory path is : /usr/lib/ttn-stack/ca.pem 53 - 54 -Manually modify the ttn-lw-cli configuration file .ttn-lw-cli.yml: 55 - 56 -[[image:1690794039057-792.png]] 57 - 58 - 59 -(% style="color:blue" %)**ttn-lw-cli directory tree structure:** 60 - 61 -[[image:1690794060552-527.png]] 62 - 63 - 64 -== **2.2 Delete End node** == 65 - 66 -[[image:1690794073644-821.png]] 67 - 68 - 69 - 70 -= 3. Delete devices from built-in ChirpStack = 71 - 72 - 73 -Users need to access the Linux console of the gateway through SSH, and then enter the following command to clear the built-in ChirpStack: 74 - 75 -(% class="box infomessage" %) 76 -((( 77 -cd /usr/local/chirpstack/ 78 - 79 -systemctl stop chirpstack 80 - 81 -docker-compose down 82 -))) 83 - 84 -[[image:image-20231106094833-2.png]] 85 - 86 - 87 -(% class="box infomessage" %) 88 -((( 89 -docker volume rm chirpstack_postgresqldata 90 - 91 -docker volume rm chirpstack-redisdata 92 -))) 93 - 94 -[[image:image-20231106095035-3.png]] 95 - 96 - 97 -Re-run ChirpStack 98 - 99 -(% class="box infomessage" %) 100 -((( 101 -systemctl start chirpstack 102 -))) 103 - 104 -
- 1690794060552-527.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.9 KB - Content
- 1690794073644-821.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -177.8 KB - Content
- image-20231106094141-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -25.6 KB - Content
- image-20231106094833-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -27.9 KB - Content
- image-20231106095035-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.9 KB - Content