Skip to content

Commit 1bed996

Browse files
author
Steve Johnson
committed
Add new topic on setup:upgrade
1 parent d807fc7 commit 1bed996

File tree

6 files changed

+108
-7
lines changed

6 files changed

+108
-7
lines changed

guides/v2.0/config-guide/bk-config-guide.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,21 @@ You can configure the Magento application in any of the following ways:
2626
* <a href="{{page.baseurl}}config-guide/database/database.html">Set up database caching</a>
2727
* <a href="{{page.baseurl}}config-guide/redis/config-redis.html">Set up Redis</a>
2828

29-
* Magento in production
30-
31-
* [Deployment steps]({{page.baseurl}}config-guide/prod/prod_deploy.html)
32-
* [Magento ownership and permissions in development and production]({{page.baseurl}}config-guide/prod/prod_file-sys-perms.html)
33-
3429
* Session storage
3530
* [memcache]({{page.baseurl}}config-guide/memcache/memcache.html)
3631
* [Redis]({{page.baseurl}}config-guide/redis/redis-session.html)
3732
* [How to locate session files]({{page.baseurl}}config-guide/sessions.html)
3833

34+
* Tools and debugging
35+
36+
* [Logging]({{ page.baseurl }}config-guide/log/log-intro.html)
37+
* [Database profiler]({{ page.baseurl }}config-guide/db-profiler/db-profiler.html)
38+
39+
* Magento in production
40+
41+
* [Deployment steps]({{page.baseurl}}config-guide/prod/prod_deploy.html)
42+
* [Magento ownership and permissions in development and production]({{page.baseurl}}config-guide/prod/prod_file-sys-perms.html)
43+
3944
* <img src="{{ site.baseurl }}common/images/ee-only_small.png">
4045

4146
* <a href="{{page.baseurl}}config-guide/solr/solr-overview.html">Install and configure Solr</a>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
layout: default
3+
group: howdoi
4+
subgroup: Configure
5+
title: Configure Magento
6+
menu_title: Configure Magento
7+
menu_node:
8+
menu_order: 2
9+
version: 2.0
10+
github_link: howdoi/config/configure-config.md
11+
---
12+
13+
After you install the Magento application, you can:
14+
15+
* [Configure Magento]({{page.baseurl}}install-gde/install/post-install-config.html)
16+
* [Locate your session storage]({{page.baseurl}}config-guide/sessions.html)

guides/v2.0/howdoi/config/configure.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@ github_link: howdoi/config/configure.md
1313
After you install the Magento application, you can:
1414

1515
* [Configure Magento]({{page.baseurl}}install-gde/install/post-install-config.html)
16-
* [Locate your session storage]({{page.baseurl}}config-guide/sessions.html)
16+
* [Set up logging]({{ page.baseurl }}config-guide/log/log-intro.html)
17+
* [Set up Varnish for page caching]({{ page.baseurl }}config-guide/varnish/config-varnish.html)
18+
* [Set up Redis for session storage]({{ page.baseurl }}config-guide/redis/config-redis.html)
19+
* [More options]({{ page.baseurl }}config-guide/bk-config-guide.html)
20+

guides/v2.0/howdoi/config/log.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
layout: default
3+
group: howdoi
4+
subgroup: Configure
5+
title: Magento logging
6+
menu_title: Magento logging
7+
menu_node:
8+
menu_order: 3
9+
version: 2.0
10+
github_link: howdoi/config/log.md
11+
---
12+
13+
After you install the Magento application, you can:
14+
15+
* [Configure Magento]({{page.baseurl}}install-gde/install/post-install-config.html)
16+
* [Locate your session storage]({{page.baseurl}}config-guide/sessions.html)

guides/v2.0/howdoi/php/php_clear-dirs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ You can also use the following command-line tools clear some directories for you
115115
<th>What it clears</th>
116116
</tr>
117117
<tr>
118-
<td><a href="{{page.baseurl}}install-gde/install/cli/install-cli-uninstall.html#instgde-install-magento-update">magento setup:upgrade</a></td>
118+
<td><a href="{{page.baseurl}}install-gde/install/cli/install-cli-subcommands-db-upgr.html">magento setup:upgrade</a></td>
119119
<td>Updates the Magento database schema and data.</td>
120120
<td>var/di, var/generation</td>
121121
</tr>
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
layout: default
3+
group: install_cli
4+
subgroup: 05_Command-line installation
5+
title: Update the Magento database schema and data
6+
menu_title: Update the Magento database schema and data
7+
menu_node:
8+
menu_order: 16
9+
version: 2.0
10+
github_link: install-gde/install/cli/install-cli-subcommands-db-upgr.md
11+
---
12+
13+
<h4>Contents</h4>
14+
15+
See one of the following sections:
16+
17+
* <a href="#instgde-install-cli-first">First steps</a>
18+
* <a href="#instgde-cli-subcommands-maint-prereq">Prerequisites</a>
19+
* [Upgrade the Magento database schema and data](#instgde-cli-db-upgr)
20+
21+
<h2 id="instgde-cli-before">First steps</h2>
22+
{% include install/first-steps-cli.html %}
23+
In addition to the command arguments discussed here, see <a href="{{page.baseurl}}install-gde/install/cli/install-cli-subcommands.html#instgde-cli-subcommands-common">Common arguments</a>.
24+
25+
<h2 id="instgde-cli-subcommands-maint-prereq">Prerequisites</h2>
26+
Before you use this command, you must <a href="{{page.baseurl}}install-gde/install/cli/install-cli-install.html">install the Magento software</a>.
27+
28+
## Upgrade the Magento database schema and data {#instgde-cli-db-upgr}
29+
Anytime you perform an action that causes the Magento database schema or data to change, you must update them by running the command discussed in this section. A partial list of reasons follows:
30+
31+
* You upgraded the Magento software using the command line
32+
* You installed or updated a component using the command line
33+
* You enabled or disabled a component
34+
35+
Note the following:
36+
37+
* If you used the Web Setup Wizard to do any of the preceding, you don't have to use the command discussed in this topic.
38+
* A Magento *component* can be a module, theme, or language pack; it doesn't matter whether the component comes from the Magento Marketplace or not
39+
40+
Command usage:
41+
42+
magento setup:upgrade [--keep-generated]
43+
44+
where `--keep-generated` is an optional argument that does not update [static view files]({{ page.baseurl }}config-guide/cli/config-cli-subcommands-static-view.html). This optional argument is for use *only* in limited circumstances by experienced system integrators. It should be used *only* in [production mode]({{ page.baseurl }}config-guide/bootstrap/magento-modes.html#mode-production). It should *not* be used in [developer mode]({{ page.baseurl }}config-guide/bootstrap/magento-modes.html#mode-developer).
45+
46+
#### Related topics
47+
48+
* <a href="{{page.baseurl}}install-gde/install/cli/install-cli-install.html">Installing the Magento software using the command line</a>
49+
* <a href="{{page.baseurl}}install-gde/install/cli/install-cli-subcommands-enable.html">Enable or disable modules</a>
50+
* <a href="{{page.baseurl}}install-gde/install/cli/install-cli-uninstall-mods.html">Uninstall modules</a>
51+
* <a href="{{page.baseurl}}install-gde/install/cli/install-cli-subcommands-deployment.html">Create the deployment configuration</a>
52+
* <a href="{{page.baseurl}}install-gde/install/cli/install-cli-subcommands-db.html">Create the Magento database schema</a>
53+
* <a href="{{page.baseurl}}install-gde/install/cli/install-cli-subcommands-store.html">Configure the store</a>
54+
* <a href="{{page.baseurl}}install-gde/install/cli/install-cli-subcommands-admin.html">Create a Magento administrator</a>
55+
* <a href="{{page.baseurl}}install-gde/install/cli/install-cli-backup.html">Back up the file system, media, and database</a>
56+
* <a href="{{page.baseurl}}install-gde/install/cli/install-cli-theme-uninstall.html">Uninstall themes</a>
57+
* <a href="{{page.baseurl}}install-gde/install/cli/install-cli-uninstall-langpk.html">Uninstall language packages</a>
58+
* <a href="{{page.baseurl}}install-gde/install/cli/install-cli-uninstall.html#instgde-install-uninstall">Uninstall the Magento software</a>
59+
* <a href="{{page.baseurl}}install-gde/install/cli/install-cli-uninstall.html#instgde-install-magento-update">Update the Magento software</a>
60+
* <a href="{{page.baseurl}}install-gde/install/cli/install-cli-uninstall.html#instgde-install-magento-reinstall">Reinstall the Magento software</a>

0 commit comments

Comments
 (0)