[Bug]: Mountpoints of Collectives app no longer initialized on all requests #31858
Closed
4 of 8 tasks
Labels
Milestone
Bug description
Starting today, the Nextcloud server master branch broke mountpoint initialization of the Collectives app. When requesting the pages of a collective from the Collectives app backend, the folder that is supposed to hold the mountpoints for all collectives is empty instead.
The second get in this line throws a NotFoundException, because the mountpoints for the users collectives are not mounted yet: https://gitlab.com/collectivecloud/collectives/-/blob/main/lib/Service/PageService.php#L71
I'm updating the Nextcloud server code almost daily, so I suppose that some change within the last days broke this.
After a hint by @CarlSchwan, I tried adding 'Mountprovider::class' as extra argument to the
parent::_constructor()
call inCollectiveMountpoint
, which indeed seems to fix the issue for me.@PVince81 @icewind1991
Steps to reproduce
Expected behavior
The mountpoints for the users collectives should be mounted during the requests to the Collectives app API.
Installation method
Manual installation
Operating system
No response
PHP engine version
PHP 7.4
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: