Upgrade Owncloud to version 7

This commit is contained in:
Bob Mottram 2014-07-28 19:51:27 +01:00
parent 6b301b4825
commit f03dce377b
1 changed files with 9 additions and 2 deletions

View File

@ -5375,7 +5375,7 @@ Verify the download:
#+BEGIN_SRC: bash #+BEGIN_SRC: bash
sha256sum owncloud.tar.bz2 sha256sum owncloud.tar.bz2
92b53fdfa7c4165b83dd2f8447f63928454a5815d08ff2d6165dd1a8969ecbe1 owncloud.tar.bz2 9aca2aa0a0cd7b052e881c30ad6de25d135ec3f88a3920274f1be223b4cabedf
#+END_SRC #+END_SRC
Extract the archive. This may take a couple of minutes, so don't be alarmed that the system has crashed. Extract the archive. This may take a couple of minutes, so don't be alarmed that the system has crashed.
@ -5385,10 +5385,15 @@ export HOSTNAME=mydomainname.com
tar -xjf owncloud.tar.bz2 tar -xjf owncloud.tar.bz2
#+END_SRC #+END_SRC
Move the extracted files to your site and set file permissions. The extraction will take a few minutes. Move the extracted files to your site and set file permissions.
#+BEGIN_SRC: bash #+BEGIN_SRC: bash
cp -r owncloud /var/www/$HOSTNAME/htdocs cp -r owncloud /var/www/$HOSTNAME/htdocs
#+END_SRC
The copying also takes a few minutes. Then change the file permissions.
#+BEGIN_SRC: bash
chown -R www-data:www-data /var/www/$HOSTNAME/htdocs/owncloud/apps chown -R www-data:www-data /var/www/$HOSTNAME/htdocs/owncloud/apps
chown -R www-data:www-data /var/www/$HOSTNAME/htdocs/owncloud/config chown -R www-data:www-data /var/www/$HOSTNAME/htdocs/owncloud/config
chown www-data:www-data /var/www/$HOSTNAME/htdocs/owncloud chown www-data:www-data /var/www/$HOSTNAME/htdocs/owncloud
@ -5412,6 +5417,8 @@ Save and exit.
With a web browser visit your domain (mydomainname.com/owncloud) and enter an administrator username and password. With a web browser visit your domain (mydomainname.com/owncloud) and enter an administrator username and password.
For extra security you may also wish to create an ordinary owncloud user with limited privileges. To do that click on the *settings* dropdown menu (top right) then *users* then enter a *Login Name* and *password* and click on *create*. Under *quota* select a size which is suitable for the remaining space on your microSD card, then select the settings menu from the top right and select *log out*. You can now log back in as your new user.
*** Owncloud on Android *** Owncloud on Android
First install [[https://f-droid.org/][F-Droid]] and then search for the current Owncloud app. Once it's installed you'll then be able to log into the BBB with the URL https://mydomainname.com/opencloud, supplying your username and password. First install [[https://f-droid.org/][F-Droid]] and then search for the current Owncloud app. Once it's installed you'll then be able to log into the BBB with the URL https://mydomainname.com/opencloud, supplying your username and password.