Skip to content

Failed opening required '/var/www/nextcloud/apps/notifications/composer/../vendor/autoload.php' #3157

Description

@pboguslawski

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

After manual installation of notifications v34.0.1 in server v34.0.1 with

make dev-setup
make build-js-production

as described on https://github.com/nextcloud/notifications#install-and-enable-the-notifications-app an error is thrown on nc startup:

Error: Failed opening required '/var/www/nextcloud/apps/notifications/composer/../vendor/autoload.php' (include_path='/var/www/nextcloud/3rdparty/pear/archive_tar:/var/www/nextcloud/3rdparty/pear/console_getopt:/var/www/nextcloud/3rdparty/pear/pear-core-minimal/src:/var/www/nextcloud/3rdparty/pear/pear_exception:/var/www/nextcloud/apps') in /var/www/nextcloud/apps/notifications/composer/autoload.php:9

No such error if

composer install --no-ansi --no-dev --no-interaction --no-plugins --no-progress --optimize-autoloader

is executed before make commands above.

Expected behaviour

No error thrown on nc startup after building notifications like described on https://github.com/nextcloud/notifications#install-and-enable-the-notifications-app

Actual behaviour

Error is thrown.

Server configuration

Web server: Apache

Database: Maria

PHP version: 8.4

Nextcloud version: 34.0.1

Additional info

Similar issue in contacts: nextcloud/calendar#5247

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions