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