Qnap [ NextCloud ] [ 21.0.4 ] OwnCloud Fork

Bonjour je tente d'installé nextcloud73, je lance l’installation et a chaque fois avant que l'installation se termine
je suis renvoyé vers une page blanche du navigateur m'indiquant que la connexion a été réinitialisé.
 
Hi (sorry for English, this was only place I found to report problem),
After installation (18.0.3) and Apache73 (2441.73160) on TS-251A, I also got connection reset. Nextcloud.log shows:

[Sun Apr 05 19:22:18.129832 2020] [proxy:debug] [pid 24402:tid 140110801217344] proxy_util.c(2027): AH00930: initialized pool in child 24402 for (*) min=0 max=61 smax=61
[Sun Apr 05 19:22:18.134530 2020] [mpm_event:debug] [pid 24402:tid 140109569398528] event.c(2315): AH02471: start_threads: Using epoll (wakeable)
[Sun Apr 05 19:22:19.120492 2020] [core:notice] [pid 18611:tid 140110801217344] AH00052: child pid 18900 exit signal Illegal instruction (4)

If I try to install directly from console, I also get similar:
[/share/CACHEDEV1_DATA/.qpkg/NextCloud73] # ../Apache73/bin/php ./nextcloud/occ maintenance:install --admin-user=<redacted> --database=pgsql --database-user <redacted> --database-name <redacted>
PHP Warning: Module 'PDO_ODBC' already loaded in Unknown on line 0
PHP Warning: Module 'pdo_pgsql' already loaded in Unknown on line 0
PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
What is the password to access the database with user <nextcloud73>?bash: stty: command not found
<redacted>
What is the password you like to use for the admin account <branko>?bash: stty: command not found
<redacted>
bash: stty: command not found
Illegal instruction

Is there any workaround to use postgres? Thanks in advance, Branko

Update: mysql also does not work. In both cases (pg and mysql), it seems that tables are installed, so dump happens after that point
 
OK, here is TEMP solution if anyone needs it, seems that there is bug with PASSWORD_ARGON2I algorithm to generate password. Solution:

comment lines 208, 209, 210 in nextcloud/lib/private/Security/Hasher.php such that they look like:
//if (\defined('PASSWORD_ARGON2I')) {
// $default = PASSWORD_ARGON2I;
//}
This will fallback to old hash algoreithm. Use it to unblock yourself, but I take no responsibility:) MAybe this clue can help Qoolbox to fix it!
 
found an other solution

it is well related to argon2

i setup latest NC 18.04

added to the config file on last line : /share/CACHEDEV1_DATA/.qpkg/NextCloud74/nextcloud/config/config.php

Code:
  'hashing_default_password' => true,

config file look like this one after a second setup (tested with sqlite and apache74, but this trick should work for all DB and Apache73)

Code:
<?php
$CONFIG = array (
  'instanceid' => 'ocg61wiq87m3',
  'passwordsalt' => 'ydniAQlWFcDG9MMAWzMlK8XkvgLZro',
  'secret' => 'O2DHiLvehj3VCsRPCak+sHUzSUXcJOPnJ9+knoHrN8qYJ5O5',
  'trusted_domains' => 
  array (
    0 => '192.168.0.59:35180',
  ),
  'datadirectory' => '/share/CACHEDEV1_DATA/.qpkg/NextCloud74/nextcloud/data',
  'dbtype' => 'sqlite3',
  'version' => '18.0.4.2',
  'overwrite.cli.url' => 'http://192.168.0.59:35180',
  'hashing_default_password' => true,
);

dont understand why i need force ARGON2 Hashing ... will it should be by default if detected