I followed the installation instructions listed for the Raspberry Pi version of Rocket Chat on Github. The software installs properly. However, I am having an issue enabling HTTPS using caddy. The instructions state that I have to run the following commands:
sudo snap set rocketchat-server caddy-url=https://<your-domain-name>
sudo snap set rocketchat-server caddy=enable
sudo snap set rocketchat-server https=enable sudo rocketchat-server.initcaddy
When running the third command, I get this error:
error: cannot perform the following tasks:
- Run configure hook of "rocketchat-server" snap (run hook "configure":
-----
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
dig: error while loading shared libraries: libdns.so.162: cannot open shared object file: No such file or directory
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Error: Can't resolve DNS query for <your-domain-name>, check your DNS configuration, disabling https . . .
-----)
Note:
Wherever the code says "your-domain-name" I did actually put my real domain name in.
I am using a Raspberry Pi Model 4, 4GB with a fresh installation of
the July 10th version of Raspbian Buster Lite.I am using GoDaddy with an A record to link my domain name to my
router's public IP.Port 80 and Port 443 are open on my router. I have enabled port
forwarding. If I open port 3000 on my router, I am able to access
Rocket from :3000. However, this does not enable https, which is what I would like. My pi does have a static IP set up for it
Does anyone have an idea of what to do? Unsure if anyone else has experienced this issue.