- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2021-07-01T15:52:18+09:00","default:kuji","kuji")
#author("2021-07-01T17:13:28+09:00","default:kuji","kuji")
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*OpenPNE 3.8.0 以上の全てのバージョンから OpenPNE 3.10.x へのバージョンアップ [#oa1f20d0]
https://raw.githubusercontent.com/openpne/OpenPNE3/OpenPNE-3.10.2/doc/ja/OpenPNE3_Version_Up_Guide.txt
**データベースのバックアップ [#p0969691]
OpenPNEが使用中のDBは、/usr/local/www/OpenPNE392/config/databases.yml に記述されているので、それをバックアップする。
databases.yml
all:
doctrine:
class: sfDoctrineDatabase
param:
dsn: 'mysql:host=localhost;dbname=PNE36fugafuga'
username: pne36fugafuga
password: hogehoge
cd /usr/local/www
mysqldump -v -u root -p PNE36fugafuga > dump_PNE36fugafuga.sql
**OpenPNEのディレクトリもバックアップ [#v666f1f6]
# tar cvfzp OpenPNE392_20210701.tar.gz OpenPNE392
**OpenPNE 3.10 のソースファイルを設置 [#y4755e40]
# unzip openpne-OpenPNE3-OpenPNE-3.10.5-0-g66a96d4.zip
drwxr-xr-x 14 root www 512 Jul 1 16:55 openpne-OpenPNE3-66a96d4/
-rw-r--r-- 1 root www 10215012 Jul 1 15:35 openpne-OpenPNE3-OpenPNE-3.10.5-0-g66a96d4.zip
mv openpne-OpenPNE3-66a96d4 OpenPNE310
chown -R www:www OpenPNE310
**設定ファイルの上書き [#o5a67bc1]
**プラグインディレクトリのコピー [#y3c31633]
**モデルの再構築 [#z11f35c2]
**バージョンアップコマンドの実行 [#zb726d7b]
$ ./symfony openpne:migrate
$ ./symfony plugin:publish-assets
以上でバージョンアップは完了です。
----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);