================================ OpenPNE 3.4 ãã¼ã¸ã§ã³ã¢ããæé ================================ ã¯ããã« ======== ãã®ããã¥ã¡ã³ãã¯ã OpenPNE 3.2.0 + ãã OpenPNE 3.4.x ã¸ã®ãã¼ã¸ã§ã³ã¢ããä½æ¥ã®æé ã示ãããã®ã§ãã â»ãã¼ã¸ã§ã³ã¢ããããããªãåã«ããã¼ã¿ãã¼ã¹ã®ããã¯ã¢ãããåã£ã¦ãããã¨ãå¼·ããå§ããã¾ãã æé ==== ãã¼ã¸ã§ã³ã¢ããã¯ä»¥ä¸ã®æé ã§ãããªãã¾ãã (1) ãã¡ã¤ã«ã®è¨ç½® (2) è¨å®ãã¡ã¤ã«ã®ä¸æ¸ã (3) ãã¼ã¸ã§ã³ã¢ããã³ãã³ãã®å®è¡ ä½æ¥æ¹æ³ ======== ãã¡ã¤ã«ã®è¨ç½® -------------- Web ãµã¼ãä¸ã« OpenPNE 3.4 ã®ã½ã¼ã¹ãã¡ã¤ã«ãè¨ç½®ãã¾ããï¼â»æ°æ§ã½ã¼ã¹ãã¡ã¤ã«æ··å¨ã«ãããã©ãã«ãé²ããããä¸æ¸ãã§ã¯ãªããã¡ã¤ã«ãã¹ã¦ã交æãã¦ãã ãããï¼ è¨å®ãã¡ã¤ã«ãã³ãã¼ -------------------- å¤ããã¼ã¸ã§ã³ã® config/databases.yml ãæ°ãããã¼ã¸ã§ã³ã® config/databases.yml ã¨ãã¦ã³ãã¼ãã¾ãã ãã®å¾ã以ä¸ã®ããã«ã㦠OpenPNE 3.4 ä»å±ã®è¨å®ãã¡ã¤ã«ãã³ãã¼ãã¦ãã ããã :: $ cd OpenPNE3 $ cp config/ProjectConfiguration.class.php.sample config/ProjectConfiguration.class.php $ cp config/OpenPNE.yml.sample config/OpenPNE.yml config/ProjectConfiguration.class.php ã«ç¬èªã®è¨å®ãè¨è¿°ãã¦ããå ´åã¯ãå¤ããã¡ã¤ã«ãåèã«æ°ãããã¡ã¤ã«ãå¤æ´ãã¦ãã ããã OpenPNE.yml ã®è¨å®å¤ãç°å¢ã«åããã¦å¤æ´ãã¦ãã ãããç¹ã« base_url 㨠mail_domain ã¯ã¡ã¼ã«æ稿ãã¡ã¼ã«é ä¿¡ã®éã«å©ç¨ãããã®ã§å¿ ãè¨å®ããããªã£ã¦ãã ããã OpenPNE 3.2 ã§ç®¡çç»é¢ããã¡ã¼ã«ãã³ãã¬ã¼ããå¤æ´ãã OpenPNE 3.4 ã«ã¢ãããã¼ãããéã«åé¡ãçããå ´åã OpenPNE.yml ã® is_restrict_mail_template ã false ã«è¨å®ãã¦ãã ããã ãã©ã°ã¤ã³ãã£ã¬ã¯ããªã®ã³ãã¼ ------------------------------ å¤ããã¼ã¸ã§ã³ã® plugins ãã£ã¬ã¯ããªã®ä¸èº«ãã³ãã¼ãã¾ãã :: $ cp -aur /path/to/old/OpenPNE3/plugins/* /path/to/new/OpenPNE3/plugins $ cp -aur /path/to/old/OpenPNE3/plugins/.* /path/to/new/OpenPNE3/plugins ã¢ãã«ã®åæ§ç¯ -------------- ããã¸ã§ã¯ãã«ã¼ããã£ã¬ã¯ããªã§ã以ä¸ã®ã³ãã³ããå®è¡ãã¾ãã :: $ ./symfony doctrine:build-model $ ./symfony cc ãã®æé ã¯ã次ã®ããã¼ã¸ã§ã³ã¢ããã³ãã³ãã®å®è¡ãã«å¿ è¦ã¨ãªãã¾ãã ãã¼ã¸ã§ã³ã¢ããã³ãã³ãã®å®è¡ ------------------------------ ããã¸ã§ã¯ãã«ã¼ããã£ã¬ã¯ããªã§ã以ä¸ã®ãã¼ã¸ã§ã³ã¢ããã³ãã³ããå®è¡ãã¾ãã :: $ ./symfony openpne:migrate $ ./symfony plugin:publish-assets ãã®ã³ãã³ã㯠OpenPNE æ¬ä½ããã©ã°ã¤ã³ã®ä¸¡æ¹ãææ°ã®ç¶æ ã«ãã¼ã¸ã§ã³ã¢ãããã¾ãã OpenPNE 3.2.7.2ã3.4.9 以åããã®ãã¼ã¸ã§ã³ã¢ããã®å ´åã以ä¸ã®ã³ãã³ããå®æ½ããå¿ è¦ãããã¾ãã ã³ãã³ãã®å®æ½åã«ä»¥ä¸ã®ããã°è¨äºããèªã¿ãã ããã ãç·æ¥ãªãªã¼ã¹ãOpenPNE 3 ã«åå¨ããã»ãã·ã§ã³ç®¡çã®ä¸åã«é¢ããè¤æ°ã®èå¼±æ§ã®ãç¥ãã http://www.openpne.jp/archives/5689/ :: $ ./symfony openpne:fix-session-db 以ä¸ã§ãã¼ã¸ã§ã³ã¢ããã¯å®äºã§ãã