welcome: please sign in

The following 152 words could not be found in the dictionary of 7 words (including 7 LocalSpellingWords) and are highlighted below:
add   adding   all   always   an   and   any   apache   are   around   at   At   be   become   Before   beginning   below   block   by   check   checks   Cloud   code   collection   command   commenting   config   configuration   Console   console   Contents   Current   daemon   database   date   default   directory   disable   discover   do   does   drop   drops   duplicate   duplicates   ease   echo   errors   executed   exit   expects   fail   fails   file   first   fledged   For   for   from   full   guide   hangs   has   have   hcoop   However   if   If   in   In   install   is   it   level   line   located   may   migration   name   need   never   not   now   occ   Of   of   on   out   own   Own   Owncloud   owncloud   Owner   owns   page   permission   php   please   point   proceed   quotes   run   running   see   server   single   skip   So   so   some   sometimes   specify   succeed   succeeded   sudo   Table   tables   test   tests   that   The   the   them   then   Therefore   these   this   through   throws   tip   Tips   tips   to   top   Try   under   unique   upgrade   Upgrade   upgrading   User   user   We   we   which   wiki   will   with   without   Wrong   you   your  

Clear message
Edit

MemberManual / WebApplications / ownCloud

Owncloud Tips

At some point, this page may become a full-fledged guide. For now, it's a collection of tips to ease you through configuration that is unique to hcoop. If you are running an owncloud server and discover any of these, please add them in and date them.

Wrong User errors

2016-04-19: OwnCloud expects apache to be running under your user, so it sometimes checks for this and throws errors if the check fails. At hcoop, apache is running under your daemon, so the check will always fail. Therefore, we need to disable it. We do this by commenting out the code block below, which is at around line 65 of console.php, which is located in the top level install directory.

if ($user['name'] !== $configUser['name']) {
    echo "Console has to be executed with the user that owns the file config/config.php" . PHP_EOL;
    echo "Current user: " . $user['name'] . PHP_EOL;
    echo "Owner of config.php: " . $configUser['name'] . PHP_EOL;
    echo "Try adding 'sudo -u " . $configUser['name'] . " ' to the beginning of the command (without the single quotes)" . PHP_EOL;  
    exit(0);
}

Upgrade hangs/fails

2016-04-19: Before upgrading, by default ownCloud tests to see if the database upgrade will succeed. The test duplicates all your tables, does the upgrade on them, checks to see if the test upgrade succeeded, and then drops the duplicate tables. However, at hcoop your daemon does not have permission to drop tables, so the test will always fail, and ownCloud will never proceed with the upgrade. So you need to run the upgrade from the command line and specify not to run the test first. In the top level directory of your owncloud install, run php occ upgrade --skip-migration-test

MemberManual/WebApplications/ownCloud (last edited 2016-04-19 16:02:34 by c-71-192-154-186)