Hello,

I have a multisite Drupal 7 install on a regular Ubuntu LAMP VPS.

From my three sites, the older and bigger (default) site has a problem running a Status Report (admin/reports/status), giving the message:

Error
The website encountered an unexpected error. Please try again later.

At he same time, right after the operation, the error logs show:

TYPE file
(...)
MESSAGE The file permissions could not be set on public://composer.

and

FILE php
(...)
MESSAGE RuntimeException: Error creating directory: public://composer in composer_manager_file_dir() (line 299 of /var/www/drupal/sites/all/modules/composer_manager/composer_manager.module).

The site seems to work perfectly in all its other functionalities.

The thing is that the two other sites (that I am just setting up) give their Status Reports normally!

Any ideas?

Thanks in advance!

PS:
-I have the composer_manager module installed and enabled (however, not the composer module)
-The sites/all/modules/composer_manager directory is writeable by Apache (owned my user:www-data and 775 permissions).

Comments

thanasis57 created an issue. See original summary.

thanasis57’s picture

Issue summary: View changes
thanasis57’s picture

Issue summary: View changes
cilefen’s picture

Project: Drupal core » Composer Manager
Version: 7.56 » 7.x-2.x-dev
Component: base system » Code

It looks like the permissions were set in the wrong place. I think Drupal is behaving properly here.

markhalliwell’s picture

Status: Active » Closed (outdated)
Issue tags: -status report, -Composer

Errors regarding being unable to create files or directories in public:// indicated that this is a server/web stack permission issue and not something this project can "fix". There is plenty of existing documentation on drupal.org that can assist you with this, just have to search for it.