node_modules needs proper permissions on image build and the Nextcloud queue on run-time. We also realised the user must be www-data for compatibility with the NC image.