[Pkg-owncloud-commits] [owncloud-doc] 07/40: Backport of the changes in manual upgrade procedure from master.

David Prévot taffit at moszumanska.debian.org
Thu Dec 17 19:22:14 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v8.2.2RC1
in repository owncloud-doc.

commit da461817516aab6c1c2011d5f04eecfc643aea89
Author: Tronde <tronde at my-it-brain.de>
Date:   Fri Nov 20 18:37:13 2015 +0100

    Backport of the changes in manual upgrade procedure from master.
---
 admin_manual/maintenance/upgrade.rst | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

diff --git a/admin_manual/maintenance/upgrade.rst b/admin_manual/maintenance/upgrade.rst
index 5e913cb..1e98b83 100644
--- a/admin_manual/maintenance/upgrade.rst
+++ b/admin_manual/maintenance/upgrade.rst
@@ -183,12 +183,14 @@ The other way is by entering your ``config.php`` file and changing
 
 1. Back up your existing ownCloud Server database, data directory, and 
    ``config.php`` file. (See :doc:`backup`.)
+
 2. Download and unpack the latest ownCloud Server release (Archive file) from 
    `owncloud.org/install/ 
    <https://owncloud.org/install/>`_ into an empty directory outside 
    of your current installation. For example, if your current ownCloud is 
    installed in ``/var/www/owncloud/`` you could create a new directory called
    ``/var/www/owncloud2/``
+
 3. Stop your Web server.
 
 4. Rename or move your current ownCloud directory (named ``owncloud/`` if 
@@ -215,29 +217,30 @@ The other way is by entering your ``config.php`` file and changing
 .. note:: We recommend storing your ``data/`` directory in a location other 
    than your ``owncloud/`` directory.
 
-9. Restart your Web server.
+9. If you are using third party applications, look into the ``owncloud/apps/`` 
+   directory to see if they are there. If not, copy them from your old ``apps/``
+   directory to your new one. Make sure the directory permissions of your third
+   party application directories are the same as for the other ones.
 
-10. Now you should be able to open a Web browser to your ownCloud server and 
-    log in as usual. You have a couple more steps to go: You should see a 
-    **Start Update** screen, just like in the **Upgrading With Your Linux 
-    Package Manager** section, above. Review the prerequisites, and if you have 
-    followed all the steps click the **Start Update** button.    
-    
-    If you are running a large installation with a lot of files and users, 
-    you should launch the upgrade from the command  line using ``occ`` to 
+10. Restart your Web server.
+
+11. Now launch the upgrade from the command  line using ``occ`` to
     avoid PHP timeouts, like this example on Ubuntu Linux::
     
      $ sudo -u www-data php occ upgrade
      
-   .. note:: The ``occ`` command does not download ownCloud updates. You must 
-      first download and install the updated code (steps 1-3), and then 
-      ``occ`` performs the final upgrade steps.  
+   .. note:: The ``occ`` command does not download ownCloud updates. You must first download
+      and install the updated code (steps 1-3), and then ``occ`` performs the final upgrade steps.  
      
-11. The upgrade operation takes a few minutes to a few hours, depending on the 
+12. The upgrade operation takes a few minutes to a few hours, depending on the 
     size of your installation. When it is finished you will see a success 
     message, or an error message that will tell where it went wrong.   
 
-Assuming your upgrade succeeded, take a look at the bottom of your Admin page to 
+Assuming your upgrade succeeded, disable the maintenance mode::
+
+	$ sudo -u www-data php occ maintenance:mode --off
+
+Login and take a look at the bottom of your Admin page to 
 verify the version number. Check your other settings to make sure they're 
 correct. Go to the Apps page and review the core apps to make sure the right 
 ones are enabled. Re-enable your third-party apps. Then apply strong 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git



More information about the Pkg-owncloud-commits mailing list