|  | 
| 13 | 13 | <!ENTITY API_version            "2.50.0"> | 
| 14 | 14 | <!ENTITY API_MD5                "ffee242081d5585e30eeb66ec880a54d"> | 
| 15 | 15 | <!ENTITY API_SHA256             "d4c67669f05c49fc130513af0c29c9b26cb4362a1b9f491bc39b8d9e3131e8f1"> | 
| 16 |  | -<!ENTITY LIBVIRT_MD5            "074f31dd6736e17630e725b3a86d4899"> | 
| 17 |  | -<!ENTITY LIBVIRT_SHA256         "5130c3e623e49df76343afbd4c7805cdbe8dbcf4aaaa794cf4460b410ba5bf68"> | 
| 18 |  | -<!ENTITY SEGFAULT_MD5           "8480e6b10464c680b5cbf449988cf645"> | 
| 19 |  | -<!ENTITY SEGFAULT_SHA256        "59339f8d3ec13daa6a6484b368043200dcc9ef7ea55f9560bf960b783a78a494"> | 
| 20 | 16 | <!ENTITY downloadserver         "https://unraid-dl.sfo2.cdn.digitaloceanspaces.com"> | 
| 21 | 17 | <!ENTITY JSDLsserver            "https://registration.unraid.net/"> | 
| 22 | 18 | ]> | 
| 23 | 19 | 
 | 
| 24 | 20 | <PLUGIN name="&name;" author="&author;" version="&version;" pluginURL="&pluginURL;" launch="&launch;" min="6.9.0-rc1" icon="globe"> | 
| 25 | 21 | 
 | 
| 26 | 22 | <CHANGES> | 
| 27 |  | -## 2022.09.06 | 
| 28 |  | -### This version resolves: | 
| 29 |  | -- flashbackup.ini error messages in header | 
| 30 |  | - | 
| 31 |  | - | 
| 32 |  | -## 2022.09.02 | 
| 33 |  | -### This version resolves: | 
| 34 |  | -- Behind the scenes improvements to the unraid-api | 
| 35 |  | - | 
| 36 |  | -### This version adds: | 
| 37 |  | -- The unraid-api will be restarted automatically if it stops | 
| 38 |  | -- Improved logging submitted by UpdateDNS to help track down issues | 
| 39 |  | -- Flash Backup - warn when signing out that flash backup will be disabled | 
| 40 |  | -- Flash Backup - better display of error states | 
| 41 |  | -- Flash Backup - add rate limiting so systems with issues do not waste resources trying to connect | 
| 42 |  | - | 
| 43 |  | - | 
| 44 |  | -## 2022.07.26 | 
| 45 |  | -### This version resolves: | 
| 46 |  | -- Plugin install failures due to zero byte files | 
| 47 |  | -- Issues getting data from nchan, read from ini files when needed | 
| 48 |  | - | 
| 49 |  | -### This version adds: | 
| 50 |  | -- Warn user not to close the installation window early | 
| 51 |  | -- Better logging if the unraid-api crashes | 
| 52 |  | -- UpdateDNS reports the status of the api | 
| 53 |  | -- Notifications in the UPC if the My Servers plugin is out of date | 
| 54 |  | -- Better handling of errors if "click to copy IP address" fails | 
| 55 |  | - | 
| 56 |  | - | 
| 57 |  | -## 2022.05.24 | 
| 58 |  | -### This version resolves: | 
| 59 |  | -- Some systems always offline or "Unable to connect to mothership" | 
| 60 |  | -- Removed GUIDs from `unraid-api report -v`, this output can be posted to the forums now | 
| 61 |  | -- Resolved some "Unraid.net re-authentication required" messages | 
| 62 |  | -- Resolved some "unexpected response for owner" messages | 
| 63 |  | - | 
| 64 |  | -### This version adds: | 
| 65 |  | -- Significant reduction in the frequency of data being sent from unraid-api to mothership. Now most data is sent only when you are actually viewing the My Servers dashboard ( https://forums.unraid.net/my-servers/ ). BTW if you are curious about the data being sent, see https://wiki.unraid.net/My_Servers#Privacy | 
| 66 |  | - | 
| 67 |  | - | 
| 68 |  | -## 2022.05.10 | 
| 69 |  | -### This version resolves: | 
| 70 |  | -- conflicts with browser extensions interfering with registration popup window | 
| 71 |  | - | 
| 72 |  | -### This version adds: | 
| 73 |  | -- compatibility with Unraid 6.10.0 IPv6 urls | 
| 74 |  | -- streamlined communication between the unraid-api and mothership. BTW if you are curious about the data being sent, see https://wiki.unraid.net/My_Servers#Privacy | 
| 75 |  | - | 
| 76 |  | - | 
| 77 |  | -## 2022.04.26 | 
| 78 |  | -### This version resolves: | 
| 79 |  | -- Garbled text in diagnostics.zip - unraid-api.txt | 
| 80 |  | - | 
| 81 |  | -### This version adds: | 
| 82 |  | -- `unraid-api report -v` improvements to help track down "invalid owner" errors and CORS issues | 
| 83 |  | -- Ability to restart the unraid-api from the UPC dropdown - if the UPC detects that the unraid-api has stopped, after 30 seconds a `restart unraid-api` option will be added to the UPC. | 
| 84 |  | -- Continued behind the scenes improvements | 
| 85 |  | - | 
| 86 |  | - | 
| 87 |  | -## 2022.04.22 | 
| 88 |  | -### This version resolves: | 
| 89 |  | -- Incorrect urls being shown on the My Servers dashboard for Unraid 6.9.2 | 
| 90 |  | -- UpdateDNS making unnecessary rebind test checks | 
| 91 |  | -- Flash backup log file getting unnecessarily large | 
| 92 |  | - | 
| 93 |  | -### This version adds: | 
| 94 |  | -- Compatibility with 6.10.0-rc5 | 
| 95 |  | -- Ability to disable the background fade the UPC places on your header image. This should only be used if your header image has a solid background, otherwise the text will not be readable. See Settings → Display Settings → Show banner background color fade | 
| 96 |  | -- Back-ported the version of updatepkg from Unraid 6.10.0-rc5, to prevent other plugins from downgrading the version of git that comes with Unraid | 
| 97 |  | - | 
| 98 |  | - | 
| 99 |  | -## 2022.03.01 | 
| 100 |  | -### This version fixes: | 
| 101 |  | -- API error unexpected response for "owner" | 
| 102 |  | - | 
| 103 |  | - | 
| 104 |  | -## 2022.02.28 | 
| 105 |  | -### This version adds: | 
| 106 |  | -- Enhancements to `unraid-api report` | 
| 107 |  | - | 
| 108 |  | - | 
| 109 |  | -## 2022.02.17 | 
| 110 |  | -### This version resolves: | 
| 111 |  | -- unraid-api making too many connections to mothership | 
| 112 |  | -- CORS issues with Unraid 6.10.0-rc3 | 
| 113 |  | -- flash backup causing excessive writes to the flash drive  | 
| 114 |  | - | 
| 115 |  | - | 
| 116 |  | -## 2022.01.25 | 
| 117 |  | -### This version resolves: | 
| 118 |  | -- issues connecting to mothership! | 
| 119 |  | -- unnecessary load when Docker health checks are processed | 
| 120 |  | -- flash backup spamming the logs when user is not signed in | 
| 121 |  | -- error messages when activating flash backup not being shown | 
| 122 |  | - | 
| 123 |  | -### This version adds: | 
| 124 |  | -- compatibility with Unraid 6.10.0-rc3 wildcard certificates | 
| 125 |  | - | 
| 126 |  | - | 
| 127 |  | -## 2021.10.12 | 
| 128 |  | -### This version resolves: | 
| 129 |  | -- broken settings page when there are DNS issues | 
| 130 |  | -- flash backup errors when there are DNS issues | 
| 131 |  | -- cannot read property 'sendCrashInfo' of undefined error | 
| 132 |  | - | 
| 133 |  | -### This version adds: | 
| 134 |  | -- warnings during install when there are DNS issues | 
| 135 |  | -- Unraid 6.10.0-rc2 compatibility | 
| 136 |  | - | 
| 137 |  | - | 
| 138 |  | -## 2021.08.25 | 
| 139 |  | -### This version resolves: | 
| 140 |  | -- "status code 500" on localhost | 
| 141 |  | -- unneeded warning icon in the UPC | 
| 142 |  | -- various issues with UpdateDNS.php | 
| 143 |  | -- add "Sign Out of Unraid.net" to the UPC dropdown for consistency with Unraid 6.10, which does not have a My Servers settings page. | 
| 144 |  | -- having links to "Unraid Forums" and "Join Unraid Discord", as they were causing confusion | 
| 145 |  | - | 
| 146 |  | -### This version adds: | 
| 147 |  | -- new My Servers support URL | 
| 148 |  | -- uninstall improvements - when uninstalling the plugin it will now Sign Out of Unraid.net, disable remote access, and delete the local flash backup. | 
| 149 |  | -- flash backup only runs if the server is currently signed in | 
| 150 |  | - | 
| 151 |  | - | 
| 152 |  | -## 2021.07.28 | 
| 153 |  | -### This version resolves: | 
| 154 |  | -- issues with Local Access urls  | 
| 155 |  | -- issues booting when Internet is down | 
| 156 |  | - | 
| 157 |  | -### This version adds: | 
| 158 |  | -- more Unraid 6.10 compatibility | 
| 159 |  | - | 
| 160 |  | - | 
| 161 |  | -## 2021.07.21 | 
| 162 |  | -### This version resolves: | 
| 163 |  | -- Issues connecting to mothership | 
| 164 |  | -- Flash backup issues after uninstall | 
| 165 |  | -- Docker stats missing in specific conditions | 
| 166 |  | -- Unexpected disk spin up | 
| 167 |  | - | 
| 168 |  | -### This version adds: | 
| 169 |  | -- Unraid 6.10 compatibility | 
| 170 |  | -- Streamlined communication between between unraid-api and mothership | 
| 171 |  | -- Ability to track server uptime on dashboard | 
| 172 |  | -- Ability to see number of VMs installed and running  | 
| 173 |  | -- Origin checks to unraid-api | 
| 174 |  | - | 
| 175 |  | - | 
| 176 |  | -##2021.06.07 | 
| 177 |  | -###This version resolves: | 
| 178 |  | -- Flash backup unable to recover from "unable to connect" errors | 
| 179 |  | -- Flash backup excessive logging when connection is down | 
| 180 |  | -- Flash backup some users seeing "fatal: .git/index: index file smaller than expected" | 
| 181 |  | -- Flash backup some users seeing "Your branch is ahead of origin/master by 1 commit" | 
| 182 |  | -- UPC unable to load user avatars in some cases, now displays Unraid logo when this happens | 
| 183 |  | -- UPC errors after replacing license key | 
| 184 |  | - | 
| 185 |  | -###This version adds: | 
| 186 |  | -- UPC opens websocket to unraid-api rather than polling state.php | 
| 187 |  | -- Unraid 6.10 compatibility | 
| 188 |  | - | 
| 189 |  | - | 
| 190 |  | -##2021.05.18 | 
| 191 |  | -###This version resolves: | 
| 192 |  | -- Branding confusion, plugin is now known as "My Servers" | 
| 193 |  | -- Flash backup failure points, is now more resilient | 
| 194 |  | -- Various bug fixes and enhancements | 
| 195 |  | -- Prepare for Unraid 6.10 | 
| 196 |  | - | 
| 197 |  | - | 
| 198 |  | -##2021.04.05.2045 | 
| 199 |  | -###This version resolves: | 
| 200 |  | -- Replace Key issues | 
| 201 |  | - | 
| 202 |  | - | 
| 203 |  | -##2021.03.31.1425 | 
| 204 |  | -###This version resolves: | 
| 205 |  | -- connection issues | 
| 206 |  | -- various UI/UX issues | 
| 207 |  | - | 
| 208 |  | - | 
| 209 |  | -##2021.03.22.1700 | 
| 210 |  | -###This version resolves: | 
| 211 |  | -- "guest access" issue while viewing UPC | 
| 212 |  | -- showing incorrect process status in unraid-api command | 
| 213 |  | -- the need to manually run 'unraid-api restart' after an install or reboot | 
| 214 |  | -- not reconnecting to mothership when connection drops | 
| 215 |  | - | 
| 216 |  | -###This version adds: | 
| 217 |  | -- a check for plugin update when viewing settings page | 
| 218 |  | - | 
| 219 |  | - | 
| 220 | 23 | ##a long time ago in a galaxy far far away | 
| 221 | 24 | - initial release | 
| 222 | 25 | </CHANGES> | 
| @@ -295,8 +98,6 @@ sha256check() { | 
| 295 | 98 | ]]> | 
| 296 | 99 | sha256check "&source;.txz" "&SHA256;" | 
| 297 | 100 | sha256check "/boot/config/plugins/dynamix.my.servers/unraid-api.tgz" "&API_SHA256;" | 
| 298 |  | -sha256check "/boot/config/plugins/dynamix.my.servers/libvirt.node" "&LIBVIRT_SHA256;" | 
| 299 |  | -sha256check "/boot/config/plugins/dynamix.my.servers/segfault-handler.node" "&SEGFAULT_SHA256;" | 
| 300 | 101 | <![CDATA[ | 
| 301 | 102 | //always re-download latest unraid.min.js | 
| 302 | 103 | rm -f /tmp/unraid.min.js.tmp1 | 
| @@ -330,29 +131,13 @@ exit 0 | 
| 330 | 131 | <URL>&JSDLsserver;/webComps/unraid.min.js</URL> | 
| 331 | 132 | </FILE> | 
| 332 | 133 | 
 | 
| 333 |  | -<!-- HACK: manually download libvirt.node --> | 
| 334 |  | -<FILE Name="/boot/config/plugins/dynamix.my.servers/libvirt.node"> | 
| 335 |  | -<URL>&downloadserver;/unraid-api/libvirt.node</URL> | 
| 336 |  | -<MD5>&LIBVIRT_MD5;</MD5> | 
| 337 |  | -<SHA256>&LIBVIRT_SHA256;</SHA256> | 
| 338 |  | -</FILE> | 
| 339 |  | - | 
| 340 |  | -<!-- HACK: manually download segfault-handler.node --> | 
| 341 |  | -<FILE Name="/boot/config/plugins/dynamix.my.servers/segfault-handler.node"> | 
| 342 |  | -<URL>&downloadserver;/unraid-api/segfault-handler.node</URL> | 
| 343 |  | -<MD5>&SEGFAULT_MD5;</MD5> | 
| 344 |  | -<SHA256>&SEGFAULT_SHA256;</SHA256> | 
| 345 |  | -</FILE> | 
| 346 |  | - | 
| 347 | 134 | <FILE Run="/bin/bash" Method="install"> | 
| 348 | 135 | <INLINE> | 
| 349 | 136 | MAINTXZ="&source;.txz" | 
| 350 | 137 | <![CDATA[ | 
| 351 | 138 | # before proceeding with install, doubly confirm downloaded files exist. just being pedantic. | 
| 352 | 139 | FILE=${MAINTXZ} && [[ ! -f "$FILE" ]] && echo "⚠️ file missing - $FILE" && exit 1 | 
| 353 | 140 | FILE=/boot/config/plugins/dynamix.my.servers/unraid-api.tgz && [[ ! -f "$FILE" ]] && echo "⚠️ file missing - $FILE" && exit 1 | 
| 354 |  | -FILE=/boot/config/plugins/dynamix.my.servers/libvirt.node && [[ ! -f "$FILE" ]] && echo "⚠️ file missing - $FILE" && exit 1 | 
| 355 |  | -FILE=/boot/config/plugins/dynamix.my.servers/segfault-handler.node && [[ ! -f "$FILE" ]] && echo "⚠️ file missing - $FILE" && exit 1 | 
| 356 | 141 | 
 | 
| 357 | 142 | # before uninstalling anything, verify unraid.min.js was downloaded and looks valid, or that we already have an existing copy | 
| 358 | 143 | JS_FLASH_DEST=/boot/config/plugins/dynamix.my.servers/webComps/ | 
| @@ -501,6 +286,8 @@ if [ -e /etc/rc.d/rc.unraid-api ]; then | 
| 501 | 286 |   rm -rf /usr/local/emhttp/plugins/dynamix.unraid.net | 
| 502 | 287 |   rm -rf /usr/local/emhttp/plugins/dynamix.unraid.net.staging | 
| 503 | 288 |   # delete any legacy files that may exist | 
|  | 289 | +  rm -rf /boot/config/plugins/dynamix.my.servers/libvirt.node | 
|  | 290 | +  rm -rf /boot/config/plugins/dynamix.my.servers/segfault-handler.node | 
| 504 | 291 |   rm -rf /boot/config/plugins/dynamix.my.servers/wc | 
| 505 | 292 |   rm -f /boot/config/plugins/Unraid.net/unraid-api.tgz | 
| 506 | 293 |   rm -f /boot/config/plugins/Unraid.net/.gitignore | 
|  | 
0 commit comments