`cfpm update all` is not finding the new patch, bu...
# adobe
t
cfpm update all
is not finding the new patch, but it's showing in the administrator. Am I just trying too soon?
Message is
All the packages are already updated as per the current core update level.
Both CF2021 and CF2023.
f
The
cfpm
command only updates the optional packages, it doesn’t update the entire engine
t
the docs say that
update all
update the server hotfix and the installed pacakges both.
and I for sure used it to install cf2021 update 6. I don't remember before that anymore...
f
ok, I could be mistaken then
c
Tim, that
cfpm update all
will indeed update both the packages AND the server...but that command does not "DOWNLOAD the latest update". It only APPLIES whatever is the latest update currently downloaded. I grant that the wording in the help (and even the docs) does not clarify this. And if you may have felt "this worked before" without you "needing to do anything", my best is that it would be because you (or someone) had already either: • a) logged into the CF Admin, and downloaded the latest update there, or • b) done a
cfpm downloadrepo
pointing it to the
bundles
folder under your CF instance (such as C:\ColdFusion2021\bundles, which is the default location where CF2021 would look for the download update jar), or • c) done the "manual offline download" process offered in the technotes from cf2021 updates 2 to 6. (I've raised the question to Adobe today as to why that was not documented in the update 7 technote and the CF2023 update 1 technote.) This has been my observation and understanding. Let me know if this makes sense and if you may find anything different on your end. Or of course I welcome any corrections from others.
👍 2
t
I had a similar thought, and tried downloading it from the CFAdmin this afternoon, and then running it through cfpm, and it still didn't find it. I ended up just running the java command, cf2018-style.