Version: Nextcloud Hub 26 Winter (33.0.6)
Hosting: Hetzner Storageshare
Whiteboard fails when the EuroOffice Nextcloud app is installed and enabled.
I originally reported it in the Nextcloud Whiteboard repository:
nextcloud/whiteboard#1307
Symptoms
With EuroOffice enabled:
- Whiteboard files cannot be opened or edited correctly.
- The Whiteboard admin settings page returns an Internal Server Error.
- Nextcloud logs contain:
DomainException: Provided key is too short
The stack trace shows that Whiteboard's JWT code is using the JWT implementation bundled by EuroOffice:
/custom_apps/eurooffice/vendor/firebase/php-jwt/src/JWT.php
/custom_apps/whiteboard/lib/Service/JWTService.php
/custom_apps/whiteboard/lib/Settings/Admin.php
In particular:
Firebase\JWT\JWT::encode(...)
OCA\Whiteboard\Service\JWTService->generateJWTFromPayload(...)
This suggests that EuroOffice's bundled firebase/php-jwt dependency is being loaded in a way that conflicts with the dependency expected by Whiteboard.
Reproduction / comparison
- ❌ EuroOffice (
eurooffice) enabled → Whiteboard admin page throws an Internal Server Error and Whiteboards cannot be edited.
- ✅ EuroOffice disabled → Whiteboard works.
- ✅ Collabora-based Nextcloud Office (
richdocuments) enabled instead → Whiteboard works normally.
The affected report was using EuroOffice 11.0.4.
Expected behavior
EuroOffice should not override or interfere with PHP dependencies used by other Nextcloud apps.
Suspected cause
There appears to be a dependency/autoload conflict involving EuroOffice's bundled firebase/php-jwt package.
Whiteboard calls its own JWT service, but the stack trace enters:
/custom_apps/eurooffice/vendor/firebase/php-jwt/src/JWT.php
and fails with:
Provided key is too short
Related issue
Nextcloud Whiteboard issue:
nextcloud/whiteboard#1307
Whiteboard fails when the EuroOffice Nextcloud app is installed and enabled.
I originally reported it in the Nextcloud Whiteboard repository:
nextcloud/whiteboard#1307
Symptoms
With EuroOffice enabled:
The stack trace shows that Whiteboard's JWT code is using the JWT implementation bundled by EuroOffice:
In particular:
This suggests that EuroOffice's bundled
firebase/php-jwtdependency is being loaded in a way that conflicts with the dependency expected by Whiteboard.Reproduction / comparison
eurooffice) enabled → Whiteboard admin page throws an Internal Server Error and Whiteboards cannot be edited.richdocuments) enabled instead → Whiteboard works normally.The affected report was using EuroOffice 11.0.4.
Expected behavior
EuroOffice should not override or interfere with PHP dependencies used by other Nextcloud apps.
Suspected cause
There appears to be a dependency/autoload conflict involving EuroOffice's bundled
firebase/php-jwtpackage.Whiteboard calls its own JWT service, but the stack trace enters:
and fails with:
Related issue
Nextcloud Whiteboard issue:
nextcloud/whiteboard#1307