truenas/charts

Nextcloud installation impossible to create admin user

twisterrm opened this issue · 4 comments

After the deploy i got this error
1
I have try every suggestion found online without luck, i also try to login inside the db with pgadmin, but even if I put the correct credential (reported in config.php and on the "Notes" of application i receive this error
2
It seems that the database/user creation is broken, i didn't see (as per Notes suggested) the admin user in config.php
This is my config.php

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'nextcloud-redis',
    'password' => '[redacted]',
    'port' => 6379,
   ),
  'upgrade.disable-web' => true,
  'passwordsalt' => '[redacted]',
  'secret' => '[redacted]',
  'trusted_domains' => 
  array (
    0 => '192.168.[redacted]:9001',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'pgsql',
  'version' => '29.0.4.1',
  'overwrite.cli.url' => 'http://localhost',
  'dbname' => 'nextcloud',
  'dbhost' => 'nextcloud-postgres:5432',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => '[redacted]',
  'instanceid' => '[redacted]',
 );

Is this a fresh install or are you trying to restore with a previews config.php?

It's a fresh installation