[Eisfair] Nextcloud on Eis

Hilmar Böhm hilmar.boehm at web.de
So Apr 7 16:12:18 CEST 2019


Hallo Marcus,

danke, dass Du da mal drüber schauen magst.

>>> Hattest du auf der Kiste schon einen laufenden Apachen?
>> Nein. Kein Apache, php, Nextcloud, o.ä.
> 
> Ok, ich hatte angenommen, der Apache2 läuft schon.
> 
> Bevor du weiter an nextcloud arbeitest, muss erstmal der Apache2 inklusive
> php7 laufen.
Sehe ich auch so.
# apachectl -t --> sagt SYNTAX OK
Außerdem wird kein Port 443 bedient (nur 80), selbst wenn ein /var/www/htdocs/index.html vorhanden wäre.

> Sagt der Apache irgendwas, wenn du ihn zu starten versuchst?
> 
> /etc/init.d/apache2 start
Nix!
> 
> Ansonsten auch mal die Logs in /var/www/log betrachten.
--------------------------------------------------------
--> /var/www/log/error_log	#kommt nur noch:

AH00016: Configuration failed
--------------------------------------------------------

--> /var/www/log/error_log:

[Sun Apr 07 15:44:36.274869 2019] [ssl:emerg] [pid 6656] AH02562: Failed to configure certificate e64nc.hiro.corp:443:0 (with 
chain), check /usr/local/ssl/certs/apache.pem
[Sun Apr 07 15:44:36.274896 2019] [ssl:emerg] [pid 6656] SSL Library Error: error:0906D06C:PEM routines:PEM_read_bio:no start 
line (Expecting: TRUSTED CERTIFICATE) -- Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?
[Sun Apr 07 15:44:36.274901 2019] [ssl:emerg] [pid 6656] SSL Library Error: error:140DC009:SSL 
routines:use_certificate_chain_file:PEM lib
--------------------------------------------------------

Vielleicht müsste mal apache ohne Zertifikate zum laufen bringen. Die Zertifikatserstellung mit der Routine im Setup-Script ohne 
Fehler durchgelaufen.
Es gibt ein /usr/local/ssl/private/e64nc.hiro.corp.key und ein (damit erzeugtes)  /usr/local/ssl/certs/e64nc.hiro.corp.pem, auf 
das /usr/local/ssl/private/apache.pem zeigt (ln -s).

Vielen Dank und Grüße. / Hilmar.


-----------------------------------------------------------------------------------------------------------

--> apache2_php7:
START_PHP7='yes'
PHP7_MAX_EXECUTION_TIME='30'
PHP7_DISPLAY_ERRORS='yes'
PHP7_LOG_ERROR='no'
PHP7_REGISTER_GLOBALS='no'
PHP7_SENDMAIL_PATH=''
PHP7_SENDMAIL_APP=''
PHP7_DATE_TIMEZONE='Europe/Berlin'
PHP7_DEFAULT_CHARSET='de_DE.UTF-8'
PHP7_INFO='no'
PHP7_MAX_POST_SIZE='8M'
PHP7_MAX_UPLOAD_FILESIZE='2M'
PHP7_MEMORY_LIMIT='512M'
PHP7_UPLOAD_DIR='/tmp'
PHP7_EXT_CACHE='apcu+redis'
PHP7_EXT_SOAP='no'
PHP7_EXT_LDAP='no'
PHP7_EXT_MYSQL='yes'
PHP7_EXT_MYSQL_SOCKET='/run/mysql/mysql.sock'
PHP7_EXT_MYSQL_HOST='e64nc.hiro.corp'
PHP7_EXT_MYSQL_PORT='3306'
PHP7_EXT_MSSQL='no'
PHP7_EXT_PGSQL='no'
PHP7_EXT_INTER='no'
PHP7_EXT_SQLITE3='no'

-----------------------------------------------------------------------------------------------------------

--> php_cli:
PHP7CLI_MAX_EXECUTION_TIME='30'
PHP7CLI_DISPLAY_ERRORS='yes'
PHP7CLI_LOG_ERROR='no'
PHP7CLI_REGISTER_GLOBALS='no'
PHP7CLI_SENDMAIL_PATH=''
PHP7CLI_SENDMAIL_APP=''
PHP7CLI_DATE_TIMEZONE='Europe/Berlin'
PHP7CLI_MAX_POST_SIZE='800M'
PHP7CLI_MAX_UPLOAD_FILESIZE='7000M'
PHP7CLI_MEMORY_LIMIT='512M'
PHP7CLI_UPLOAD_DIR='/tmp'
PHP7CLI_EXT_CACHE='apcu+redis'
PHP7CLI_EXT_SOAP='no'
PHP7CLI_EXT_LDAP='no'
PHP7CLI_EXT_MYSQL='yes'
PHP7CLI_EXT_MYSQL_SOCKET='/run/mysql/mysql.sock'
PHP7CLI_EXT_MYSQL_HOST='127.0.0.1'
PHP7CLI_EXT_MYSQL_PORT='3306'
PHP7CLI_EXT_MSSQL='no'
PHP7CLI_EXT_PGSQL='no'
PHP7CLI_EXT_INTER='no'
PHP7CLI_EXT_SQLITE3='no'

-----------------------------------------------------------------------------------------------------------

--> nextcloud:
START_OWNCLOUD='yes'
OWNCLOUD_ADMIN_USER='ncadmin'
OWNCLOUD_ADMIN_PASS='Wafdeuxe'
OWNCLOUD_DOCUMENT_ROOT='/var/www/htdocs/nextcloud'
OWNCLOUD_TRUSTED_DOMAIN='e64nc.hiro.corp'
OWNCLOUD_DB_TYPE='mysql'
OWNCLOUD_DB_USER='ncuser'
OWNCLOUD_DB_PASS='Wafdeuxe'
OWNCLOUD_SECURITY_LOWERING='no'
OWNCLOUD_SECURITY_HTACCESS_RW='no'
OWNCLOUD_SMTP_MANUAL_CONFIGURATION='no'
OWNCLOUD_SMTP_HOST='127.0.0.1'
OWNCLOUD_SMTP_AUTH='none'
OWNCLOUD_SMTP_AUTH_USER=''
OWNCLOUD_SMTP_AUTH_PASS=''
OWNCLOUD_SMTP_TRANSPORT='default'
OWNCLOUD_APPSTORE_ENABLED='yes'
OWNCLOUD_APPS_N='1'
OWNCLOUD_APPS_1_DIR='/var/www/htdocs/nextcloud/apps2'
OWNCLOUD_APPS_1_URL='/apps2'
OWNCLOUD_APPS_1_WRITEABLE='yes'
OWNCLOUD_LOG_COUNT='10'
OWNCLOUD_LOG_INTERVAL='weekly'

-----------------------------------------------------------------------------------------------------------


Mehr Informationen über die Mailingliste Eisfair