Installation fails when using PostgreSQL
danb35 opened this issue · 0 comments
danb35 commented
+ iocage exec nextcloud su -m www -c 'php /usr/local/www/nextcloud/occ maintenance:install --database="pgsql" --database-name="nextcloud" --database-user="nextcloud" --database-pass="[redacted]" --database-host="localhost:/tmp/.s.PGSQL.5432" --admin-user="admin" --admin-pass="[redacted]" --data-dir="/mnt/files"'
No database drivers (sqlite, mysql, or postgresql) installed.
An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /usr/local/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /usr/local/www/nextcloud/console.php(99): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /usr/local/www/nextcloud/occ(11): require_once('/usr/local/www/...')
#2 {main}Command: su -m www -c php /usr/local/www/nextcloud/occ maintenance:install --database="pgsql" --database-name="nextcloud" --database-user="nextcloud" --database-pass="[redacted]" --database-host="localhost:/tmp/.s.PGSQL.5432" --admin-user="admin" --admin-pass="[redacted]" --data-dir="/mnt/files" failed!
+ echo 'Failed to install Nextcloud, aborting'