Repository navigation
[stable9] Add repair step for updater issues - #24134
Conversation
The updater as shipped with ownCloud =< 9.0.1 has several bugs leading to a not properly executed update. For example the third-party changes are not copied. This pull request: 1. Ships the third-party files changed since ownCloud 9.0.1 in the resources folder. On update the files are replaced. (owncloud/updater#316) 2. Adds updater/* and _oc_upgrade/* as an exemption to the code integrity checker since the updater is updating in the wrong order. (owncloud/updater#318)
|
By analyzing the blame information on this pull request, we identified @PVince81, @DeepDiver1975 and @nickvergessen to be potential reviewers |
|
Relevant changed files: |
|
not tested but looks ok. As discussed. 👍 We need some full testing for that somehow. |
|
@LukasReschke I guess we don't need a master PR and this PR is to cleanup the mess that was done by the updater between 9.0.1 and 9.0.2 ? |
|
Are there any steps to reproduce for QA to test this ? @VicDeo would be good if you could help to quickly review and test this so we can get it merged for tomorrow's daily. CC @owncloud/qa |
|
According to @DeepDiver1975 updater should be able to update itself separately from core update (not implemented yet) |
The PR adds this. HOWEVER, I'm not willed to add this to master as well until this has actually been implemented in the updater as well. |
Correct, and 9.0.0 to 9.0.2.
That's kinda hard to test reliably, the easiest way would be to get this into the stable9 branch and test to update from 9.0.0 to 9.0-daily once this has been merged. Another way would be to modify the code to download a build with this changes included. So I'd say there is no real way to test this except waiting for being this in daily. I mean I surely can post the ways that I tested this locally here but it will involve modifying 5 files in ownCloud and is not really a representative real life test 😢 So probably not worth it to 100% retest what I already tested. I seriously see only the daily branch as valid testing approach. |
|
@LukasReschke Looks good, I was about to start testing in a hard way. |
|
@LukasReschke @VicDeo Ok then, once this is on daily, what are the steps to reproduce the issue and run the fix ? |
|
@PVince81 Install 9.0.0 |
|
@nickvergessen thanks, did you get that @owncloud/qa ? 😄 Merging then |
|
Button grayed out 😦 @DeepDiver1975 can you merge this ? |
|
Tested |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The updater as shipped with ownCloud =< 9.0.1 has several bugs leading to a not properly executed update. For example the third-party changes are not copied.
This pull request:
Most of this code are actually the missed files. This is what is included in
resources/.@DeepDiver1975 @karlitschek @VicDeo Please review.
@karlitschek Please approve.
I'd recommend to get this in as soon as possible so we can have some proper testing on this including also the daily channel.
Fixes #23997
Fixes #23857