Skip to content

Conversation

@skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Jul 10, 2025

fix #291
fix #336

./updater.phar |
  --url https://github.com/nextcloud-releases/server/releases/download/v31.0.7/nextcloud-31.0.7.zip \
  --no-backup

@skjnldsv skjnldsv requested a review from Altahrim as a code owner July 10, 2025 08:52
@skjnldsv skjnldsv self-assigned this Jul 10, 2025
@skjnldsv skjnldsv force-pushed the feat/provide-url branch 3 times, most recently from b5509ff to 0f7a761 Compare July 10, 2025 09:32
@skjnldsv skjnldsv requested a review from blizzz July 10, 2025 09:35
Copy link
Member

@blizzz blizzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for the first downgrade attempt 🍿

@skjnldsv
Copy link
Member Author

skjnldsv commented Jul 11, 2025

Waiting for the first downgrade attempt 🍿

They can try, but then it will fail 🤷

@skjnldsv
Copy link
Member Author

skjnldsv commented Jul 11, 2025

Here is what it does on a 31 instance: Extracting failed: Downloaded version is lower than installed version

$ ./updater.phar --url https://github.com/nextcloud-releases/server/releases/download/v30.0.13/nextcloud-30.0.13.zip --no-backup -vvv -n

Box Requirements Checker
========================

> Using PHP 8.4.8
> PHP is using the following php.ini file:
  /etc/php/php.ini

> Checking Box requirements:
  ✔ The package "psr/container" requires the version ">=7.4.0" or greater.
  ✔ The package "symfony/console" requires the version ">=7.2.5" or greater.
  ✔ The package "symfony/deprecation-contracts" requires the version ">=7.1" or greater.
  ✔ The package "symfony/polyfill-ctype" requires the version ">=7.2" or greater.
  ✔ The package "symfony/polyfill-intl-grapheme" requires the version ">=7.2" or greater.
  ✔ The package "symfony/polyfill-intl-normalizer" requires the version ">=7.2" or greater.
  ✔ The package "symfony/polyfill-mbstring" requires the version ">=7.2" or greater.
  ✔ The package "symfony/polyfill-php73" requires the version ">=7.2" or greater.
  ✔ The package "symfony/polyfill-php80" requires the version ">=7.2" or greater.
  ✔ The package "symfony/service-contracts" requires the version ">=7.2.5" or greater.
  ✔ The package "symfony/string" requires the version ">=7.2.5" or greater.
  
                                                                                                                                   
 [OK] Your system is ready to run the application.                                                                                 
                                                                                                                                   

Nextcloud Updater - version: git

Current version is 31.0.7.

Update check forced with URL override: https://github.com/nextcloud-releases/server/releases/download/v30.0.13/nextcloud-30.0.13.zip

Updater run in non-interactive mode.

Start update

Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.

[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✘] Extracting failed
Downloaded version is lower than installed version

Update failed. To resume or retry just execute the updater again.

@skjnldsv skjnldsv force-pushed the feat/provide-url branch 4 times, most recently from 02f5a72 to 8228dea Compare July 11, 2025 14:28
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
@skjnldsv skjnldsv enabled auto-merge July 11, 2025 14:35
@skjnldsv skjnldsv merged commit f3b72de into master Jul 11, 2025
21 checks passed
@skjnldsv skjnldsv deleted the feat/provide-url branch July 11, 2025 14:38
@blizzz
Copy link
Member

blizzz commented Jul 11, 2025

Waiting for the first downgrade attempt 🍿

They can try, but then it will fail 🤷

Of course it will. Not meant as a complaint or anything. We know someone will try and cry. But that's fine. We can show them the famed manual.

@skjnldsv
Copy link
Member Author

I mean, you were right, it is worth double checking 🤭🤭

@skjnldsv
Copy link
Member Author

/backport to stable31

@skjnldsv
Copy link
Member Author

/backport to stable30

@skjnldsv
Copy link
Member Author

/backport to stable29

@skjnldsv
Copy link
Member Author

/backport to stable28

@skjnldsv
Copy link
Member Author

/backport to stable28

@skjnldsv
Copy link
Member Author

/backport to stable27

@skjnldsv
Copy link
Member Author

/backport to stable26

@skjnldsv
Copy link
Member Author

/backport to stable25

@backportbot
Copy link

backportbot bot commented Aug 14, 2025

The backport to stable28 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable28
git pull origin stable28

# Create the new backport branch
git checkout -b backport/638/stable28

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick d563d36d

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/638/stable28

Error: Failed to create pull request: Validation Failed: {"resource":"PullRequest","code":"custom","message":"A pull request already exists for nextcloud:backport/638/stable28."} - https://docs.github.com/rest/pulls/pulls#create-a-pull-request


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@skjnldsv
Copy link
Member Author

/backport to stable31

@backportbot
Copy link

backportbot bot commented Aug 20, 2025

The backport to stable31 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable31
git pull origin stable31

# Create the new backport branch
git checkout -b backport/638/stable31

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick d563d36d

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/638/stable31

Error: Failed to create pull request: Validation Failed: {"resource":"PullRequest","code":"custom","message":"A pull request already exists for nextcloud:backport/638/stable31."} - https://docs.github.com/rest/pulls/pulls#create-a-pull-request


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow to specify a version to update to Possibility to use a local Mirror

3 participants