You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
This log file is created by rake command during compiling assets, which is defined by :user field in Capistrano configuration file. This is not a cookbook related problem since the machine has been booted up previously. What about adding this into document to tell user updating file permission after deployment done?
Got Production log permission error while running app under Passenger Standalone server via sv. Here is the line from log file:
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 toapps
.The text was updated successfully, but these errors were encountered: