Skip to content
Snippets Groups Projects
  1. Dec 08, 2014
  2. Dec 07, 2014
  3. Dec 06, 2014
    • Lukas Reschke's avatar
    • Lukas Reschke's avatar
      Create config if it does not exists · bd520d2e
      Lukas Reschke authored
      The codepath that is executed when executing ownCloud via CLI is different than via browser. Specifically, the config is created by the user session already in `OC_Util::getInstanceId()` by a call to `setValue`. That said, this seems to be quite a bad side-effect, but for the sake of "not breaking whatever might break if we touch this" let's keep it that way for now.
      
      When executing the autoconfig via `php -f index.php` the said session was not setup and thus no `config/config.php` file was created resulting in an installation error.
      
      To reproduce this try to setup ownCloud via `php -f index.php` with and without that patch. (ensure to delete all existing configs before and don't access ownCloud with a browser in the meantime)
      
      Fixes itself.
      bd520d2e
    • Jenkins for ownCloud's avatar
      [tx-robot] updated from transifex · 94eb2e78
      Jenkins for ownCloud authored
      94eb2e78
Loading