-
Notifications
You must be signed in to change notification settings - Fork 132
Upgrading FreeBSD jail to 12.2-RELEASE results in HTTP 404 but fetching 12.2-RELEASE works #1237
Comments
I just encountered exactly the same issue. Would be great to have a fix or workaround. |
I am also affected by the same problem (urllib.error.HTTPError: HTTP Error 404: Not Found) In my traceback this is mentioned: File "/usr/local/lib/python3.8/site-packages/iocage_lib/ioc_upgrade.py", line 110, in upgrade_jail Around there, this is the source code:
A correct URL seems to be https://raw.githubusercontent.com/freebsd/freebsd/master/usr.sbin/freebsd-update/freebsd-update.sh. I'm on TrueNAS-12.0-U1 Core |
FreeBSD started transitioning from SVN to git on the 19th of December. This breakage could be a side effect of changes in FreeBSD repo. |
While it's true that FreeBSD started moving away from SVN, if that was the case I would expect for |
If replace in
Then it works. |
Can confirm that doing this worked. |
Seems like a duplicate of #1232 |
Looking at it now, with the changes to |
If the proposal to replace the link with this This doesn't work either, there will be a 404 error. You can easily check it yourself by opening the link in the browser. |
Indeed, it seems like they changed it again... removed tags/branches. Thanks for pointing it out. |
All in all, seems like just an issue replicating from freebsd cgit to github. Once they fix that we should be back in business. We hope. |
The correct URL (as of this writing) uses |
This URL should get updated to:
freebsd-src is the correct repo going forward |
The FreeBSD repository now syncs to freebsd/freebsd-src and the old repo has been moved to freebsd/freebsd-legacy. freebsd/freebsd redirects to freebsd/freebsd-src, but let's not rely on that going forward. Fixes iocage#1237
The FreeBSD repository now syncs to freebsd/freebsd-src and the old repo has been moved to freebsd/freebsd-legacy. freebsd/freebsd redirects to freebsd/freebsd-src, but let's not rely on that going forward. Fixes #1237
Make sure to follow and check these boxes before submitting an issue! Thank you.
iocage --version
Version 1.2`
iocage upgrade -r 12.2-RELEASE <jail name>
The named jail to be upgraded
master
if usinga stable release.
Could not find any commits or similar issues to this.
Interestingly
iocage fetch -r 12.2-RELEASE
is able to not only fetch the 12.2-RELEASE sources but is able to runfreebsd-update
on it without issue.The text was updated successfully, but these errors were encountered: