Bug 51882 - Роль nextcloud не работает
Summary: Роль nextcloud не работает
Status: CLOSED NOTABUG
Alias: None
Product: Branch p10
Classification: Unclassified
Component: deploy (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: qa-team@altlinux.org
QA Contact: qa-p10@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-30 10:17 MSK by Anton Shevtsov
Modified: 2024-10-30 10:56 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Shevtsov 2024-10-30 10:17:54 MSK
аль сервер 10.2
в инсталляторе ОС выбран Nextcloud

после окончания установки - он не установлен
при попытке установить самостоятельно на только что установленной ОС через 

[root@nextcloud ~]# deploy nextcloud password=5Z4SAq2U28rWyVz
Deploying nextcloud...
Executing playbook nextcloud.yml

- deploy Nextcloud on hosts: local -
install Apache packages...
check certificate file...
generate certificate file...
enable Apache2 module filter...
enable Apache2 module ssl...
enable Apache2 module rewrite...
enable Apache2 module headers...
enable Apache2 module env...
enable Apache2 module dir...
enable Apache2 module mime...
enable Apache2 module mod_php8.2...
disable Apache2 module mod_php7...
enable HTTPS (default_https)...
enable HTTPS (https)...
configure port 80...
configure port 443...
change example server name...
change _default_ placeholder for https...
set port 80 for default server...
add RewriteEngine On...
add RewriteCond...
add RewriteRule...
detect PHP settings...
configure PHP memory_limit setting...
configure PHP upload_max_filesize setting...
configure PHP max_input_vars setting...
reload Apache2 configuration...
start Apache service...
detect HTTP DocumentRoot...
detect HTTPS DocumentRoot...
install MariaDB server packages...
start MariaDB service...
install Nextcloud packages...
check if database 'nextcloud' exists...
generate password for Nextcloud...
create database user 'nextcloud'...
check for config file "/var/www/webapps/nextcloud/config/config.php"...
generate configuration by install script from nextcloud...
get full host name...
add full hostname to config /var/www/webapps/nextcloud/config/config.php...
reload Apache2 configuration...
one try to open web page...
change password to Nextcloud for user ncadmin...
  localhost failed | msg: non-zero return code | stderr: Nextcloud is not installed - only a limited number of commands are available

                                                          
  There are no commands defined in the "user" namespace.  
                                                          

- Play recap -
  localhost                  : ok=0    changed=0    unreachable=0    failed=1    rescued=0    ignored=0   
Error deploy nextcloud



после dist-upgrade примерно тоже самое

[root@nextcloud ~]# deploy nextcloud password=Qwerty12345
Deploying nextcloud...
Executing playbook nextcloud.yml

- deploy Nextcloud on hosts: local -
install Apache packages...
check certificate file...
generate certificate file...
enable Apache2 module filter...
enable Apache2 module ssl...
enable Apache2 module rewrite...
enable Apache2 module headers...
enable Apache2 module env...
enable Apache2 module dir...
enable Apache2 module mime...
enable Apache2 module mod_php8.2...
disable Apache2 module mod_php7...
enable HTTPS (default_https)...
enable HTTPS (https)...
configure port 80...
configure port 443...
change example server name...
change _default_ placeholder for https...
set port 80 for default server...
add RewriteEngine On...
add RewriteCond...
add RewriteRule...
detect PHP settings...
configure PHP memory_limit setting...
configure PHP upload_max_filesize setting...
configure PHP max_input_vars setting...
reload Apache2 configuration...
start Apache service...
detect HTTP DocumentRoot...
detect HTTPS DocumentRoot...
install MariaDB server packages...
start MariaDB service...
install Nextcloud packages...
check if database 'nextcloud' exists...
generate password for Nextcloud...
create database user 'nextcloud'...
check for config file "/var/www/webapps/nextcloud/config/config.php"...
generate configuration by install script from nextcloud...
get full host name...
add full hostname to config /var/www/webapps/nextcloud/config/config.php...
reload Apache2 configuration...
one try to open web page...
change password to Nextcloud for user ncadmin...
  localhost failed | msg: non-zero return code | stderr: PHP Warning:  Module "openssl" is already loaded in Unknown on line 0
Nextcloud is not installed - only a limited number of commands are available

                                                          
  There are no commands defined in the "user" namespace.  
                                                          

- Play recap -
  localhost                  : ok=0    changed=0    unreachable=0    failed=1    rescued=0    ignored=0   
Error deploy nextcloud
Comment 1 Anton Shevtsov 2024-10-30 10:27:28 MSK
Убрал опцию password, процесс пошел, но конфиг представляет собой 1 строку

[root@nextcloud ~]# cat  /var/www/webapps/nextcloud/config/config.php
    1 => 'nextcloud',
Comment 2 Anton Shevtsov 2024-10-30 10:56:13 MSK
вероятно, я шел по ложному пути. закрываю