Changes for page Delete devices from Build-in Server
Last modified by Xiaoling on 2023/11/21 09:50
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 5 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Delete devices from Build-in TheThings Network1 +Delete devices from Build-in Server - Content
-
... ... @@ -1,7 +1,15 @@ 1 +(% class="wikigeneratedid" %) 2 + **Table of Contents:** 3 + 4 +{{toc/}} 5 + 6 + 7 + 8 + 1 1 = 1. Upgrade LPS8v2's TTS to HTTPS = 2 2 3 3 4 -1). Download the upgrade script ,12 +(% style="color:blue" %)**1). Download the upgrade script** 5 5 6 6 wget http:~/~/repo.dragino.com/release/tool/ttnstack/upgrade_to_https.sh && chmod +x upgrade_to_https.sh 7 7 ... ... @@ -8,7 +8,7 @@ 8 8 [[image:1690793819929-828.png]] 9 9 10 10 11 -2). Run the upgrade script 19 +(% style="color:blue" %)**2). Run the upgrade script** 12 12 13 13 ./upgrade_to_https.sh <step> <Local Ip Address> 14 14 ... ... @@ -22,16 +22,15 @@ 22 22 parameter 2 is the configured local IP address. 23 23 24 24 25 -3). Check the TTS running status 33 +(% style="color:blue" %)**3). Check the TTS running status** 26 26 27 27 [[image:1690793877462-490.png]] 28 28 29 29 30 - 31 31 = 2. Install ttn-lw-cli = 32 32 40 +== 2.1 Download ttn-lw-cli == 33 33 34 -1). Download ttn-lw-cli 35 35 36 36 [[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]] 37 37 ... ... @@ -49,14 +49,52 @@ 49 49 50 50 Manually modify the ttn-lw-cli configuration file .ttn-lw-cli.yml: 51 51 52 -[[image:1 690794039057-792.png]]59 +[[image:image-20231106140006-2.png||height="509" width="823"]] 53 53 54 54 55 55 (% style="color:blue" %)**ttn-lw-cli directory tree structure:** 56 56 57 -[[image:1 690794060552-527.png]]64 +[[image:image-20231106135912-1.png]] 58 58 59 59 60 - (% style="color:blue"%)**Delete EndDevices.**67 +== 2.2 Delete End node == 61 61 69 + 62 62 [[image:1690794073644-821.png]] 71 + 72 + 73 += 3. Delete devices from built-in ChirpStack = 74 + 75 + 76 +Users need to access the Linux console of the gateway through SSH, and then enter the following command to clear the built-in ChirpStack: 77 + 78 +(% class="box infomessage" %) 79 +((( 80 +**cd /usr/local/chirpstack/** 81 + 82 +**systemctl stop chirpstack** 83 + 84 +**docker-compose down** 85 +))) 86 + 87 +[[image:image-20231106094833-2.png]] 88 + 89 + 90 +(% class="box infomessage" %) 91 +((( 92 +**docker volume rm chirpstack_postgresqldata** 93 + 94 +**docker volume rm chirpstack-redisdata** 95 +))) 96 + 97 +[[image:image-20231106095035-3.png]] 98 + 99 + 100 +**Re-run ChirpStack** 101 + 102 +(% class="box infomessage" %) 103 +((( 104 +**systemctl start chirpstack** 105 +))) 106 + 107 +
- image-20231106094141-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +25.6 KB - Content
- image-20231106094833-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +27.9 KB - Content
- image-20231106095035-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.9 KB - Content
- image-20231106135912-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +84.9 KB - Content
- image-20231106140006-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +292.6 KB - Content