[Eisfair] [E1 4.9.210-eisfair-64-VIRT] NextCloud einrichten
Martin Faderbauer
martin at fmit.at
Mi Okt 27 08:53:23 CEST 2021
Hallo Marcus
ich habe mal die Zeilen ergenzt (hoffentlich richtig)
mit folgenden ergebniss:
> Checking configuration file ...
>
> Activate configuration now (y/n) [yes]? y
> nextcloud version (eisfair-64): 1.10.3
> Database type : mysql (mysql)
> Database server: localhost:3306
> Trusted domain(s): eis.lan.fli4l www.artmoebel.at webmail.artmoebel.at buger.at webmail.buger.at
> Apache2 SSL support: enabled
> MySQL PHP7-WEB support: enabled
> MySQL PHP7-CLI support: enabled
> MySQL support: Mail support: enabled
> PHP7-WEB Redis cache: enabled
> PHP7-CLI APC cache: enabled
> PHP7-CLI Redis cache: enabled
> Redis support: enabled
> PHP7-WEB memory limit: >= 512M
> PHP7-CLI memory limit: >= 512M
> Memory check: 1
> PHP7-CLI configuration access: possible
> CLI config check: 1
> Get WEB modules: 1
> Get WEB modules: 1
> Loaded CLI modules: 1
> Web: imagick: 1
> CLI: imagick: 1
> Web: intl: 1
> CLI: intl: 1
> Web: opcache: 1
> CLI: opcache: 1
> Web: pcntl: 1
> CLI: pcntl: 1
> PHP pre-requisites not met, fix it and re-run configuration!
> Press ENTER to continue
inzwischen habe ich Nextcloud manuell installiert -> lauft somit sollte
PHP am Server richtig laufen. Nur über das eisfair Script ist es nicht
zu installieren. Vielleicht finden wir den Fehler.
Am 23.10.2021 um 13:25 schrieb Marcus Röckrath:
> Hallo Martin,
>
> Martin Faderbauer wrote:
>
>>> Checking configuration file ...
>>> Activate configuration now (y/n) [yes]? y
>>> nextcloud version (eisfair-64): 1.12.2
>>> Database type : mysql (mysql)
>>> Database server: localhost:3306
>>> Trusted domain(s): ---->Gelöscht<-----
>>> Apache2 SSL support: enabled
>>> MySQL PHP7-WEB support: enabled
>>> MySQL PHP7-CLI support: enabled
>>> MySQL support: Mail support: enabled
>>> PHP7-WEB APC cache: enabled
>>> PHP7-WEB Redis cache: enabled
>>> PHP7-CLI APC cache: enabled
>>> PHP7-CLI Redis cache: enabled
>>> Redis support: enabled
>>> PHP7-WEB memory limit: >= 512M
>>> PHP7-CLI memory limit: >= 512M
>>> PHP7-CLI configuration access: possible
>>> PHP pre-requisites not met, fix it and re-run configuration!
>>> Press ENTER to continue
>
> Wenn du möchtest, könnte du in /var/install/config.d/nextcloud.sh ein paar
> Ausgabezeilen ergänzen, denn es würde mich mal interessieren, an welcher
> Stelle bei dir eine Variable auf 1 (zeigt Fehler an) wechselt:
>
> myecho --pack ${module_name} --info "Memory check: ${config_error}"
> ^^^^^^^^^^
>
> if ! check_php_cli_config_access
> then
> config_error=1
> fi
>
> myecho --pack ${module_name} --info "CLI config check: ${config_error}"
> ^^^^^^^^^^
>
> # get list of loaded php modules
> php_webmodules=`get_loaded_php_modules 'web'`
>
> myecho --pack ${module_name} --info "Get WEB modules: ${config_error}"
> ^^^^^^^^^^
>
> php_climodules=`get_loaded_php_modules 'cli'`
>
> myecho --pack ${module_name} --info "Get CLI modules: ${config_error}"
> ^^^^^^^^^^
>
> if [ -z "${php_webmodules}" ]
> then
> if [ "${php_package}" = 'php7-fpm' ]
> then
> myecho --pack ${module_name} --error "PHP7FPM-WEB module test failure,
> make sure that the web server/fpm is running!"
> else
> myecho --pack ${module_name} --error "PHP${php_major_version}-WEB module
> test failure, make sure that the web server is running!"
> fi
> config_error=1
> fi
>
> myecho --pack ${module_name} --info "Loaded WEB modules: ${config_error}"
> ^^^^^^^^^^
>
> if [ -z "${php_climodules}" ]
> then
> myecho --pack ${module_name} --error "PHP${php_major_version}-CLI module
> test failure, make sure that the cli program exists!"
> config_error=1
> fi
>
> myecho --pack ${module_name} --info "Loaded CLI modules: ${config_error}"
> ^^^^^^^^^^
>
> # imagick - this module is required by the theming app of
> # Nextcloud 13.x
> # intl - this module is required by Nextcloud 10.0.6 and
> # is part of the apache2_php5 v2.0.12svn2018-02-03
> # package
> # opcache -
> # pcntl -
> for PHP_MOD in imagick intl opcache pcntl
> do
> if ! is_php_module_loaded "${PHP_MOD}" "${php_webmodules}"
> then
> print_php_module_status 'web' "${PHP_MOD}"
> config_error=1
> fi
>
> myecho --pack ${module_name} --info "Web: ${PHP_MOD}: ${config_error}"
> ^^^^^^^^^^
>
> if ! is_php_module_loaded "${PHP_MOD}" "${php_climodules}"
> then
> print_php_module_status 'cli' "${PHP_MOD}"
> config_error=1
> fi
>
> myecho --pack ${module_name} --info "CLI: ${PHP_MOD}: ${config_error}"
> ^^^^^^^^^^
>
> done
>
> if[ ${config_error} -eq 1 ]
>
>
> Die zu ergänzenden myecho-Zeilen haben also immer etwa folgende Gestalt:
>
> myecho --pack ${module_name} --info "...........: ${config_error}"
>
> Ich habe das oben auch durch
>
> ^^^^^^^^^^
>
> gekennzeichnet, was natürlich nicht mit ins Skript kommt.
>
> Vorher das Original des Skriptes sichern.
>
Mehr Informationen über die Mailingliste Eisfair