简体   繁体   中英

Why is my Rails Server is running an older release, instead of current?

I've set up my rails server using nginx, passenger, and deploy with capistrano. I've just committed/pushed my project to github and executed cap production deploy and everything worked normally. However my server showed an error, when looking at the error logs it's erroring out on a line of code that is "old". It's pointing to an earlier release and not the current release.

I've checked my passenger config (i believe it's the passenger config... in /sites-enabled/default) and the root is pointing to current/public. Is there anything else that I can check or does anyone know why my server is using a previous release? Thanks!

Turns out there was a migration error, and I needed to correct that and then make sure my migrations ran fine. Hope this silliness on my part helps someone else in the future.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM