Skip to content

Production log permission error of Passenger Standalone server #5

Open
@hzmangel

Description

@hzmangel

Got Production log permission error while running app under Passenger Standalone server via sv. Here is the line from log file:

Rails Error: Unable to access log file. Please ensure that /home/apps/app2/releases/20130511000523/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.

The permission of this log file is 0644 and the owner of this file is deploy:apps, which is different with others' apps:apps. I am wondering whether can change the permission of file to 0664 or change the user of the process writing log to apps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions