kommt "Kommando nicht gefunden".webmail-install
Hat jemand das schon zu laufen?
kommt "Kommando nicht gefunden".webmail-install
Code: Alles auswählen
Installing Horde Groupware Webmail Edition
Configuring database settings
HORDE[31629]: [horde] ParseError: syntax error, unexpected 'new' (T_NEW) in /usr/share/php/Services/Weather.php:167
Stack trace:
#0 /usr/share/php/Horde/Autoloader.php(65): Horde_Autoloader->_include('/usr/share/php/...')
#1 [internal function]: Horde_Autoloader->loadClass('Services_Weathe...')
#2 [internal function]: spl_autoload_call('Services_Weathe...')
#3 /var/www/html/lib/Block/Metar.php(21): class_exists('Services_Weathe...')
#4 /usr/share/php/Horde/Core/Block/Collection.php(500): Horde_Block_Metar->__construct('horde')
#5 /usr/share/php/Horde/Core/Block/Collection.php(159): Horde_Core_Block_Collection->_loadBlocks()
#6 /var/www/html/lib/Application.php(122): Horde_Core_Block_Collection->getBlocksList()
#7 /usr/share/php/Horde/Registry.php(1196): Horde_Application->configSpecialValues('blocks')
#8 /usr/share/php/Horde/Config.php(1861): Horde_Registry->callAppMethod('horde', 'configSpecialVa...', Array)
#9 /usr/share/php/Horde/Config.php(1790): Horde_Config->_handleSpecials(Object(DOMElement))
#10 /usr/share/php/Horde/Config.php(602): Horde_Config->_getEnumValues(Object(DOMElement))
#11 /usr/share/php/Horde/Config.php(712): Horde_Config->_parseLevel(Array, Object(DOMNodeList), 'portal')
#12 /usr/share/php/Horde/Config.php(725): Horde_Config->_parseLevel(Array, Object(DOMNodeList), '')
#13 /usr/share/php/Horde/Config.php(204): Horde_Config->_parseLevel(Array, Object(DOMNodeList), '')
#14 /usr/share/php/Horde/Config/Form.php(58): Horde_Config->readXMLConfig()
#15 /usr/share/php/Horde/Core/Bundle.php(76): Horde_Config_Form->__construct(Object(Horde_Variables), 'horde', true)
#16 /usr/bin/webmail-install(31): Horde_Core_Bundle->configDb()
#17 {main} [pid 31629 on line 74 of "/usr/share/php/Horde/ErrorHandler.php"]
Fatal Error:
syntax error, unexpected 'new' (T_NEW)
In /usr/share/php/Services/Weather.php on line 167
1. IMP_Application->exceptionHandler()
2. Horde_ErrorHandler::fatal() /var/www/html/imp/lib/Application.php:620
3. Horde_Cli->fatal() /usr/share/php/Horde/ErrorHandler.php:85
horde/Horde_Thrift requires PHP (version >= 5.3.0, version <= 6.0.0alpha1, excluded versions: 6.0.0alpha1), installed version is 7.0.19-1
horde/Horde_Stringprep requires PHP (version >= 5.3.0, version <= 6.0.0alpha1, excluded versions: 6.0.0alpha1), installed version is 7.0.19-1
funktioniert auch nicht.groupware-install
Damit ist doch alles gesagt...weshalb hat geschrieben:Nein, der Fehler kam nicht, es lief eigentlich durch, bis auf das er solche Fehler ausspuckt:
Code: Alles auswählen
horde/Horde_Thrift requires PHP (version >= 5.3.0, version <= 6.0.0alpha1, excluded versions: 6.0.0alpha1), installed version is 7.0.19-1 horde/Horde_Stringprep requires PHP (version >= 5.3.0, version <= 6.0.0alpha1, excluded versions: 6.0.0alpha1), installed version is 7.0.19-1
Kannst du das mal probieren?The stable application packages haven't been officially marked as PHP
7 compatible yet, though most of the framework libraries have. This
won't happen until at least Horde 5.3. In the meantime, you can use
the --force flag to pear to allow installation on PHP 7 systems.
Ha, kalt erwischt. Gerade heute mal wieder über pear und php7 aufgesetzt und siehe da, mehrere Datenbankfehler. Weiß auch nicht, woran es liegt, werde mich Morgen mal neu ransetzen und gucken, da das Thema in Zukunft aktuell bei mir wird.ThorstenS hat geschrieben:14.11.2017 20:55:25Hast du dein Tut irgendwo online erreichbar? Mit Kopano werde ich nicht so recht warm und suche für einen kleinen Kreis eine Alternative…
Fertig, du hast da mal Post.ThorstenS hat geschrieben:14.11.2017 20:55:25Hast du dein Tut irgendwo online erreichbar? Mit Kopano werde ich nicht so recht warm und suche für einen kleinen Kreis eine Alternative…
Code: Alles auswählen
pear uninstall File_Fstab
pear uninstall Services_Weather
pear uninstall horde/Horde_Service_Weather
Code: Alles auswählen
apt update
apt install libapache2-mod-php php-gd php-mysql php-mcrypt php-imap php-net-sieve \
php-tidy php-cli php-pear apache2 mysql-server php php-geoip imagemagick \
php-memcache memcached libmagic-dev make php-dev libgeoip-dev debpear
# wobei ich debpear noch nicht ausprobiert habe, um die resultierenden Pakete dann auf dem Produktivsystem einspielen zu können.
# da wird es hininstalliert:
mkdir -p /var/www/horde
chown -R www-data:www-data /var/www/horde
pear channel-discover pear.horde.org
pear channel-update pear.php.net
pear channel-update pear.horde.org
pear upgrade-all
pear upgrade PEAR
pear install horde/horde_role
pear run-scripts horde/horde_role
oder für Automationsfreaks:
echo -e "/var/www/horde" | pear run-scripts horde/horde_role
pear install -a -B horde/webmail
# dann inkompatible Module wieder runterschmeißen:
pear uninstall File_Fstab
pear uninstall Services_Weather
pear uninstall horde/Horde_Service_Weather
# mariadb absichern und root Kennwort setzen:
mysql_secure_installation
# Datenbank anlegen:
mysql -u root -p
create database horde;
create user 'horde'@'localhost' identified by '12345';
grant usage on *.* to 'horde'@'localhost' identified by '12345';
grant all privileges on horde.* to 'horde'@'localhost';
flush privileges;
exit
# Pfade anlegen:
mkdir /var/www/horde/phptmp/
chown -R www-data:www-data /var/www/horde
# Jetzt installieren:
webmail-install
cat /etc/apache2/conf-available/horde.conf
Alias /Microsoft-Server-ActiveSync /var/www/horde/rpc.php
Alias /horde /var/www/horde
<Directory /var/www/horde>
Options +FollowSymLinks
AllowOverride All
Require all granted
AddType application/x-httpd-php .php
php_value include_path ".:/usr/share/php"
php_value open_basedir "none"
php_value upload_tmp_dir "/var/www/horde/phptmp/"
</Directory>
a2enmod rewrite
a2enconf horde
systemctl restart apache2
Hat ThorstenS schon sehr gut zusammengefasst.
Auch wenn es hier eventuell nicht hinpasst, doch selbst wenn ich ein Passwort vergeben habe, kann ich mich als eingeloggter Root immer noch ohne verbinden. War früher anders, ist das normal?# mariadb absichern und root Kennwort setzen:
mysql_secure_installation
Code: Alles auswählen
PHP Version
· This version of PHP has not been fully tested with this version of Horde.
PHP Module Capabilities
· LZ4 Compression Support (PECL extension): No
If the horde_lz4 PECL extension is available, Horde can perform real-time compression on cached data to optimize storage resources.
· Internationalization Support: No
Horde requires the intl extension to handle Internationalized Domain Names. Compile PHP with --enable-intl.
· Imagick (PECL extension): No
Horde can make use of the Imagick library to manipulate images. It is highly recommended to use the PECL extension (although, alternatively, Horde can be configured to use the convert command line utility instead).
· LDAP Support: No
LDAP support is only required if you want to use an LDAP server for anything like authentication, address books, or preference storage. Compile PHP with --with-ldap to activate the extension.
· LZF Compression Support (PECL extension): No
If the lzf PECL extension is available, Horde can perform real-time compression on cached data to optimize storage resources. It is recommended to use horde_lz4 instead, as its compression speed is twice as fast as this extension.
· Mbstring Support: No
If you want to take full advantage of Horde's localization features and character set support, you will need the mbstring extension. Compile PHP with --enable-mbstring to activate the extension.
· MongoDB support (PECL extension): No
If you want to use the MongoDB NoSQL database backend, you must install this extension.
· MySQL Support: No
The MySQL extension is only required if you want to use a MySQL database server for data storage. See the PHP documentation on how to enable MySQL support when compiling PHP.
· PAM Support (PECL extension): No
The PAM PECL extension is required to allow PAM authentication to be used.
· PostgreSQL Support: No
The PostgreSQL extension is only required if you want to use a PostgreSQL database server for data storage.
Miscellaneous PHP Settings
· session.gc_divisor value: 1000
PHP automatically garbage collects old session information, as long as this setting (and session.gc_probability) are set to non-zero. It is recommended that this value be "10000" or higher (see docs/INSTALL).
· session.gc_probability value: 0
PHP automatically garbage collects old session information, as long as this setting (and session.gc_divisor) are set to non-zero. It is recommended that this value be "1".
PEAR
· File_Fstab: No
Horde requires the File_Fstab package if using the localhost driver for the Accounts block.
· Services_Weather: No
Services_Weather is used by the METAR weather applet/block on the portal page.
Code: Alles auswählen
<div id="kronocalendar"></div><script src="http://hostname.example.com/horde/horde/services/imple.php?imple=Embed/ impleApp=kronolith/container=kronocalendar/view=month/calendar=calendar_name" type="text/javascript"></script>
Code: Alles auswählen
Im Array "map" hinter der Zeile
'email' => 'object_email',
noch die Zeilen
'homeEmail' => 'object_homeemail',
'workEmail' => 'object_workemail',
'emails' => 'object_emails',
einfügen.
Code: Alles auswählen
Im Array 'tabs' den Eintrag für _("Communications") ergänzen zu
_("Communications") => array('email', 'emails', 'homeEmail', 'workEmail', ...
Code: Alles auswählen
Im Array "search" die neuen Felder ergänzen:
'search' => array(
'name',
'email',
'emails',
'homeEmail',
'workEmail'
),
Code: Alles auswählen
alter table turba_objects add object_emails varchar(255) after object_email;
Code: Alles auswählen
alter table turba_objects add index i_emails (object_emails);
alter table turba_objects add index i_homeemail (object_homeemail);
alter table turba_objects add index i_workemail (object_workemail);
Echt jetzt? Schonmal den CalDavSynchronizer probiert?Andererseits lassen sich Kalender von Radicale mit Oulook nur read-only einbinden - wenn überhaupt, und mit ActiveSync les- und schreibbar.
Eigentlich strebe ich nach Lösungen, um sowas wie Gmail nicht nutzen zu müssen und ja, man muss hier und da Kompromisse machen, doch ich denke, dass die Entwicklung weiter gehen wird. So auch bei Horde.Und da ist Radicale bzw. Gmail ideal dazu.