Created ERPNext Upgrade to Version 5 (markdown)

Rushabh Mehta
2015-05-13 12:14:35 +05:30
parent 6ff7f07acb
commit 83c2e0d2f4

@@ -0,0 +1,55 @@
#### Step 0: Configure Barracuda
*This step is only required if you ran the install script before 25th March, 2015*
Create
* `/etc/mysql/conf.d/barracuda.cnf` in case of Debian/Ubuntu or
* `/etc/my.cnf.d/barracuda.cnf` in case of CentOS / RedHat
with the contents,
```
[mysqld]
innodb-file-format=barracuda
innodb-file-per-table=1
innodb-large-prefix=1
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
[mysql]
default-character-set = utf8mb4
```
#### Step 1: Update bench-repo
As the frappe user,
```
cd ~/bench-repo
git pull
```
#### Step 2: Switch branch
```
cd ~/frappe-bench
bench switch-to-develop --upgrade
```
This will take time.
#### Step 3: Restart services
If you've setup for production, run
```
service nginx restart
supervisorctl reload
```
as root.
Also, with version 5, the command line has changed, run
```
cd ~/frappe-bench
bench --help
```
to see the list of available commands