HTTP Error 500 while Installation

Hello,

I wanted to install NC on my shared host, but I could not finish the installation.

After uploading the files and visiting the URL, I got the Welcome-Config-Screen to create the admin-user and type in the database-settings.

After type in this, I only get an “HTTP Error 500”.
Obviously the admin-user is created, because I get a “duplicate-user-message” while repeating the configuration.

On php 5.6 i get the Err500 immedeately, and the apache webserver error log has no entries. in nextcloud/data no subdirectories are created (php 5.6).

With php7.2 it takes longer, I a subdirectory in data/adminname is created. But, there is the http-err500, too. And data\nextcloud.log dont has any new entries.
I get some apache-errors in 7.2-log:

[Mon Mar 26 01:29:26.835529 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver: could not find driver in /var/www/webhost-username-replaced/html/nextcloud/lib/private/DB/Connection.php:64
[Mon Mar 26 01:29:26.835585 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: Stack trace:
[Mon Mar 26 01:29:26.835594 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: #0 /var/www/webhost-username-replaced/html/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(992): OC\\DB\\Connection->connect()
[Mon Mar 26 01:29:26.835601 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: #1 /var/www/webhost-username-replaced/html/nextcloud/lib/private/DB/Connection.php(216): Doctrine\\DBAL\\Connection->executeUpdate('PRAGMA read_unc...', Array, Array)
[Mon Mar 26 01:29:26.835608 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: #2 /var/www/webhost-username-replaced/html/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(623): OC\\DB\\Connection->executeUpdate('PRAGMA read_unc...')
[Mon Mar 26 01:29:26.835635 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: #3 /var/www/webhost-username-replaced/html/nextcloud/lib/private/DB/Connection.php(151): Doctrine\\DBAL\\Connection->setTransactionIsolation(2)
[Mon Mar 26 01:29:26.835643 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: #4 /var/www/webhost-username-replaced/html/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(172): OC\\DB\\Connection->__construct(Array, Object(Doctrine\\DBAL\\Driver\\PDOSqlite\\Driver), Object(Doctrine\\DBAL\\Configuration), Object(Doctrine\\Common\\EventManager))
[Mon Mar 26 01:29:26.835650 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: #5 /var/ww in /var/www/webhost-username-replaced/html/nextcloud/lib/private/DB/Connection.php on line 64
[Mon Mar 26 01:29:26.835656 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: PHP Fatal error:  Uncaught Doctrine\\DBAL\\DBALException: Failed to connect to the database: An exception occured in driver: could not find driver in /var/www/webhost-username-replaced/html/nextcloud/lib/private/DB/Connection.php:64
[Mon Mar 26 01:29:26.835663 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: Stack trace:
[Mon Mar 26 01:29:26.835668 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: #0 /var/www/webhost-username-replaced/html/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(992): OC\\DB\\Connection->connect()
[Mon Mar 26 01:29:26.835675 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: #1 /var/www/webhost-username-replaced/html/nextcloud/lib/private/DB/Connection.php(216): Doctrine\\DBAL\\Connection->executeUpdate('PRAGMA read_unc...', Array, Array)
[Mon Mar 26 01:29:26.835682 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: #2 /var/www/webhost-username-replaced/html/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(623): OC\\DB\\Connection->executeUpdate('PRAGMA read_unc...')
[Mon Mar 26 01:29:26.835688 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: #3 /var/www/webhost-username-replaced/html/nextcloud/lib/private/DB/Connection.php(151): Doctrine\\DBAL\\Connection->setTransactionIsolation(2)
[Mon Mar 26 01:29:26.835694 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: #4 /var/www/webhost-username-replaced/html/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(172): OC\\DB\\Connection->__construct(Array, Object(Doctrine\\DBAL\\Driver\\PDOSqlite\\Driver), Object(Doctrine\\DBAL\\Configuration), Object(Doctrine\\Common\\EventManager))
[Mon Mar 26 01:29:26.835702 2018] [fcgid:warn] [pid 929879:tid 140688213432064] [client 84.164.143.107:50549] mod_fcgid: stderr: #5 /var/ww in /var/www/webhost-username-replaced/html/nextcloud/lib/private/DB/Connection.php on line 64

Check if all required modules have been installed:
https://docs.nextcloud.com/server/13/admin_manual/installation/source_installation.html#prerequisites-label

thanks for the answer, tflidd.
I checked the modules: All “Required” and all “Recommended packages” are installed on my host.

PHP extensions loaded:

Core date libxml pcre filter hash Reflection SPL session standard cgi-fcgi limiter bcmath bz2 calendar ctype curl dba dom enchant mbstring fileinfo ftp gd gettext gmp iconv imagick imap intl json exif mcrypt mysqlnd mysqli openssl pcntl PDO pdo_mysql pdo_sqlite zlib posix pspell readline shmop SimpleXML soap sockets sqlite3 sysvmsg sysvsem sysvshm tidy tokenizer wddx xmlreader xmlrpc xml xmlwriter xsl zip Phar SourceGuardian ionCube Loader

Now, it deleted the config and the cleared the database, and tried again (in php 7.2).

Again, installer runs for a while, ended up with an HTTP ERROR 500.
But now I’m able to login, and the cloud seems OK.
I hope, its really “stable”, although the installer ended up the with Err500.

Try to delete app FileAccessControl and reinstall it after update.
Otherwise do a manuell update.