nextcloud / nextcloud/nextcloudpi

Cannot update to RC versions

Open
#1,670 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement has-updates
Dominant language
Shell
Stars
2.9k
Forks
318
PR merge metrics
No merged PRs in 30d

Description

When I try to update nextcloud to a RC version, there is an error due to the version does not have only numbers:

25.0.1 is fine
25.0.2rc2 shows the error:

Current Nextcloud version 25.0.1.1
Available Nextcloud version 25.0.2rc2
/usr/local/etc/library.sh: line 429: [: 2rc2: integer expression expected
/usr/local/etc/library.sh: line 429: [: 2rc2: integer expression expected
Download Nextcloud 25.0.2rc2...
Error downloading
Clean up...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at /usr/local/etc/library.sh around line 429 and reproduce the update from 25.0.1 to 25.0.2rc2 using the reported output. Check the version comparison and download path, then verify that RC versions complete successfully while numeric versions still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.