Skip to content

Commit 0f8142d

Browse files
committed
Doc: Improve upgrade documentation
1 parent a4fa7a8 commit 0f8142d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/administration_guide.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ moving the copied database file to the place expected by WireCloud.
119119
120120
### PostgreSQL database backups
121121

122-
You can find more informatio about how to create PostgreSQL backups in this
122+
You can find more information about how to create PostgreSQL backups in this
123123
[page](http://www.postgresql.org/docs/9.1/static/backup-dump.html). Basically,
124124
you have to run the following command:
125125

@@ -135,12 +135,18 @@ You can restore the backup using the following command:
135135
## Upgrading from previous versions
136136

137137
1. Install the new version of WireCloud
138-
2. Migrate the database and collect the new static files by running the
139-
following commands:
138+
2. Migrate the database and populate it with any new base component, rebuild the
139+
search indexes and collect the new static files by running the following
140+
commands:
140141

141142
$ python manage.py migrate
143+
$ python manage.py populate
144+
$ python manage.py resetsearchindexes
142145
$ python manage.py collectstatic --noinput
143146

147+
> **NOTE**: Remember to run those commands using the user serving wirecloud
148+
> (e.g. `su wirecloud`)
149+
144150
3. Reload WireCloud (e.g. `$ service apache2 graceful`)
145151

146152
You can determine your currently installed version using

0 commit comments

Comments
 (0)