2efded73cfcd91871a4027c27c68c56e312ddb02
[mediagoblin.git] / docs / source / siteadmin / relnotes.rst
1 .. MediaGoblin Documentation
2
3 Written in 2012 by MediaGoblin contributors
4
5 To the extent possible under law, the author(s) have dedicated all
6 copyright and related and neighboring rights to this software to
7 the public domain worldwide. This software is distributed without
8 any warranty.
9
10 You should have received a copy of the CC0 Public Domain
11 Dedication along with this software. If not, see
12 <http://creativecommons.org/publicdomain/zero/1.0/>.
13
14 =============
15 Release Notes
16 =============
17
18 This chapter has important information for releases in it.
19 If you're upgrading from a previous release, please read it
20 carefully, or at least skim over it.
21
22
23 0.3.0
24 =====
25
26 This release has one important change. You need to act when
27 upgrading from a previous version!
28
29 This release changes the database system from MongoDB to
30 SQL(alchemy). If you want to setup a fresh instance, just
31 follow the instructions in the deployment chapter. If on
32 the other hand you want to continue to use one instance,
33 read on.
34
35 To convert your data from MongoDB to SQL(alchemy), you need
36 to follow these steps:
37
38 1. Make sure your MongoDB is still running and has your
39 data, it's needed for the conversion.
40
41 2. Configure the ``sql_engine`` URI in the config to represent
42 your target database (see: :ref:`deploying-chapter`)
43
44 3. You need an empty database.
45
46 4. Then run the following command::
47
48 bin/gmg [-cf mediagoblin_config.ini] convert_mongo_to_sql
49
50 5. Start your server and investigate.
51
52 6. That's it.