While Nextcloud ebuild works correctly for new installations and upgrades on Gentoo, if you want to migrate your Nextcloud data from a different server where PHP has been compiled with argon2, you won't be able to log in (https://help.nextcloud.com/t/passwords-dont-work-after-server-migration/64989/7). Upstream fails to mention this in their PHP requirements (the thread above contains a comment suggesting that they do include such information), but this is hard to tackle for users wanting to leave their current Linux distribution and come to Gentoo. I am not suggesting that we force php[argon2], but an ewarn for users migrating would be beneficial. Thoughts?
Hmm, this one is interesting, thanks for the report! I agree that forcing USE flag (and therefore migration for all users) is not good, ewarn could work as this will be mostly be spotted shortly after installation. Another option would be to use webapp_postinst_txt to have it in installed document
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=936d0ed3aaface3a953ea2fe9d228f00ca4e8dae commit 936d0ed3aaface3a953ea2fe9d228f00ca4e8dae Author: Bernard Cafarelli <voyageur@gentoo.org> AuthorDate: 2021-01-25 20:06:07 +0000 Commit: Bernard Cafarelli <voyageur@gentoo.org> CommitDate: 2021-01-25 20:06:07 +0000 www-apps/nextcloud: add post-install doc warning Closes: https://bugs.gentoo.org/762388 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org> www-apps/nextcloud/files/php-argon2-en.txt | 11 +++++++++++ www-apps/nextcloud/nextcloud-18.0.12.ebuild | 4 +++- www-apps/nextcloud/nextcloud-18.0.13.ebuild | 2 ++ www-apps/nextcloud/nextcloud-19.0.6.ebuild | 4 +++- www-apps/nextcloud/nextcloud-19.0.7.ebuild | 2 ++ www-apps/nextcloud/nextcloud-20.0.4.ebuild | 4 +++- www-apps/nextcloud/nextcloud-20.0.5.ebuild | 2 ++ 7 files changed, 26 insertions(+), 3 deletions(-)