Can't rerun the Installation Wizard

nc14

#1

After installing Nextcloud 14.04 on Ubuntu 18.10 I ran the Installation Wizard, just like you’re supposed to. Problem is, I did it before I had the mysql database set up, and now I need to re-run it. When I try, I can’t get it to start. I know I’m doing something wrong, but I can’t figure out what!


#2

You don’t need to rerun it. You can configure all the DB settings in your $nextcloud_install/config/conf.php

Here is an example excerpt which you can use as a template:

'dbtype' => 'mysql',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => '53cr3tp@55w0rd',

Just add your DB setting in there, and it should work. HTH.


#3

Danke, Hans, but when I point my browser to “localhost/nextcloud” all I get is “file not found”. Not a 404 status code, just the words “file not found”.


#4

Just move the config.php out of NC home directory and restart apache. See what happens. If it breaks completely, mv the whole NC directory out, download a fresh one and start again.


#5

I had to do the latter. We’ll see what happens next. Thanks for the advice!


#6

I did nothing. Please just report back what happens? Especially if it is a success. So that we can help future visitors?


#7

Don’t sell yourself short, mein freund. You gave me wise counsel when I needed it! That’s nothing to be sneezed at.