dans la tentative de déploiement de l'application rails sur le serveur J'ai rencontré le problème que 'mince' ne fonctionne pas lorsque j'essaye de le faire avec le déploiement de production de cap: début. Ce qui est vraiment étrange, c'est qu'il n'a pas d'erreurs. Après cela, j'essayer le faire sur le serveur deplyment"démarrage groupé démarrage fin -C config/thin.yml" ne démarre pas fin
env RAILS_ENV=production bundle exec thin start -C config/thin.yml
Starting server on /home/deployer/app/current/tmp/sockets/thin.0.sock ...
Starting server on /home/deployer/app/current/tmp/sockets/thin.1.sock ...
ls /home/deployer/app/current/tmp/sockets/
ps -aux | grep thin
root 16769 0.0 0.1 15468 908 pts/0 S 11:34 0:00 grep --color=auto thin
thin.yml
chdir: /home/deployer/app/current
environment: production
timeout: 30
log: /home/deployer/app/current/log/thin.log
pid: /home/deployer/app/current/tmp/pids/thin.pid
socket: /home/deployer/app/current/tmp/sockets/thin.sock
max_conns: 1024
max_persistent_conns: 10
require: []
wait: 30
servers: 2
daemonize: true
Ce qui est mal tourné?
En production.log seulement migrations
bundle exec thin start -C config/thin.yml &
retours
Starting server on /home/deployer/app/current/tmp/sockets/thin.0.sock ...
Starting server on /home/deployer/app/current/tmp/sockets/thin.1.sock ...
'bundle exec thin start -C confi…' has ended
Réponse Okey, réponse était log/thin.0.log il y a quelques erreurs dans le code
pouvez-vous montrer le contenu de production.log? – coorasse