occ upgrade should be more verbose about versions #32648
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
enhancement
feature: install and update
feature: occ
papercut
Annoying recurring issue with possibly simple fix.
Is your feature request related to a problem? Please describe.
When running an upgrade I was stuck with
Nextcloud or one of the apps require upgrade...
even though I didperform
occ upgrade
and evenocc maintenance:repair
repeatedly. I was unable to figure out what's wrongbecause occ didn't give me any information on what apparently needs an upgrade and why.
There was nothing in any of the logs, occ didn't give out any more useful info with
-vvv
.Turned out there was a leftover "old.config.php" file in the config dir with an older version set but I only realized
that after I disabled all possible apps and actually took a dive into the code to see how the "update needed"
is triggered.
Describe the solution you'd like
occ upgrade
should be more specific about what needs upgrade and why (at least with-v*
) , i.e. something like "[app] needs upgrade because installed version is X but the actual version on the filesystem is Y" or "Nextcloud needs upgrade because config says X but we have Y actually installed". If I had seen that theX
version is different from what is on the filesystem my debugging path would have been different and probably much shorter.Describe alternatives you've considered
No alternatives.
The text was updated successfully, but these errors were encountered: