Install help: An exception occurred in driver: SQLSTATE[HY000] Install two shows 404 error

Intro:
I’d like to thank everyone here who is involved in development and setup for Nextcloud. This software is amazing and I look forward to using it in the future.
I’ve run into a minor snag and after several hour googling answers have decided to ask for support in helping get this set up.

Again thanks for everything you do!
[/details]

Nextcloud version NextCloudPi 16.0.4
Operating system and version Rasbian from NOOBS

Apache version
Server version: Apache/2.4.38 (Raspbian)
Server built: 2019-08-18T13:34:20
Server’s Module Magic Number: 20120211:84
Server loaded: APR 1.6.5, APR-UTIL 1.6.1
Compiled using: APR 1.6.5, APR-UTIL 1.6.1
Architecture: 32-bit

PHP version
php -v
PHP 7.3.4-2 (cli) (built: Apr 13 2019 19:05:48) ( NTS )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.3.4, Copyright © 1998-2018 Zend Technologies
with Zend OPcache v7.3.4-2, Copyright © 1999-2018, by Zend Technologies

The issue you are facing:

Unable to install nextcloud: currently shows a 404 error after install

Is this the first time you’ve seen this error? Y

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

Not able to open Admin> Logging, cannot acess Nextcloud

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

/var/www/nextcloud permission denied 

The output of your Apache/nginx/system log in /var/log/____:

/var/log/ does not have a file or folder names /ngix that I can se. There is a Apache2 Error Log, do you want that?
/var/log/apache2 Error Log

[Tue Sep 10 21:47:02.811983 2019] [mpm_event:notice] [pid 2553:tid 1996218896] AH00489: Apache/2.4.38 (Raspbian) configured -- resuming normal operations
[Tue Sep 10 21:47:02.812994 2019] [core:notice] [pid 2553:tid 1996218896] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 10 22:03:00.300970 2019] [mpm_event:notice] [pid 2553:tid 1996218896] AH00491: caught SIGTERM, shutting down
[Tue Sep 10 22:03:00.737046 2019] [mpm_event:notice] [pid 20228:tid 1995858448] AH00489: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1c configured -- resuming normal operations
[Tue Sep 10 22:03:00.737295 2019] [core:notice] [pid 20228:tid 1995858448] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 10 22:52:13.892722 2019] [mpm_event:notice] [pid 20228:tid 1995858448] AH00491: caught SIGTERM, shutting down
[Tue Sep 10 22:52:22.945688 2019] [ssl:warn] [pid 466:tid 1995768336] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 10 22:52:22.949964 2019] [ssl:error] [pid 466:tid 1995768336] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=raspberrypi / issuer: CN=raspberrypi / serial: 41CA1914A8785566A7669824013B93F501889C5F / notbefore: Sep 11 01:52:22 2019 GMT / notafter: Sep  8 01:52:22 2029 GMT]
[Tue Sep 10 22:52:22.950113 2019] [ssl:error] [pid 466:tid 1995768336] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Tue Sep 10 22:52:23.037461 2019] [ssl:warn] [pid 661:tid 1995768336] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 10 22:52:23.038654 2019] [ssl:error] [pid 661:tid 1995768336] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=raspberrypi / issuer: CN=raspberrypi / serial: 41CA1914A8785566A7669824013B93F501889C5F / notbefore: Sep 11 01:52:22 2019 GMT / notafter: Sep  8 01:52:22 2029 GMT]
[Tue Sep 10 22:52:23.038758 2019] [ssl:error] [pid 661:tid 1995768336] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Tue Sep 10 22:52:23.054210 2019] [mpm_event:notice] [pid 661:tid 1995768336] AH00489: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1c configured -- resuming normal operations
[Tue Sep 10 22:52:23.054418 2019] [core:notice] [pid 661:tid 1995768336] AH00094: Command line: '/usr/sbin/apache2'
[Wed Sep 11 08:38:45.561364 2019] [ssl:warn] [pid 460:tid 1996141072] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 11 08:38:45.573355 2019] [ssl:error] [pid 460:tid 1996141072] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=raspberrypi / issuer: CN=raspberrypi / serial: 41CA1914A8785566A7669824013B93F501889C5F / notbefore: Sep 11 01:52:22 2019 GMT / notafter: Sep  8 01:52:22 2029 GMT]
[Wed Sep 11 08:38:45.573519 2019] [ssl:error] [pid 460:tid 1996141072] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Wed Sep 11 08:38:45.699042 2019] [ssl:warn] [pid 670:tid 1996141072] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 11 08:38:45.702784 2019] [ssl:error] [pid 670:tid 1996141072] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=raspberrypi / issuer: CN=raspberrypi / serial: 41CA1914A8785566A7669824013B93F501889C5F / notbefore: Sep 11 01:52:22 2019 GMT / notafter: Sep  8 01:52:22 2029 GMT]
[Wed Sep 11 08:38:45.702892 2019] [ssl:error] [pid 670:tid 1996141072] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Wed Sep 11 08:38:45.716354 2019] [mpm_event:notice] [pid 670:tid 1996141072] AH00489: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1c configured -- resuming normal operations
[Wed Sep 11 08:38:45.716542 2019] [core:notice] [pid 670:tid 1996141072] AH00094: Command line: '/usr/sbin/apache2'

Installed using
nextcloudpi curl-installer

with code

curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | sudo bash

Here’s what was run
Copy from Terminal CLEAN install (after install of Rasbian from NOOBS

Vist IP: see activation screen asking for

Create Admin Account
Username:
Password:

Data Folder /var/www/nextcloud/data

Database User:
Database Password:
Database Name:

Localhost

Filling out these fields throws error

Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user ‘adam’@‘localhost’ (using password: NO)’

Second attempt at reinstall
again using

curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | sudo bash

Copy from Terminal DIRTY install (after First install did not work

Now when I visit IP I simply see 404 error.

Please help and thanks for any ninsight you are able to provide :smiley:
I’d really like to get this working, but Next cloud is being interesting.