Summary: | Update to www/nextcloud 12.0.4 caused INVALID_HASH PostgreSqlSchemaManager.php | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | peo |
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | brnrd, loic.blot, marko.cupac |
Priority: | --- | Flags: | linimon:
maintainer-feedback?
(loic.blot) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | 225449 | ||
Bug Blocks: |
Description
peo
2017-12-17 00:53:09 UTC
is this due to nextcloud code signing check ? (In reply to loic.blot from comment #1) It is due to nextcloud code signing check. Could patch-3rdparty_doctrine_dbal_lib_Doctrine_DBAL_Schema_PostgreSqlSchemaManager.php be made optional for those who need it? I guess I am not the only one to use mysql, having no need for the patch whatsoever, except that now I have to look at this warning all the time I'm logged into nextcloud as admin. I think the updated patched file should include the hash checking patch too (In reply to loic.blot from comment #3) "Code Signing" page at docs.nextcloud.com states that "By supporting Code Signing we add another layer of security by ensuring that nobody other than authorized persons can push updates for applications, and ensuring proper upgrades.": https://docs.nextcloud.com/server/12/admin_manual/issues/code_signing.html#why-did-nextcloud-add-code-signing If vanilla Nextcloud doesn't work for some FreeBSD users using postgres, I guess the right thing to do would be to ask Nextcloud developers to include patch upstream, or come out with their own solution. Not that I have any experience with software packaging and maintenance. We already opened and ask them to fix that third party library code but they didn't shipit with 12.0.4, it seems 13 fixed it. See: https://github.com/nextcloud/server/issues/5930 (In reply to loic.blot from comment #5) Thank you for clarification. I understand upstream change is difficult for 12.X, and lots of users would be affected in worse ways than having to see a warning in a fully functional deployment if the patch was removed for 12.X. I was also amused to see FreeBSD is not "officially supported" OS for Nextcloud!? It sure works great for me on FreeBSD for some years now. Actually I would never use it if I would have to use it on Linux :) A commit references this bug: Author: brnrd Date: Thu Jan 25 22:14:21 UTC 2018 New revision: 459964 URL: https://svnweb.freebsd.org/changeset/ports/459964 Log: www/nextcloud: Bugfix update to 12.0.5 - Fix INVALID_HASH error for non-pgsql10 users [1] PR: 225449, 224393 [1] Reported by: peo@nethead.se [1] Approved by: loic-blot@unix-experience.fr (maintainer) Changes: head/www/nextcloud/Makefile head/www/nextcloud/distinfo head/www/nextcloud/files/extra-patch-PostgreSQL-10 head/www/nextcloud/files/patch-3rdparty_doctrine_dbal_lib_Doctrine_DBAL_Schema_PostgreSqlSchemaManager.php head/www/nextcloud/pkg-plist |