سؤال

عملت

وكابيسترانو وجيت بشكل صحيح حتى انتقلت موقعي إلى خادم آخر. ذهبت أول محاولة لنشر خاطئة بسبب المعروفة SSH-المضيفين مشكلة ذات الصلة.

وحتى لو تمكنت من حل هذه المشكلة، واحد آخر أثار وأنا لا يمكن نشر أي أكثر من ذلك:

  * executing `deploy'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
    updating the cached checkout on all servers
    executing locally: "git ls-remote collimarco@mywebsite.com:/home/collimarco/git/foto-fiori.git master"
  * executing "if [ -d /home/collimarco/mywebsite.com/shared/cached-copy ]; then cd /home/collimarco/mywebsite.com/shared/cached-copy && git fetch  origin && git reset  --hard 7de27a6a1de7a94508f943596413e5e0f217f57e; else git clone  --depth 1 collimarco@mywebsite.com:/home/collimarco/git/foto-fiori.git /home/collimarco/mywebsite.com/shared/cached-copy && cd /home/collimarco/mywebsite.com/shared/cached-copy && git checkout  -b deploy 7de27a6a1de7a94508f943596413e5e0f217f57e; fi"
    servers: ["mywebsite.com"]
    [mywebsite.com] executing command
 ** [mywebsite.com :: out] * refusing to create funny ref 'remotes/origin/*' locally
 ** [mywebsite.com :: out] collimarco@mywebsite.com's password:
Password: 
 ** [mywebsite.com :: out]
 ** [mywebsite.com :: out] fatal: Needed a single revision
    command finished
*** [deploy:update_code] rolling back
  * executing "rm -rf /home/collimarco/mywebsite.com/releases/20091027191027; true"
    servers: ["mywebsite.com"]
    [mywebsite.com] executing command
    command finished
failed: "sh -c \"if [ -d /home/collimarco/mywebsite.com/shared/cached-copy ]; then cd /home/collimarco/mywebsite.com/shared/cached-copy && git fetch  origin && git reset  --hard 7de27a6a1de7a94508f943596413e5e0f217f57e; else git clone  --depth 1 collimarco@mywebsite.com:/home/collimarco/git/foto-fiori.git /home/collimarco/mywebsite.com/shared/cached-copy && cd /home/collimarco/mywebsite.com/shared/cached-copy && git checkout  -b deploy 7de27a6a1de7a94508f943596413e5e0f217f57e; fi\"" on mywebsite.com

وبلدي بوابة مستودع يبدو سليما: لماذا أحصل على "مطلوب مراجعة واحد"

وهي موضع تقدير أي اقتراح. ويرجع الفضل في ذلك مسبقا!

وUPDATE: اقترح شخص ما لإزالة ذاكرة التخزين المؤقت بعد، كيف أفعل ذلك

وUPDATE: لقد سميت المشتركة / مؤقتا نسخ إلى المشترك / المخبأة عمرها نسخة. ثم لقد خلق مجلد فارغ المشتركة / المخبأة، نسخة. الآن أحصل على "ليست بوابة مستودع": http://pastie.org/672254.txt

هل كانت مفيدة؟

المحلول

وتحقق الإصدارات بوابة الخاص بك على العميل والخادم؛ أراهن أنك تحتاج إلى تحديث واحد منهم إلى 1.6.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top