Rails アプリを再起動すると、次のエラーが表示されます。以前、別のサーバーで別のアプリを使用してこの問題が発生したことがありますが、問題が何であったか、またはどのように解決したかを思い出せません。
Rails Error: Unable to access log file. Please ensure that /apps/staging/releases/20090310162127/log/staging.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.
Ubuntu でカピストラーノを使用して雑種クラスターにデプロイしています。
私がする時ls -l /apps/staging/releases/20090310162127/log/staging.log
結果は次のとおりです。
-rw-rw-rw- 1 me grp 51 Mar 10 16:07 /apps/staging/releases/20090310162127/log/staging.log
ログ ディレクトリはlink
/apps/staging/shared/log です。
どうしたの?