13.0-STABLE to RELEASE reddit / freebsd ---------------------------------------------------------------------- CatoDomine · 2022-05-02 13:51 I have FreeBSD server that is currently on the 13.0-STABLE branch for some reason. I would like to update this server but when running `freebsd-update fetch` I get: ``` freebsd-update fetch freebsd-update: Cannot upgrade from a version that is not a release (including alpha, beta and release candidates) using freebsd-update. Instead, FreeBSD can be directly upgraded by source or upgraded to a RELEASE/RELENG version prior to running freebsd-update. Currently running: 13.0-STABLE ``` What is the easiest way to get onto a RELEASE version? ---------------------------------------------------------------------- digitalfrost · 2022-05-02 14:48 Not an expert, but I think you have to checkout the releng path from svn/git, then do a src based upgrade (make world etc) and once that is done you should be able to use freebsd-update. https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld ---------------------------------------------------------------------- grahamperrin · 2022-05-02 15:44 I'd aim for the commit that currently correlates to `releng/13.1`. Currently at the head of we have: `2e9ad6042bef1c474fd99f57001fd76c7f17fc53` ---------------------------------------------------------------------- rhavenn · 2022-05-02 17:12 You want to do: `freebsd-update upgrade -r 13.0-RELEASE` `freebsd-update fetch` is only for installing patches (-pXY versions) for the RELEASE branch you're on. I haven't tried to switch from "STABLE" to "RELEASE" in years, but I do remember reading at one point that it is supported now by `freebsd- update` to move from STABLE to RELEASE. I should add that 13.1-RELEASE is right around the corner, so possibly just wait for that or prepair to jump from 13.0-RELEASE to 13.1-RELEASE which should be pretty clean. Use the same `upgrade` idea, but use `13.1-RELEASE` ---------------------------------------------------------------------- [deleted] · 2022-05-02 21:17 [deleted] ---------------------------------------------------------------------- grahamperrin · 2022-05-03 05:30 > I do remember reading at one point that it is supported now by freebsd-update to move from STABLE to RELEASE. Your memory might be of something else; it is **not** supported. An example from [freebsd- update\(8\)](https://www.freebsd.org/cgi/man.cgi?query=freebsd- update&sektion=8&manpath=FreeBSD), with added emphasis: >> … **not** FreeBSD `11.2-STABLE` or … A screenshot of failure (expected) with 13.0-STABLE: https://i.imgur.com/UMcoujO.png ---------------------------------------------------------------------- hit_hi · 2022-05-03 06:28 Just a short note, since you chose to use CURRENT and have not be updating, I would guess that the server has not been up for a long time, and would suggest you back up any data and the /etc wait 2 weeks for 13.1 -RELEASE to come out and do a clean reinstall. ---------------------------------------------------------------------- grahamperrin · 2022-05-03 16:49 > CURRENT Not quite. It's `STABLE` ---------------------------------------------------------------------- sfxsf · 2022-05-03 19:29 [here are build from “src” instructions](https://forums.freebsd.org/threads/upgrade-notes-using- usr-src-from-12-2-13-1.85031/). Post title is “12.2 to 13.1”, but it will work the some for 13.0 -> 13.1 ---------------------------------------------------------------------- jfoucry · 2022-05-04 15:47 Hello, Long time ago a friend of mine, FreeBSD Admin suggest me, in the same situation: ``` freebsd-update -r 13.0-RELEASE --currently-running `freebsd-version -u` upgrade ``` Hope this help, Have a nice day ---------------------------------------------------------------------- grahamperrin · 2022-05-11 20:05 No, please see earlier comments. It is not supported; use of freebsd- update is **impossible** in this situation.