Changes between Version 4 and Version 5 of owncloud-admin


Ignore:
Timestamp:
Nov 19, 2015, 11:13:07 AM (6 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • owncloud-admin

    v4 v5  
    33Our [wiki:owncloud owncloud] installation is running on lucius, which is currently running Debian jessie. The owncloud package, however, comes from the [https://download.owncloud.org/download/repositories/stable/owncloud/ ownCloud repo] (see #11039).
    44
    5 Important details:
     5== Important details ==
    66
    77 * As per the Debian packaging, it is run as the www-data user
     8 * Directories:
     9  * The code is in /var/www/owncloud.
     10  * The data (files) are in /var/lib/owncloud/data.
     11  * Our theme is in /var/lib/owncloud/themes (symlinked from /var/www/owncloud/themes)
     12  * Our configuratio is in /etc/owncloud (symlinked from /var/www/owncloud/config)
    813 * We're using the postgres package not the mysql package. If you want to muck around in the database: `su - www-data` and then `psql owncloud`
    9  * We're authenticating using the [wiki:login-service login-service] (web api). User accounts are created on the fly.
     14 * We're authenticating using the [wiki:login-service login-service] (web api).
     15  * User accounts are created on the fly.
     16  * This code is in the /etc/owncloud/config.php file (and must be re-copied when admin config changes are applied).
     17  * The code has to stay in config.php or it won't work in all cases (I tried to make a third party app with this code - but the third party app is not invoked withn you download the ics version of the calendar).
     18  * This is a real pain.
    1019 * The admin username and password are in [wiki:keyringer keyringer]. However, try to avoid logging in as the admin, and if you change any configuration options, /etc/owncloud/config.php may get overwritten (which contains our custom user backend). A copy should be available at /etc/owncloud/config.php.bak
    1120 * A 5GB per user quota is set. This is configured by logging in as admin and then clicking to administer users. Quotas can be changed on a per user basis.
     
    1827
    1928
     29== Upgrading ==
    2030
     31When upgrading between minor versions (8.1.1 to 8.1.2) run `apt-get dist-upgrade`.
     32
     33To ensure all database udpates have been run, su to the www-data user and then:
     34{{{
     35cd /var/www/owncloud
     36php occ upgrade
     37}}}
     38
     39Be sure to check /etc/owncloud/config.php to make sure it has the OC_User_mfpl class defined. If not, compare config.php with config.php.bak and update config.php as needed.
     40
     41When upgrading between major versions you most likely will have to download the corresponding version of the third party apps we are maintaining. Best practice seems to be:
     42
     43 * Enter maintenance mode (edit to /etc/owncloud/config.php
     44 * Download all apps in /var/lib/owncloud/apps-local, replacing the existing apps with the new ones.
     45 * Run `apt-get dist-upgrade`
     46 * `su - www-data && cd /var/www/owncloud && php occ upgrade`
     47 * Fix /etc/owncloud/config.php to include our custom class.