nextcloud / nextcloud/nextcloudpi
Cannot update to RC versions
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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