Difference between revisions of "NextCloud: Heroku: Install: Finalize Installation"

From Gratiel's Wiki
(Created page with "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 i...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
−
Need to Tell NextCloud that it is done installing.
+
== Set Install status to True ==
 +
Add the new item to tell the config.php that the install is completed.
 +
'installed' => true,
  
−
== Obtain config #2 ==
+
  git commit -a -m "Telling NextCloud that its installation process is finished."
−
  git push heroku master
 
  
−
* Check everything, code should be clean.
+
=== Configure Log Files ===
−
* Reset the Database
+
Add some additional information for logging purposes.
−
* Redo the install
+
  'log_type' => 'syslog',
−
* Check that the S3 bucket was filled with oids.
+
  'logfile' => '',
−
* look at the new config.php File
+
  'loglevel' => '1',
 +
  'logdateformat' => 'F d, Y H:i:s',
  
−
== Obtain new Values ==
+
git commit -a -m "Adding some additional logging parameters for nextcloud. Sending log info to syslog."
−
* If there is a new config file, then redo the environment vars with:
 
−
** Secret
 
−
** Password-Salt
 
  
−
== Set Install status to True ==
+
== Add File Caching ==
 
Add the new item to tell the config.php that the install is completed.
 
Add the new item to tell the config.php that the install is completed.
−
  'installed' => true,
+
  '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
  
−
git commit -a -m "Telling NextCloud that its installation process is finished."
+
Check that the login works.
  
 
== Return ==
 
== Return ==

Latest revision as of 18:39, 2 September 2019

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