Fehler bei Installation

Locked
Maxw
Posts: 5
Joined: Mon 8. Nov 2021, 00:47

Fehler bei Installation

Post by Maxw »

Hallo,

bei der Installation erhalte ich folgenden Fehler:
Notice: Undefined index: encryption in /home/keyhelp/www/keyhelp/core/License/Li cense.php on line 137
Error Unable to find a valid quota mount point. You have to make sure that the re is a "/" - mount point in your "/etc/fstab". If you need help, please visit o ur multilingual support community: https://community.keyhelp.de
Mit diesem Befehl starte ich die Installation:
wget --no-check-certificate https://install.keyhelp.de/get_keyhelp.php -O install_keyhelp.sh ; bash install_keyhelp.sh ;
Ich nutze Debian 9.

Kann jemand helfen?

LG
Attachments
Screenshot 2021-11-08 005758.png
User avatar
space2place
Posts: 486
Joined: Tue 24. Mar 2020, 11:02
Contact:

Re: Fehler bei Installation

Post by space2place »

Ich verweise mal auf einen Post von Alex:
viewtopic.php?f=4&t=10060&p=26306&hilit ... int#p26306
Maxw
Posts: 5
Joined: Mon 8. Nov 2021, 00:47

Re: Fehler bei Installation

Post by Maxw »

Habe nun die Installation auf Debian 11 gemacht und abgeschlossen, allerdings mit einem Fehler:
Während der KeyHelp-Installation sind Fehler aufgetreten!

Ihre KeyHelp-Installation funktioniert möglicherweise nicht wie erwartet, solange die Ursachen für diese Fehler nicht behoben sind.
Bei der Installation der folgenden Module traten Probleme auf: KeyHelp

Bitte überprüfen Sie das Installations-Protokoll unter /var/log/keyhelp/install.log.
LOG:
================================================================================
KeyHelp
================================================================================

exec | chmod 0750 /home/keyhelp
exec | chown keyhelp:keyhelp /home/keyhelp/www/kh.webstats
exec | chown -h keyhelp:keyhelp /home/keyhelp/www/webmail
exec | chown -h keyhelp:keyhelp /home/keyhelp/www/db-administration
exec | chgrp www-data /home/keyhelp
exec | usermod -aG www-data keyhelp
exec | groupadd --force keyhelp_file_manager
exec | groupadd --force keyhelp_nossh
exec | groupadd --force keyhelp_noftp
exec | groupadd --force keyhelp_suspended
exec | groupadd --force keyhelp_chroot
exec | mkdir -p -m 0700 /etc/keyhelp/
exec | mkdir -p -m 0700 /etc/keyhelp/config
exec | mkdir -p -m 0700 /etc/keyhelp/skel
exec | chown keyhelp:keyhelp -R /etc/keyhelp/
exec | mkdir -p -m 0755 /usr/local/keyhelp/
exec | echo '# --------------------------------------------------
# This file is managed by KeyHelp.
# If you want to change its content, please use
# the corresponding configuration menu.
# --------------------------------------------------
hostmaster: root
postmaster: root
webmaster: root
abuse: root' > /etc/aliases

files | sudoers/keyhelp => /etc/sudoers.d/keyhelp
files | sudoers/keyhelp_file_manager => /etc/sudoers.d/keyhelp_file_manager
files | keyhelp/config.json => /etc/keyhelp/config/config.json
files | keyhelp/skel/README => /etc/keyhelp/skel/README
files | bin/call_url => /usr/local/keyhelp/call_url

db | DROP DATABASE IF EXISTS `keyhelp`
db | CREATE DATABASE `keyhelp`
db | GRANT ALL PRIVILEGES ON keyhelp.* TO 'keyhelp'@'localhost' IDENTIFIED BY '***DB_KH_PASS***'
db | GRANT ALL PRIVILEGES ON *.* TO 'keyhelp_root'@'localhost' IDENTIFIED BY '***DB_KH_ROOT_PASS***' WITH GRANT OPTION
db | FLUSH PRIVILEGES

import | /home/keyhelp/www/keyhelp/install/templates/keyhelp/keyhelp.sql => keyhelp
import | /home/keyhelp/www/keyhelp/install/templates/keyhelp/prohibited_domains.sql => keyhelp

exec | chmod 0440 /etc/sudoers.d/keyhelp
exec | chmod 0440 /etc/sudoers.d/keyhelp_file_manager
exec | chmod 0600 /etc/keyhelp/config/config.json
exec | chown keyhelp:keyhelp /etc/keyhelp/config/config.json
exec | chown keyhelp:keyhelp /etc/keyhelp/skel
exec | chmod +x /usr/local/keyhelp/call_url
exec | chmod +x /home/keyhelp/www/keyhelp/bin/toolbox.php
exec | rm -fr /usr/bin/keyhelp-toolbox
exec | ln -s /home/keyhelp/www/keyhelp/bin/toolbox.php /usr/bin/keyhelp-toolbox

db | INSERT INTO `keyhelp`.`ssl_certificates` SET `id` = '1', `name` = 'default', `file_name` = 'default';
db | UPDATE `keyhelp`.`settings` SET `value` = '0df701d25ec51a6ab4f762e16da6e19efa4ef56405972a988cbe49a372b401f8760fd3e64da9cfdf930276a40e8cb159e3b309049caba647fa0b3399b9f1241c' WHERE `category` = 'general' AND `name` = 'keyhelp_id'
db | UPDATE `keyhelp`.`settings` SET `value` = 'https://***HOSTNAME***' WHERE `category` = 'general' AND `name` = 'panelurl'
db | UPDATE `keyhelp`.`settings` SET `value` = '***HOSTNAME***' WHERE `category` = 'general' AND `name` = 'hostname'
db | UPDATE `keyhelp`.`settings` SET `value` = 'root@***HOSTNAME***' WHERE `category` = 'general' AND `name` = 'system_email'
db | UPDATE `keyhelp`.`settings` SET `value` = 'ns.***HOSTNAME***.,ns2.***HOSTNAME***.' WHERE `category` = 'dns' AND `name` = 'name_servers'
db | UPDATE `keyhelp`.`settings` SET `value` = '***IP_0***' WHERE `category` = 'dns' AND `name` = 'ips'
db | UPDATE `keyhelp`.`settings` SET `value` = '21.2' WHERE `category` = 'sys' AND `name` = 'version'
db | UPDATE `keyhelp`.`settings` SET `value` = 'ipv4' WHERE `category` = 'sys' AND `name` = 'prefer_family'
db | UPDATE `keyhelp`.`settings` SET `value` = 'Europe/Kiev' WHERE `category` = 'sys' AND `name` = 'time_zone'
db | UPDATE `keyhelp`.`settings` SET `value` = 'https://***HOSTNAME***/db-administration/' WHERE `category` = 'db_administration' AND `name` = 'nav_url'
db | UPDATE `keyhelp`.`settings` SET `value` = 'https://***HOSTNAME***/webmail/' WHERE `category` = 'webmail' AND `name` = 'nav_url'
db | UPDATE `keyhelp`.`settings` SET `value` = 'managesieve, password, keyhelp_sync_identities' WHERE `category` = 'roundcube' AND `name` = 'plugins'
db | UPDATE `keyhelp`.`settings` SET `value` = 'de' WHERE `category` = 'language' AND `name` = 'default'
db | UPDATE `keyhelp`.`settings` SET `value` = '0' WHERE `category` = 'email' AND `name` = 'enable_virus_checks'
db | UPDATE `keyhelp`.`settings` SET `value` = '1' WHERE `category` = 'general' AND `name` = 'show_welcome_message'
db | UPDATE `keyhelp`.`settings` SET `value` = '1' WHERE `category` = 'ssl' AND `name` = 'panel_certificate'
db | UPDATE `keyhelp`.`settings` SET `value` = '1' WHERE `category` = 'ssl' AND `name` = 'ftp_certificate'
db | UPDATE `keyhelp`.`settings` SET `value` = '1' WHERE `category` = 'ssl' AND `name` = 'mail_certificate'
db | UPDATE `keyhelp`.`settings` SET `value` = '1' WHERE `category` = 'ssl' AND `name` = 'webmail_certificate'
db | INSERT INTO `keyhelp`.`users` SET `username` = 'keyadmin', `password` = '$2a$10$hKrs6XOC.D8Jw70pRld9Y.ddOA6tH3ffWgcT8HihJD7OL8FlD7QHy', `is_admin` = '1', `is_main_admin` = '1', `email` = 'root@***HOSTNAME***', `lang` = 'de', `setup_date` = '2021-11-09 19:34:55'
db | INSERT INTO `keyhelp`.`account_templates` SET `name`='Unlimited', `disk_space`=-1, `traffic`=-1, `email_accounts`=-1, `email_addresses`=-1, `domains` =-1, `subdomains`=-1, `databases`=-1, `ftp_users`=-1, `scheduled_tasks`=-1, `ftp`=1, `php`=1, `perl`=0, `ssh`=0, `backup`=1, `panel_access`=1, `domain_security`=1, `manage_certs`=1, `file_manager`='1', `applications`='1', `dns_editor`='1', `db_remote_access`=1, `change_personal_data`=1, `php_memory_limit`='80M', `php_max_execution_time`=60, `php_post_max_size`='72M', `php_upload_max_filesize`='64M', `php_open_basedir`='##DOCROOT##/www:##DOCROOT##/files:##DOCROOT##/tmp', `php_disable_functions`='dl, disk_free_space, diskfreespace, stream_socket_sendto, proc_get_status, proc_nice, proc_open, proc_terminate, proc_close, popen, curl_multi_exec, pcntl_exec, pcntl_fork, pcntl_setpriority, symlink, link, posix_kill, posix_mkfifo, posix_setsid, posix_setuid, posix_setpgid, posix_getpwuid, show_source, highlight_file, syslog, error_log, openlog, define_syslog_variables, apache_child_terminate, apache_setenv, apache_note', `php_additional_settings`='', `phpfpm_pm`='ondemand', `phpfpm_max_children`=3, `phpfpm_max_requests`=0, `phpfpm_min_spare_servers`='', `phpfpm_max_spare_servers`='', `phpfpm_status_enabled`=0, `phpfpm_status_ip_restriction`=''

exec | sed -i "s/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/gI" /etc/locale.gen
sed: can't read /etc/locale.gen: No such file or directory

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ERROR DETECTED <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

[SKIPPED DUE PREVIOUS ERRORS] exec | locale-gen en_US.UTF-8
Was hat das zu bedeuten? Kann dazu nichts finden.

LG
Attachments
Screenshot 2021-11-09 204049.png
Screenshot 2021-11-09 204049.png (10.59 KiB) Viewed 2170 times
User avatar
MLan
Posts: 466
Joined: Wed 20. Sep 2017, 23:05
Location: @home

Re: Fehler bei Installation

Post by MLan »

Maxw wrote: Tue 9. Nov 2021, 20:41
[SKIPPED DUE PREVIOUS ERRORS] exec | locale-gen en_US.UTF-8

Was hat das zu bedeuten? Kann dazu nichts finden.

exec | sed -i "s/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/gI" /etc/locale.gen
sed: can't read /etc/locale.gen: No such file or directory


Hi,
mach mal

Code: Select all

dpkg-reconfigure  locales 
dann en_US.UTF-8 auswählen <enter>
dann erneut en_US.UTF-8 als default locale auswählen.

Code: Select all

ls -lah  /etc/locale.gen
dann sollte es wieder passen
Maxw
Posts: 5
Joined: Mon 8. Nov 2021, 00:47

Re: Fehler bei Installation

Post by Maxw »

Erhalte folgende Meldung:
root@debian11:~# dpkg-reconfigure locales
Generating locales (this might take a while)...
en_US.UTF-8...Killed
done
Generation complete.
*** update-locale: Error: invalid locale settings: LANG=en_US.UTF-8
User avatar
space2place
Posts: 486
Joined: Tue 24. Mar 2020, 11:02
Contact:

Re: Fehler bei Installation

Post by space2place »

Führe mal folgendes aus

Code: Select all

locale-gen "en_US.UTF-8"
Dann sollte folgendes erscheinen

Code: Select all

Generating locales...
  en_US.UTF-8... done
Generation complete.
Anschließend nochmal

Code: Select all

dpkg-reconfigure locales
Maxw
Posts: 5
Joined: Mon 8. Nov 2021, 00:47

Re: Fehler bei Installation

Post by Maxw »

Dasselbe:
root@debian11:~# locale-gen "en_US.UTF-8"
Generating locales (this might take a while)...
en_US.UTF-8...Killed
done
Generation complete.
root@debian11:~# dpkg-reconfigure locales
Generating locales (this might take a while)...
en_US.UTF-8...Killed
done
Generation complete.
*** update-locale: Error: invalid locale settings: LANG=en_US.UTF-8
User avatar
space2place
Posts: 486
Joined: Tue 24. Mar 2020, 11:02
Contact:

Re: Fehler bei Installation

Post by space2place »

Maxw
Posts: 5
Joined: Mon 8. Nov 2021, 00:47

Re: Fehler bei Installation

Post by Maxw »

Weder damit:
Edit /etc/locale.gen and uncomment the line with en_US.UTF-8 e.g. sudo nano /etc/locale.gen
uncomment line by deleting leading #

Run sudo locale-gen en_US.UTF-8
Run sudo update-locale en_US.UTF-8
noch damit funktioniert es:
Run sudo nano /etc/default/locale

Change it to include these three lines:

LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
LANGUAGE=en_US.UTF-8

Then reboot the system and it should be updated.
Werde wohl auf ein Update warten, bevor ich Keyhelp einsetze.

Trotzdem vielen Dank für die Hilfe ;)

LG
tab-kh
Posts: 450
Joined: Thu 22. Apr 2021, 23:06

Re: Fehler bei Installation

Post by tab-kh »

Also mir fällt z.B. das hier auf:

Code: Select all

Generating locales (this might take a while)...
en_US.UTF-8...Killed
Wie lange läuft denn das bevor es beendet wird (...Killed)
Braucht das vielleicht zuviele Ressourcen auf deinem Server (RAM,CPU) oder wird es aus anderen Gründen beendet?
Wenn das nicht durchläuft sondern vorzeitig abgebrochen wird, dann sind eben die Locales nicht komplett erzeugt was dann am Ende wieder zu dem Fehler führt.
Locked