Unable to upgrade from 4.0.100
**Description**
When I upgrade I get a certificate error and upgrade does not happen

**Version**
4.0.100

**Did you upgrade**
Please let us know if you upgraded from a previous version.
- [ ] Yes
- [ *] No

**Pervious version**
If you upgraded, please let us know your previous version.

**Did you orginally upgrade to HOOBS 3 from HOOBS 2.1.1?**
Did you perform an upgrade from HOOBS 2.1.1? Some things are different.
- [ ] Yes
- [* ] No

**What device are you using?**
Please let us know the device you are running HOOBS on.
- [ ] HOOBS Box
- [ *] HOOBS SD Card
- [ ] Custom Install

**If this is a custom install, what's your operating system?**
Please let us know what operating system and version you are using. Ex. Fedora 30 or macOS Catalina.

**List your plugins**
RING
EWELINK

**Post your config**

* Remove any passwords from the config file. This is public.

```
    "accessories": [],
    "platforms": [
        {
            "platform": "Ring",
            "email": "",
            "password": "",
            "refreshToken": "",
            "alarmOnEntryDelay": false,
            "hideLightGroups": false,
            "hideDoorbellSwitch": true,
            "hideCameraMotionSensor": false,
            "hideCameraSirenSwitch": true,
            "hideInHomeDoorbellSwitch": true,
            "hideAlarmSirenSwitch": true,
            "hideUnsupportedServices": true,
            "showPanicButtons": false,
            "debug": true
        }
    ]
}


    "accessories": [],
    "platforms": [
        {
            "platform": "eWeLink",
            "name": "eWeLink",
            "debug": false,
            "debugReqRes": false,
            "disableHTTPRefresh": false,
            "disablePlugin": false,
            "inUsePowerThreshold": 0,
            "lowBattThreshold": 25,
            "sensorTimeDifference": 120,
            "hideZBLDPress": false,
            "countryCode": "",
            "username": "",
            "password": "",
            "mode": "auto"
        }
    ]
}
```

**Post your log**
You can get the log from the interface. This is in the Log section.

```
04/10/2021, 11:50:38upgrading node
04/10/2021, 11:50:39Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
04/10/2021, 11:50:39Hit:2 http://archive.raspberrypi.org/debian buster InRelease
04/10/2021, 11:50:39Ign:3 https://dl.hoobs.org/deb/stable buster InRelease
04/10/2021, 11:50:39Ign:4 https://deb.nodesource.com/node_14.x buster InRelease
04/10/2021, 11:50:39Hit:5 https://dl.yarnpkg.com/debian stable InRelease
04/10/2021, 11:50:39Err:6 https://deb.nodesource.com/node_14.x buster Release
04/10/2021, 11:50:39Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 62.252.115.64 443]
04/10/2021, 11:50:39Err:7 https://dl.hoobs.org/deb/stable buster Release
04/10/2021, 11:50:39Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 185.199.108.153 443]
04/10/2021, 11:50:40Reading package lists...
04/10/2021, 11:50:44E
04/10/2021, 11:50:44: The repository 'https://deb.nodesource.com/node_14.x buster Release' no longer has a Release file.
04/10/2021, 11:50:44E: The repository 'https://dl.hoobs.org/deb/stable buster Release' no longer has a Release file.
04/10/2021, 11:50:44Reading package lists...
04/10/2021, 11:50:46Building dependency tree...
04/10/2021, 11:50:47Reading state information...
04/10/2021, 11:50:48curl is already the newest version (7.64.0-4+deb10u2).
04/10/2021, 11:50:48g++ is already the newest version (4:8.3.0-1+rpi2).
04/10/2021, 11:50:48gcc is already the newest version (4:8.3.0-1+rpi2).
04/10/2021, 11:50:48git is already the newest version (1:2.20.1-2+deb10u3).
04/10/2021, 11:50:48make is already the newest version (4.2.1-1.2).
04/10/2021, 11:50:48python3 is already the newest version (3.7.3-1).
04/10/2021, 11:50:48tar is already the newest version (1.30+dfsg-6).
04/10/2021, 11:50:48The following package was automatically installed and is no longer required:
04/10/2021, 11:50:48nodejs-doc
04/10/2021, 11:50:48Use 'apt autoremove' to remove it.
04/10/2021, 11:50:48The following packages will be upgraded:
04/10/2021, 11:50:48nodejs
04/10/2021, 11:50:481 upgraded, 0 newly installed, 0 to remove and 163 not upgraded.
04/10/2021, 11:50:48Need to get 23.0 MB of archives.
04/10/2021, 11:50:48After this operation, 1,272 kB of additional disk space will be used.
04/10/2021, 11:50:48Err:1 https://deb.nodesource.com/node_14.x buster/main armhf nodejs armhf 14.18.0-deb-1nodesource1
04/10/2021, 11:50:48Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 62.252.115.83 443]
04/10/2021, 11:50:48E: Failed to fetch https://deb.nodesource.com/node_14.x/pool/main/n/nodejs/nodejs_14.18.0-deb-1nodesource1_armhf.deb  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 62.252.115.83 443]
04/10/2021, 11:50:48E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
04/10/2021, 11:50:48upgrading cli
04/10/2021, 11:50:49Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
04/10/2021, 11:50:49Hit:2 http://archive.raspberrypi.org/debian buster InRelease
04/10/2021, 11:50:49Ign:3 https://dl.hoobs.org/deb/stable buster InRelease
04/10/2021, 11:50:49Ign:4 https://deb.nodesource.com/node_14.x buster InRelease
04/10/2021, 11:50:49Hit:5 https://dl.yarnpkg.com/debian stable InRelease
04/10/2021, 11:50:49Err:6 https://dl.hoobs.org/deb/stable buster Release
04/10/2021, 11:50:49Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 185.199.109.153 443]
04/10/2021, 11:50:49Err:7 https://deb.nodesource.com/node_14.x buster Release
04/10/2021, 11:50:49Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 62.252.115.64 443]
04/10/2021, 11:50:50Reading package lists...
04/10/2021, 11:50:53E: The repository 'https://dl.hoobs.org/deb/stable buster Release' no longer has a Release file.
04/10/2021, 11:50:53E: The repository 'https://deb.nodesource.com/node_14.x buster Release' no longer has a Release file.
04/10/2021, 11:50:53Reading package lists...
04/10/2021, 11:50:53Building dependency tree...
04/10/2021, 11:50:53Reading state information...
04/10/2021, 11:50:54The following package was automatically installed and is no longer required:
04/10/2021, 11:50:54nodejs-doc
04/10/2021, 11:50:54Use 'apt autoremove' to remove it.
04/10/2021, 11:50:54The following packages will be upgraded:
04/10/2021, 11:50:54hoobs-cli
04/10/2021, 11:50:541 upgraded, 0 newly installed, 0 to remove and 163 not upgraded.
04/10/2021, 11:50:54Need to get 69.9 kB of archives.
04/10/2021, 11:50:54After this operation, 0 B of additional disk space will be used.
04/10/2021, 11:50:54Err:1 https://dl.hoobs.org/deb/stable buster/main armhf hoobs-cli all 4.0.46
04/10/2021, 11:50:54Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 185.199.108.153 443]
04/10/2021, 11:50:54E: Failed to fetch https://dl.hoobs.org/deb/stable/pool/main/h/hoobs-cli/hoobs-cli_4.0.46_all.deb  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 185.199.108.153 443]
04/10/2021, 11:50:54E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
04/10/2021, 11:50:54upgrading gui
04/10/2021, 11:50:55Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
04/10/2021, 11:50:55Hit:2 http://archive.raspberrypi.org/debian buster InRelease
04/10/2021, 11:50:55Ign:3 https://deb.nodesource.com/node_14.x buster InRelease
04/10/2021, 11:50:55Ign:4 https://dl.hoobs.org/deb/stable buster InRelease
04/10/2021, 11:50:55Hit:5 https://dl.yarnpkg.com/debian stable InRelease
04/10/2021, 11:50:55Err:6 https://deb.nodesource.com/node_14.x buster Release
04/10/2021, 11:50:55Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 62.252.115.83 443]
04/10/2021, 11:50:55Err:7 https://dl.hoobs.org/deb/stable buster Release
04/10/2021, 11:50:55Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 185.199.109.153 443]
04/10/2021, 11:50:59Reading package lists...
04/10/2021, 11:51:02E: The repository 'https://deb.nodesource.com/node_14.x buster Release' no longer has a Release file.
04/10/2021, 11:51:02E: The repository 'https://dl.hoobs.org/deb/stable buster Release' no longer has a Release file.
04/10/2021, 11:51:02Reading package lists...
04/10/2021, 11:51:03Building dependency tree...
04/10/2021, 11:51:03Reading state information...
04/10/2021, 11:51:04The following package was automatically installed and is no longer required:
04/10/2021, 11:51:04nodejs-doc
04/10/2021, 11:51:04Use 'apt autoremove' to remove it.
04/10/2021, 11:51:04The following packages will be upgraded:
04/10/2021, 11:51:04hoobs-gui
04/10/2021, 11:51:041 upgraded, 0 newly installed, 0 to remove and 163 not upgraded.
04/10/2021, 11:51:04Need to get 13.2 MB of archives.
04/10/2021, 11:51:04After this operation, 0 B of additional disk space will be used.
04/10/2021, 11:51:04Err:1 https://dl.hoobs.org/deb/stable buster/main armhf hoobs-gui all 4.0.91
04/10/2021, 11:51:04Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 185.199.108.153 443]
04/10/2021, 11:51:05E: Failed to fetch https://dl.hoobs.org/deb/stable/pool/main/h/hoobs-gui/hoobs-gui_4.0.91_all.deb  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 185.199.108.153 443]
04/10/2021, 11:51:05E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
04/10/2021, 11:51:05upgrading hoobsd
04/10/2021, 11:51:07Hit:1 http://archive.raspberrypi.org/debian buster InRelease
04/10/2021, 11:51:07Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
04/10/2021, 11:51:07Ign:3 https://deb.nodesource.com/node_14.x buster InRelease
04/10/2021, 11:51:07Ign:4 https://dl.hoobs.org/deb/stable buster InRelease
04/10/2021, 11:51:07Hit:5 https://dl.yarnpkg.com/debian stable InRelease
04/10/2021, 11:51:07Err:6 https://deb.nodesource.com/node_14.x buster Release
04/10/2021, 11:51:07Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 62.252.115.64 443]
04/10/2021, 11:51:07Err:7 https://dl.hoobs.org/deb/stable buster Release
04/10/2021, 11:51:07Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 185.199.108.153 443]
04/10/2021, 11:51:12Reading package lists...
04/10/2021, 11:51:15E: The repository 'https://deb.nodesource.com/node_14.x buster Release' no longer has a Release file.
04/10/2021, 11:51:15E: The repository 'https://dl.hoobs.org/deb/stable buster Release' no longer has a Release file.
04/10/2021, 11:51:15Reading package lists...
04/10/2021, 11:51:15Building dependency tree...
04/10/2021, 11:51:15Reading state information...
04/10/2021, 11:51:16The following package was automatically installed and is no longer required:
04/10/2021, 11:51:16nodejs-doc
04/10/2021, 11:51:16Use 'apt autoremove' to remove it.
04/10/2021, 11:51:16The following packages will be upgraded:
04/10/2021, 11:51:16hoobsd
04/10/2021, 11:51:181 upgraded, 0 newly installed, 0 to remove and 163 not upgraded.
04/10/2021, 11:51:18Need to get 107 kB of archives.
04/10/2021, 11:51:18After this operation, 0 B of additional disk space will be used.
04/10/2021, 11:51:18Err:1 https://dl.hoobs.org/deb/stable buster/main armhf hoobsd all 4.0.104
04/10/2021, 11:51:18Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 185.199.108.153 443]
04/10/2021, 11:51:18E: Failed to fetch https://dl.hoobs.org/deb/stable/pool/main/h/hoobsd/hoobsd_4.0.104_all.deb  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 185.199.108.153 443]
04/10/2021, 11:51:18E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
```

**Additional context**
Add any other context about the problem here.
