Skip to content

Blank pages on shared collective #1530

@estux

Description

@estux

Describe the bug
After upgrading to Nextcloud 28.0.11 (with Collectives 2.14.4) I created a new Collective, edited 6 pages and then shared it. I checked the link from a private tab (so without login) and the content of all the pages (landing page included) is not visible!

HERE's (below) my workaround to make it temporarily work!

To Reproduce
Steps to reproduce the behavior:

  1. Have an updated Nextcloud 28.0.11 server with an updated Collectives app (2.14.4)
  2. Create a Collective with some pages and some content in every page.
  3. Share the Collective
  4. Open the Collective link in a private tab of the browser
  5. all the pages are empty

Expected behavior
I should see the content in all the pages.

Screenshots
If applicable, add screenshots to help explain your problem.

Server details:

  • Collectives app version: 2.14.4
  • Nextcloud version: 28.0.11
  • PHP Version: 8.2.14
  • Database: mysql 10.5.26

Client details:

  • OS: Windows 10
  • Browser: Firefox
  • Browser version: 131.0.2
  • Device: laptop
Logs

Nextcloud log (data/nextcloud.log)

{"reqId":"qYT8Gvv3I18gXmkQgqxa","level":3,"time":"2024-10-14T01:48:13+02:00","remoteAddr":"IP address hidden","user":"--","app":"collectives","method":"GET","url":"/apps/collectives/_api/p/FqnZxY2fcxi4zxH/_pages/227240/backlinks","message":"Collectives App Error: ","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0","version":"28.0.11.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/data/www/nextcloud614/apps/collectives/lib/Fs/NodeHelper.php","line":110,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/data/www/nextcloud614/apps/collectives/lib/Service/PageService.php","line":1079,"function":"getContent","class":"OCA\\Collectives\\Fs\\NodeHelper","type":"::"},{"file":"/data/www/nextcloud614/apps/collectives/lib/Controller/PublicPageController.php","line":308,"function":"getBacklinks","class":"OCA\\Collectives\\Service\\PageService","type":"->"},{"file":"/data/www/nextcloud614/apps/collectives/lib/Controller/ErrorHelper.php","line":28,"function":"OCA\\Collectives\\Controller\\{closure}","class":"OCA\\Collectives\\Controller\\PublicPageController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/data/www/nextcloud614/apps/collectives/lib/Controller/PublicPageController.php","line":302,"function":"handleErrorResponse","class":"OCA\\Collectives\\Controller\\PublicPageController","type":"->"},{"file":"/data/www/nextcloud614/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getBacklinks","class":"OCA\\Collectives\\Controller\\PublicPageController","type":"->"},{"file":"/data/www/nextcloud614/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/data/www/nextcloud614/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/data/www/nextcloud614/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/data/www/nextcloud614/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/data/www/nextcloud614/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/data/www/nextcloud614/lib/private/Files/Node/File.php","Line":56,"message":"Collectives App Error: ","exception":[],"CustomMessage":"Collectives App Error: "},"id":"670c5fdcced00"}

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

EDITED: this seems to happen also on Nextcloud 29.0.8 (see below).

Metadata

Metadata

Assignees

Type

Projects

Status

☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions