NextCloud: Heroku: Install: Finalize Installation

From Gratiel's Wiki
Revision as of 22:49, 31 August 2019 by Ewanchic (talk | contribs)

Need to Tell NextCloud that it is done installing.

Obtain config #2

git push heroku master
  • Check everything, code should be clean.
  • Reset the Database
  • Redo the install
  • Check that the S3 bucket was filled with oids.
  • look at the new config.php File

Obtain new Values

  • If there is a new config file, then redo the environment vars with:
    • Secret
    • Password-Salt

Set Install status to True

Add the new item to tell the config.php that the install is completed.

'installed' => true,
git commit -a -m "Telling NextCloud that its installation process is finished."

Configure Log Files

Add some additional information for logging purposes.

 'log_type' => 'syslog',
 'logfile' => ,
 'loglevel' => '1',
 'logdateformat' => 'F d, Y H:i:s',
git commit -a -m "Adding some additional logging parameters for nextcloud. Sending log info to syslog."

Add File Caching

Add the new item to tell the config.php that the install is completed.

'memcache.local' => '\\OC\\Memcache\\APCu',
git commit -a -m "Add File Caching with APCu."

Add ghost files

mkdir -p server/data
cd server/data
touch .ocdata index.html nextcloud.log
cd ../..
git add .
git commit -m "Adding ghost files needed in ./data."

Recommit and Test

git push heroku master

Check that the login works.

Return