Difference between revisions of "NextCloud: Heroku: Install: Update Nextcloud Keys"

From Gratiel's Wiki
(→‎Obtain new Values)
(→‎Update the Config file)
 
Line 14: Line 14:
 
   'passwordsalt' => 'Cdub09XqlQop/WDppT0Tjo+s7a0PTZ',
 
   'passwordsalt' => 'Cdub09XqlQop/WDppT0Tjo+s7a0PTZ',
 
   'secret' => 'ojI7pVD2qoM3EdEJJoeWrR4UvSGb3+DXRK7/o3mNS5vht9Gv',
 
   'secret' => 'ojI7pVD2qoM3EdEJJoeWrR4UvSGb3+DXRK7/o3mNS5vht9Gv',
−
 
−
== Update the Config file ==
 
−
<?php
 
−
$CONFIG = array (
 
−
  'instanceid' => 'ocklnegqyxwr',
 
−
  'objectstore' =>
 
−
  array (
 
−
    'class' => '\\OC\\Files\\ObjectStore\\S3',
 
−
    'arguments' =>
 
−
    array (
 
−
      'bucket' => getenv('S3_BUCKET'),
 
−
      'autocreate' => true,
 
−
      'key' => getenv('S3_KEY'),
 
−
      'secret' => getenv('S3_SECRET'),
 
−
      'use_ssl' => true,
 
−
      'region' => getenv('S3_REGION'),
 
−
      'use_path_style' => false,
 
−
    ),
 
−
  ),
 
−
  'passwordsalt' => 'Cdub09XqlQop/WDppT0Tjo+s7a0PTZ',
 
−
  'secret' => 'ojI7pVD2qoM3EdEJJoeWrR4UvSGb3+DXRK7/o3mNS5vht9Gv',
 
−
 
−
Go ahead and update the config.php on your local git repo to match this. Save and commit.
 
−
 
−
git add .
 
−
git commit -m "Updated config.php. Updated Passwordsalt and Secret."
 
  
 
== Return ==
 
== Return ==

Latest revision as of 01:51, 17 September 2019

Need to Tell NextCloud that it is done installing.

Obtain config #2

git push heroku master
  • Check everything, code should be clean.
  • look at the new config.php File

Obtain new Values

  • There is a new config file. Obtain the following new values:
    • Secret
    • Password-Salt
 'passwordsalt' => 'Cdub09XqlQop/WDppT0Tjo+s7a0PTZ',
 'secret' => 'ojI7pVD2qoM3EdEJJoeWrR4UvSGb3+DXRK7/o3mNS5vht9Gv',

Return