Closed eliuha closed 8 months ago
I too am receving this error when running that script. However, there are many duplicates of this issue. Hopefully a fix will appear soon enough. Ive tried options mentioned in other issues but none have worked as of yet. :disappointed:
A workaround for me was manually downloading the tar and installing it using the -l option, but that's not the best way we could do
I don't really understand why https://github.com/mstinaff/PMS_Updater/blob/master/PMS_Updater.sh#L152 would fail sometimes... Any help would be appreciated
I have been getting this error, too.
I realize this probably won't be super helpful, but I had this issue a while back, and I vaguely recall it being somehow related to the URL/domain that the script was using to fetch the update. In the interim, eliuha's suggestion of manually downloading the update and using -l should work for most people.
That aside, I see a bunch of stale PR's that got auto closed, so this script might not be maintained at the moment. If someone figures out a fix, consider forking it.
A workaround for me was manually downloading the tar and installing it using the -l option, but that's not the best way we could do
@eliuha Could you kindly provide a detailed explanation of this process, broken down step by step? Thanks
@KirkKirk The script is working for me now on my TrueNAS machine.
Here is a guide to do it manually:
That aside, I see a bunch of stale PR's that got auto closed, so this script might not be maintained at the moment. If someone figures out a fix, consider forking it.
Yes because I added a GitHub action for it, issues which are years old without updates can be closed. At the moment my installations are working fine with this script. Do not hasitate to help the community with updating parts of the script if you see some issues
I solved this issue with the installation of CURL. Segmentation fault was caused by the Certificate Authority of CloudFlare that was not a part of original FreeBSD CAs
@Lerwox
Could you try to run fetch with --no-verify-peer
parameters?
fetch --no-verify-peer -o /tmp URL
Maybe we can add a parameter to ignore SSL certs (yes it's not nice)
@MAGICCC
I solved the problem by installing curl (pkg install curl
), which added CloudFlare's Certificate Authority.
Unfortunately, I don't have a backup to test with --no-verify-peer
, sorry.
I'd like to point out that I installed CURL but I don't use it, I didn't change anything in the script. However, installing CURL added the missing CA to the jail files. So, whether it's wget
, curl
or fetch
, it works now
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Running the script from BSD Jail on True NAS