[Bug]: Nextcloud asking for sodium although being installed
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- Nextcloud Server is running on 64bit capable CPU, PHP and OS.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Following the discussion in https://github.com/nextcloud/server/issues/28398, Nextcloud will still complaint the missing of sodium module when sodium is installed but PHP is not compiled with --with-password-argon2.
This information is misleading and diverts the users to a wrong direction.
Steps to reproduce
- Use php without
--with-password-argon2. - Install sodium module.
Expected behavior
Nextcloud should tell the users that PHP is not compiled with --with-password-argon2, not the missing of sodium module.
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
No file or test is named in the issue. Start by reproducing the setup with PHP built without --with-password-argon2 and the sodium module installed, then trace the requirement check that produces the misleading message. Done means the diagnostic identifies the missing PHP build option rather than claiming sodium is absent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100