some more setup-cli stuff:

- install needs a password now
- translations for en & de
- password can entered via command-line or env.variable
- installing a backup should work now
This commit is contained in:
Ralf Becker 2006-05-31 00:27:15 +00:00
parent 6a595dc541
commit b868fa4be7
3 changed files with 205 additions and 45 deletions

View File

@ -2,6 +2,7 @@
%1 does not exist !!! setup de %1 existiert nicht!!!
%1 is %2%3 !!! setup de %1 ist %2%3!!!
%1, %2 or %3 the configuration file. setup de %1, %2 oder %3 der Konfigurationsdatei.
'%1' is not allowed as %2. arguments of option %3 !!! setup de '%1' ist nicht erlaubt als %2. Parameter für die Option %3 !!!
(searching accounts and changing passwords) setup de Benutzerkonten suchen und Passwörter ändern)
*** do not update your database via setup, as the update might be interrupted by the max_execution_time, which leaves your db in an unrecoverable state (your data is lost) !!! setup de *** Updaten Sie NICHT Ihre Datenbank via Setup, da das Update von der max_execution_time (max. Ausführungszeit für Skripte) unterbrochen werden kann. Ihre Datenbank ist dann in einem nicht mehr wiederherstellbaren Zustand (Ihre Daten sind VERLOREN)!!!
*** you have to do the changes manualy in your php.ini (usualy in /etc on linux) in order to get egw fully working !!! setup de *** Sie müssen die Änderungen manuell in Ihrer php.ini Datei (üblicherweise in /etc unter Linux) durchführen, um eGroupWare vollständig/fehlerfrei ausführen zu können!!!
@ -10,23 +11,32 @@
80 (http) setup de 80 (http)
<b>charset to use</b> (use utf-8 if you plan to use languages with different charsets): setup de <b>Zeichensatz</b> (benutzen sie utf-8 wenn sie planen Sprachen mit verschiedenen Zeichensätzen zu verwenden)
<b>this will create 1 admin account and 3 demo accounts</b><br />the username/passwords are: demo/guest, demo2/guest and demo3/guest. setup de <b>Dies wird 1 Admin- und 3 Demo-Benutzerkonten anlegen.</b><br />Die Benutzernamen/Passwörter sind: demo/guest, demo2/guest und demo3/guest.
[header-password],[header-user],[new-password],[new-user] setup de [Header-Passwort],[Header-Benutzer],[neues-Passwort],[neuer-Benutzer]
access denied: wrong username or password for manage-header !!! setup de Zugriff verweigert: Falsche Benutzername oder Passwort für die Headerverwaltung !!!
access denied: wrong username or password to configure the domain '%1(%2)' !!! setup de Zugriff verweigert: Falsche Benutzername oder Passwort für Konfiguration der Domain '%1(%2)' !!!
accounts existing setup de Benutzerkonten existieren
actions setup de Aktionen
activate safe password check setup de Aktiviere die "sichere Passwort" Überprüfung
add auto-created users to this group ('default' will be attempted if this is empty.) setup de Automatisch erzeugte Benutzer zu dieser Grupper hinzufügen ("Default" wird versucht wenn nichts angegeben.)
add new database instance (egw domain) setup de Neue Datenbankinstanz (eGW Domain) hinzufügen
add or edit a domain: [domain-name(default)],[db-name(egroupware)],[db-user(egroupware)],db-password,[db-type(mysql)],[db-host(localhost)],[db-port(db specific)],[config-user(as header)],[config-passwd(as header)] setup de Domain hinzufügen oder bearbeiten: [Domainname(default)],[DB-Name(egroupware)],[DB-Benutzer(egroupware)],DB-Passwort,[DB-Typ(mysql)],[DB-Host(localhost)],[DB-Port(DB spezifisch)],[Konfigurationsbenutzer(wie Header)],[Konfig-Passwort(wie Header)]
adding, editing or deleting an egroupware domain / database instance: setup de Hinzufügen, bearbeiten oder Löschen einer eGroupWare Domain / Datenbank Instanz
additional options and there defaults (in brackets) setup de Zusätzliche Optionen und ihre Vorgaben (in Klammer)
additional settings setup de Zusätzliche Einstellungen
admin first name setup de Admin-Vorname
admin last name setup de Admin-Nachname
admin password setup de Admin-Passwort
admin password to header manager setup de Admin-Passwort für Headerverwaltung
admin user for header manager setup de Admin-Benutzer für Headerverwaltung
admin username setup de Admin-Benutzername
admin account successful created. setup de Admin Benutzer erfolgreich angelegt
admin email address setup de Admin Emailadresse
admin first name setup de Admin Vorname
admin last name setup de Admin Nachname
admin password setup de Admin Passwort
admin password to header manager setup de Admin Passwort für Headerverwaltung
admin user for header manager setup de Admin Benutzer für Headerverwaltung
admin username setup de Admin Benutzername
admins setup de Administratoren
after backing up your tables first. setup de Nach einer Datensicherung Ihrer Tabelen.
after retrieving the file, put it into place as the header.inc.php. then, click "continue". setup de Datei nach dem Herunterladen als header.inc.php speichern. Danach auf "Weiter" klicken.
all applications setup de Alle Anwendungen
all core tables and the admin and preferences applications setup de Sie alle Kern-Tabellen und die Anwendungen Admin und Einstellungen
all exit codes of the command line interface setup de alle Rückgabewerte des Komandozeilen Interface
all languages (incl. not listed ones) setup de alle Sprachen (einschl. nicht aufgeführte)
all users setup de Alle Benutzer
allow authentication via cookie setup de Erlaube Benutzerauthentifizierung über ein Cookie
@ -34,6 +44,7 @@ allow password migration setup de Erlaube Password Migration
allowed migration types (comma-separated) setup de Erlauber Migrationstypen (Komma separiert)
alternatively domains can be accessed by logging in with <i>username@domain</i>. setup de Auf Domains kann alternative auch durch Anmelden als <i>benutzer@domain</i> zugegriffen werden.
analysis setup de Analyse
and is up to date setup de und ist aktuell
and reload your webserver, so the above changes take effect !!! setup de UND reloaden Sie ihren Webserver, damit die obigen Änderungen in Kraft treten!!!
app details setup de Details der Anwendung
app install/remove/upgrade setup de Anwendung installierenn/entfernen/aktualisieren
@ -70,6 +81,7 @@ backup failed setup de Datensicherung fehlgeschlagen
backup finished setup de Datensicherung beendet
backup now setup de jetzt sichern
backup sets setup de Datensicherungen
backup skipped! setup de Datensicherung ausgelassen!
backup started, this might take a view minutes ... setup de Datensicherung gestartet, das kann einige Minuten dauern ...
because an application it depends upon was upgraded setup de da eine Anwendung von der sie abhängt upgegradet wurde
because it depends upon setup de weil es abhängt von
@ -86,6 +98,7 @@ cannot create the header.inc.php due to file permission restrictions.<br /> inst
change system-charset setup de Systemzeichensatz wechseln
charset setup de ISO-8859-1
charset to convert to setup de Zeichensatz in den konvertiert werden soll
charsets used by the different languages setup de Zeichensätze die von den verschiedenen Sprachen benutzt werden
check can only be performed, if called via a webserver, as the user-id/-name of the webserver is not known. setup de Dieser Test kann nur durchgeführt werden, wenn der Aufruf über den Webserver erfolgt, da Benutzer-Id und -name des Webservers nicht bekannt sind.
check installation setup de Installation überprüfen
check ip address of all sessions setup de IP Adresse bei allen Sessions überprüfen
@ -96,14 +109,17 @@ checking pear%1 is installed setup de
checking php.ini setup de Überprüfe die php.ini Datei
checking required php version %1 (recommended %2) setup de Überprüfe benötigte PHP Version %1 (empfohlen %2)
checking the egroupware installation setup de Überprüfe die eGroupWare-Installation
checks egroupware's installed, it's versions and necessary upgrads (return values see --exit-codes) setup de Überprüft ob eGroupWare installiert ist, die Version und notwendige Aktualisierungen (Rückgabewerte siehe --exit-codes)
click <a href="index.php">here</a> to return to setup. setup de <a href="index.php">Hier klicken</a> um zu Setup zurück zu kehren.
click here setup de Hier klicken
click here to re-run the installation tests setup de zum Wiederholen der Installationstests hier klicken
comma separated ip-addresses or host-names, default access to setup from everywhere setup de Komma getrennte IP-Adressen oder Hostnamen, Vorgabe Zugriff von überall
completed setup de Abgeschlossen
config password setup de Konfigurationspasswort
config username setup de Konfigurationsbenutzername
configuration setup de Konfiguration
configuration completed setup de Konfiguration abgeschlossen
configuration errors: setup de Fehler in der Konfiguration;
configuration password setup de Konfigurationspasswort
configuration user setup de Konfigurationsbenutzer
configure now setup de Jetzt konfigurieren
@ -121,11 +137,13 @@ create admin account setup de Administrator-Konto anlegen
create database setup de Datenbank erzeugen
create demo accounts setup de Demo-Benutzer anlegen
create one now setup de Jetzt erstellen
create or edit the egroupware configuration file: header.inc.php: setup de Anlegen oder bearbeiten der eGroupWare Konfigurationsdatei: header.inc.php:
create the empty database - setup de Legen Sie eine leere Datenbank an -
create the empty database and grant user permissions - setup de Leere Datenbank anlegen und Benutzerrechte daran gewähren -
create your header.inc.php setup de Datei header.inc.php anlegen
created setup de erzeugt
created header.inc.php! setup de header.inc.php erzeugt!
creates an admin user: domain(default),[config user(admin)],password,username,password,[first name],[last name],[email] setup de anlegen eines Administrator Benutzers: Domain(default),[Konfigurationsbenutzer(admin)],Passwort,Benutzername,Passwort,[Vorname],[Nachname],[Email Adresse]
creating tables setup de Erstelle Tabellen
current system-charset setup de Aktueller Systemzeichensatz
current system-charset is %1. setup de Aktueller Systemzeichensatz ist %1.
@ -133,6 +151,7 @@ current version setup de Gegenw
currently installed languages: %1 <br /> setup de Gegenwärtig installierte Sprachen: %1 <br />
database setup de Datenbank
database instance (egw domain) setup de Datenbankinstanz (eGW Domain)
database is version %1 and up to date. setup de Datenbank ist Version %1 und aktuell.
database successfully converted from '%1' to '%2' setup de Datenbank erfolgreich von "%1" nach "%2" konvertiert
datetime port.<br />if using port 13, please set firewall rules appropriately before submitting this page.<br />(port: 13 / host: 129.6.15.28) setup de Port für Datum/Zeitabfragen<br />Wenn der Port 13 verwendet wird, bitte VOR dem Absenden die Firewallregeln dementsprechend setzen.<br />(Port 13/Host: 129.6.15.28)
day setup de Tag
@ -165,14 +184,28 @@ do you want persistent connections (higher performance, but consumes more resour
do you want to manage homedirectory and loginshell attributes? setup de Wollen Sie Benutzerverzeichnisse und Login-Shell Attribute verwalten?
does not exist setup de existiert nicht
domain setup de Domain
domain '%1' does not exist !!! setup de Domain '%1' existiert NICHT !!!
domain name setup de Name der Domain
domain select box on login setup de Domain-Auswahlbox beim Einloggen
domain(all),[config user(admin)],password,[file-name(default: backup-dir/db_backup-yyyymmddhhii)] setup de Domain(alle),[Konfigurationsbenutzer(admin)],Passwort,[Dateiname(Vorgabe: Backupverzeichnis/db_backup-JJJJMMTTSSmm)]
domain(default),[config user(admin)],password,[backup to install],[charset(default depends on language)] setup de Domain(default),[Konfigurationsbenutzer(admin)],Passwort,[Backupdatei],[Zeichensatz(Vorgabe sprachabhänig)]
domain(default),[config user(admin)],password,[name=value,...] sets config values beside: setup de Domain(default),[Konfigurationsbenutzer(admin)],Passwort,[Name=Wert,...] setzt Konfigurationswerte neben:
domain-name setup de Domainname
dont touch my data setup de Meine Daten nicht verändern
download setup de Herunterladen
edit current configuration setup de Gegenwärtige Konfiguration überarbeiten
edit your existing header.inc.php setup de Bearbeiten Ihrer existierenden header.inc.php
edit your header.inc.php setup de Bearbeiten Ihrer header.inc.php
eg. /egroupware or http://domain.com/egroupware, default: %1 setup de zB. /egroupware oder http://domain.com/egroupware, Vorgabe: %1
egroupware administration manual setup de eGroupWare Administrationsmanual (nur in englisch)
egroupware api needs a database (schema) update from version %1 to %2! setup de eGroupWare API benötigt eine Datenbank (Schema) Aktualisierung von Version %1 auf %2!
egroupware api version %1 found. setup de eGroupWare API Version %1 gefunden.
egroupware configuration file (header.inc.php) does not exist. setup de eGroupWare Konfigurationsdatei (header.inc.php) existiert NICHT.
egroupware configuration file (header.inc.php) version %1 exists%2 setup de eGroupWare Konfigurationsdatei (header.inc.php) Version %1 existiert%2
egroupware configuration file header.inc.php already exists, you need to use --edit-header or delete it first! setup de eGroupWare Konfigurationsdatei header.inc.php existiert bereits, benutzen Sie --edit-header oder löschen Sie diese zuerst!
egroupware domain/instance %1(%2): setup de eGroupWare Domain/Instanz %1(%2):
egroupware is already installed! setup de eGroupWare ist bereits installiert!
egroupware sources in '%1' are not complete, file '%2' missing !!! setup de eGroupWare Quellen in '%1' sind nicht komplett, Datei '%2' fehlt !!!
enable for extra debug-messages setup de ankreuzen für zusätzliche Diagnosemeldungen
enable ldap version 3 setup de LDAP Version 3 verwenden
enable mcrypt setup de MCrypt einschalten
@ -198,6 +231,7 @@ error in group-creation !!! setup de Fehler beim Anlegen der Gruppen !!!
export egroupware accounts from sql to ldap setup de eGroupWare Benutzerkonten von SQL nach LDAP exportieren
export has been completed! you will need to set the user passwords manually. setup de Export ist abgeschlossen! Sie müssen die Benutzerpasswörter manuell setzen.
export sql users to ldap setup de SQL-Benutzer in LDAP exportieren
failed writing configuration file header.inc.php, check the permissions !!! setup de Fehler beim Schreiben der Konfigurationsdatei header.inc.php, bitte überprüfen Sie die Zugriffsrechte !!!
false setup de Falsch
file setup de DATEI
file type, size, version, etc. setup de Dateityp, Größe, Version usw.
@ -212,12 +246,16 @@ go to setup de Gehen zu
grant access setup de Zugriff gewähren
has a version mismatch setup de hat eine falsche Versionsanpassung
header admin login setup de Login Headerverwaltung
header password setup de Passwort der Headerverwaltung
header username setup de Benutzername der Headerverwaltung
header password setup de Passwort Headerverwaltung
header username setup de Benutzer Headerverwaltung
header-password[,header-user(admin)] setup de Passwort Headerverwaltung[,Benutzer Headerverwaltung(admin)]
header.inc.php successful written. setup de header.inc.php erfolgreich geschrieben.
historylog removed setup de Historylog gelöscht
hooks deregistered setup de Haken nicht mehr aktiv
hooks registered setup de Haken registriert
host information setup de Host Informationen
host,[smtp port],[smtp user],[smtp password] setup de Host,[SMTP Port],[SMTP Benutzer],[SMTP Passwort]
host,{imap | pop3 | imaps | pop3s},[domain],[{standard(default)|vmailmgr = add domain for mailserver login}] setup de Host,{imap | pop3 | imaps | pop3s},[Domain],[{standard(Vorgabe)|vmailmgr = Domain für Mailserver Anmeldung anhängen}]
host/ip domain controler setup de Hostname / IP des Domain Controler
hostname/ip of database server setup de Hostname/IP des Datenbank-Servers
hour (0-24) setup de Stunde (0-24)
@ -245,6 +283,9 @@ install all setup de Alle Installieren
install applications setup de Anwendungen installieren
install backup setup de Datensicherung installieren
install language setup de Sprachen installieren
install or update translations: domain(all),[config user(admin)],password,[[+]lang1[,lang2,...]] + adds, no langs update existing ones setup de Sprachen installieren oder aktualisieren: Domain(alle),[Konfigurationsbenutzer(admin)],Passwort,[[+]Sprache1[,Sprache2,...]] + hinzufügen, keine Sprachen aktualisiert die installierten
installation finished setup de Installation beendet
installation started, this might take a view minutes ... setup de Installation gestartet, das kann einige Minuten dauern ...
installed setup de installiert
instructions for creating the database in %1: setup de Anweisungen um eine Datenbank unter %1 anzulegen:
invalid ip address setup de Ungültige IP Adresse
@ -254,6 +295,8 @@ is broken setup de ist kaputt
is disabled setup de ist nicht aktiv
is in the webservers docroot setup de ist im Dokumentenverzeichnis (Documentroot) des Webservers
is not writeable by the webserver setup de ist nicht vom Webserver schreibbar
it needs upgrading to version %1! use --update-header <password>[,<user>] to do so (--usage gives more options). setup de Benötigt eine Aktualisierung auf Version %1! Benutzen Sie --update-header Passwort[,Benutzer] dafür (--usage gibt weitere Optionen)
languages updated. setup de Sprachen aktualisiert.
ldap account import/export setup de LDAP-Benutzerkonten importieren/exportieren
ldap accounts configuration setup de LDAP-Benutzerkonten Konfiguration
ldap accounts context setup de LDAP-Kontext für Benutzerkonten
@ -274,6 +317,8 @@ ldap search filter for accounts, default: "(uid=%user)", %domain=egw-domain setu
leave empty to keep current. setup de Leer lassen um das existierende Password zu behalten.
limit access setup de Zugang beschränken
limit access to setup to the following addresses, networks or hostnames (e.g. 127.0.0.1,10.1.1,myhost.dnydns.org) setup de Zugang zu Setup auf die folgenden IP Adressen, Netzwerke oder Hostnamen beschränken (z.B. 127.0.0.1,10.1.1,myhost.dnydns.org)
list availible values: setup de Listen der verfügbaren Werte:
list of availible translations setup de Liste der verfügbaren Sprachen
login as user postgres, eg. by using su as root setup de Als Benutzer postgres einlogen, zB. durch benutzen von su als root
login to mysql - setup de mysql aufrufen -
loginname needed for domain configuration setup de Benutzername für die Konfiguration der Domain
@ -311,7 +356,10 @@ no setup de Nein
no %1 support found. disabling setup de Keine Unterstützung für %1 gefunden. Abgeschaltet
no accounts existing setup de Keine Benutzerkonten gefunden
no algorithms available setup de Kein Algorithmus verfügbar
no egroupware domains / database instances exist! use --edit-header --domain to add one (--usage gives more options). setup de Keine eGroupWare Domain / Datenbank Instanz existiert! Benutzen Sie --edit-header --domain um eine hinzuzufügen (--usage gibt weitere Optionen).
no header admin password set! use --edit-header <password>[,<user>] to set one (--usage gives more options). setup de Kein Passwort für die Headerverwaltung gesetzt! Benutzen Sie --edit-header Passwort[,Benutzer] um eines zu setzen (--usage gibt weitere Optionen).
no modes available setup de kein Modus verfügbar
no update necessary, domain %1(%2) is up to date. setup de Keine Aktualisierung notwendig, Domain %1(%2) ist aktuell.
no xml support found. disabling setup de Keine Unterstützung für XML gefunden. Abgeschaltet
not setup de nicht
not all mcrypt algorithms and modes work with egroupware. if you experience problems try switching it off. setup de Nicht alle MCrypt-Algorithmen und -Modi funktionieren mit eGroupWare. Wenn Sie Probleme feststellen, versuchen Sie es abzuschalten.
@ -339,7 +387,9 @@ password of db user setup de Passwort des Datenbank Benutzers
passwords did not match, please re-enter setup de Passworte stimmten nicht überein, bitte nocheinmal eingeben
path (not url!) to your egroupware installation. setup de Pfad (nicht Internetadresse/URL!) Ihrer eGroupWare Installation.
path information setup de Pfadinformationen
path of egroupware install directory (default auto-detected) setup de Pfad des eGroupWare Installationsverzeichnis (Vorgabe wird automatisch erkannt)
path to user and group files has to be outside of the webservers document-root!!! setup de Pfad zu Benutzer und Gruppen Dateien MUSS AUSSERHALB des Wurzelverzeichnisses (document root) des Webservers sein!!!
path to various directories: have to exist and be writeable by the webserver setup de Pfade zu verschiedenen Verzeichnissen: Diese müssen vorhanden sein und vom Webserver beschreibbar
pear is needed by syncml or the ical import+export of calendar. setup de PEAR wird von SyncML oder dem iCal Import+Export des Kalenders benötigt.
pear::log is needed by syncml. setup de PEAR::Log wird von SyncML benötigt.
persistent connections setup de Permanente Verbindungen
@ -386,6 +436,7 @@ restore finished setup de Wiederherstellen beendet
restore started, this might take a view minutes ... setup de Wiederherstellung gestartet, das kann einige Minuten dauern ...
restoring a backup will delete/replace all content in your database. are you sure? setup de Das Wiederherstellen einer Datensicherung löscht / ersetzt den Inhalt Ihrer Datenbank. Sind Sie sicher?
return to setup setup de Zurück zum Setup
run a database schema update (if necessary): domain(all),[config user(admin)],password setup de Führt eine Aktualisierung des Datenbank Schema aus (falls notwendig): Domain(alle),[Konfigurationsbenutzer(admin)],Passwort
run installation tests setup de Installationstests starten
safe_mode is turned on, which is generaly a good thing as it makes your install more secure. setup de safe_mode ist eingeschaltet, was ist generell gut, da es Ihre Installation sicherer macht.
sample configuration not found. using built in defaults setup de Beispiel Konfiguration nicht gefunden, benutze eingebaute Voreinstellungen
@ -436,6 +487,8 @@ sql encryption type setup de SQL-Verschl
standard (login-name identical to egroupware user-name) setup de Standard (Loginname identisch zu eGroupWare Benutzername)
standard mailserver settings (used for mail authentication too) setup de Standard Mailserver Einstellungen (werden auch für die Mail Authentifizierung benutzt)
start the postmaster setup de Starten Sie den postmaster
start updating languages %1 ... setup de Starte Aktualisierung der Sprachen %1 ...
start updating the database ... setup de Starte Aktualisierung der Datenbank ...
status setup de Status
step %1 - admin account setup de Schrit %1 - Administrator-Konto
step %1 - advanced application management setup de Schritt %1 - Erweiterte Verwaltung der Anwendungen
@ -489,6 +542,8 @@ unfortunally some php/apache packages have problems with it (apache dies and you
uninstall setup de deinstaliert
uninstall all applications setup de Alle Anwendungen deinstallieren
uninstalled setup de nicht installiert
unknow option '%1' !!! setup de Unbekannte Option '%1' !!!
update finished. setup de Aktualisierung beendet.
upgrade setup de Aktualisieren
upgrade all setup de Alle Aktualiseren
upgraded setup de Aktualisiert
@ -496,7 +551,13 @@ upgrading tables setup de aktualisiere Tabellen
upload backup setup de Datensicherung hochladen
uploads a backup and installs it on your db setup de lädt eine Datensicherung hoch und installiert sie auf Ihrer DB
uploads a backup to the backup-dir, from where you can restore it setup de Läde eine Datensicherung in das Datensicherungsverzeichnis, von wo sie diese zurücksichern können
usage: %1 command [additional options] setup de Aufruf: %1 Kommando [zusätzliche Optionen]
use --create-header to create the configuration file (--usage gives more options). setup de Benutzen Sie --create-header um die Konfigurationsdatei anzulegen (--usage gibt mehr Optionen).
use --install to install egroupware. setup de Benutzen Sie --install um eGroupWare zu instalieren.
use --update to do so. setup de Benutzen Sie --update dafür.
use cookies to pass sessionid setup de SitzungsId in einem Cookie speichern
use mcrypt to crypt session-data: {off(default) | on},[mcrypt-init-vector(default randomly generated)],[mcrypt-version] setup de benutze mcrypt zur Verschlüselung der Sitzungsdaten: {off(Vorgabe) | on},[mcrypt Initialisierung(Vorgabe ist zufällig erzeugt)],[mcrypt Version]
use persistent db connections: {on(default) | off} setup de benutze permanente Datenbankverbindung: {on(Vorgabe) | off}
use pure html compliant code (not fully working yet) setup de Vollständig HTML kompatiblen Code verwenden (nicht vollständig implementiert)
user account prefix setup de Präfix für Benutzernamen
user for smtp-authentication (leave it empty if no auth required) setup de Benutzer für SMTP-Authentifizierung (leer lassen wenn keine notwendig ist)
@ -535,6 +596,7 @@ you appear to have xml support enabled setup de Sie scheinen XML Unterst
you are ready for this stage, but this stage is not yet written.<br /> setup de Sie sind bereit für diesen Schritt, aber dieser Abschnitt wurde noch nicht geschrieben.<br />
you are using php version %1. egroupware now requires %2 or later, recommended is php %3. setup de Sie benutzen die PHP Version %1. eGroupWare benötigt mindestens die Version %2, empfohlen ist PHP %3.
you can install it by running: setup de Installation durch ausführen von:
you can use the header user and password for every domain too. if the password is not set via the commandline, it is read from the enviroment variable egw_cli_password or queried from the user. setup de Sie können den Benutzer und das Passwort der Headerverwaltung auch für jede Domain verwenden. Wenn das Passwort nicht in der Komandozeile angegeben wurde, wird es aus der Umgebungsvariable EGW_CLI_PASSWORD gelesen oder vom Benutzer abgefragt.
you didn't enter a config password for domain %1 setup de Sie haben kein Passwort für die Domain %1 angegeben
you didn't enter a config username for domain %1 setup de Sie haben keinen Benutzernamen für die Domain %1 angegeben
you didn't enter a header admin password setup de Sie haben kein Passwort für die Headerverwaltung eingegeben
@ -544,6 +606,9 @@ you have not created your header.inc.php yet!<br /> you can create it now. setup
you have successfully logged out setup de Sie haben sich erfolgreich abgemeldet.
you must enter a username for the admin setup de Sie müssen einen Benutzernamen für den Administrator eingeben!
you need to add at least one egroupware domain / database instance. setup de Sie müssen mindestens eine eGroupWare Domain / Datenbank Instanz hinzufügen.
you need to add some domains to your header.inc.php. setup de Sie müssen eine Domain zu ihrer header.inc.php hinzufügen.
you need to configure egroupware: setup de Sie müssen eGroupWare konfigurieren:
you need to fix the above errors, before the configuration file header.inc.php can be written! setup de Sie müssen die obigen Fehler beheben, bevor die Konfigurationsdatei header.inc.php gespeichert werden kann!
you need to select your current charset! setup de Sie müssen Ihren aktuellen Zeichensatz auswählen!
you should either uninstall and then reinstall it, or attempt manual repairs setup de Sie sollten entweder de- und neuinstallieren, oder manuelle Reparaturen versuchen
you will need to load the proper schema into your ldap server - see phpgwapi/doc/ldap/readme setup de Sie müssen das notwendige phpgwAccounts Schema auf Ihrem LDAP Server installieren - siehe <a href="../phpgwapi/doc/ldap/README" target="_blank">phpgwapi/doc/ldap/README</a>.
@ -563,3 +628,5 @@ your php installation does not have appropriate gd support. you need gd library
your tables are current setup de Ihre Tabellen sind aktuell
your tables will be dropped and you will lose data setup de Ihre Tabellen werden gelöscht werden und Sie werden alle Daten verlieren!
your temporary directory '%1' %2 setup de Ihr temporäres Verzeichnis '%1' %2
{db | php(default) | php-restore} setup de {db | php(Vorgabe) | php-restore}
{off(default) | on} setup de {off(Vorgabe) | on}

View File

@ -2,6 +2,7 @@
%1 does not exist !!! setup en %1 does not exist !!!
%1 is %2%3 !!! setup en %1 is %2%3 !!!
%1, %2 or %3 the configuration file. setup en %1, %2 or %3 the configuration file.
'%1' is not allowed as %2. arguments of option %3 !!! setup en '%1' is not allowed as %2. arguments of option %3 !!!
(searching accounts and changing passwords) setup en (searching accounts and changing passwords)
*** do not update your database via setup, as the update might be interrupted by the max_execution_time, which leaves your db in an unrecoverable state (your data is lost) !!! setup en *** Do NOT update your database via setup, as the update might be interrupted by the max_execution_time, which leaves your DB in an unrecoverable state (your data is lost) !!!
*** you have to do the changes manualy in your php.ini (usualy in /etc on linux) in order to get egw fully working !!! setup en *** You have to do the changes manualy in your php.ini (usualy in /etc on linux) in order to get eGW fully working !!!
@ -10,12 +11,20 @@
80 (http) setup en 80 (http)
<b>charset to use</b> (use utf-8 if you plan to use languages with different charsets): setup en <b>charset to use</b> (use utf-8 if you plan to use languages with different charsets):
<b>this will create 1 admin account and 3 demo accounts</b><br />the username/passwords are: demo/guest, demo2/guest and demo3/guest. setup en <b>This will create 1 admin account and 3 demo accounts</b><br />The username/passwords are: demo/guest, demo2/guest and demo3/guest.
[header-password],[header-user],[new-password],[new-user] setup en [header-password],[header-user],[new-password],[new-user]
access denied: wrong username or password for manage-header !!! setup en Access denied: wrong username or password for manage-header !!!
access denied: wrong username or password to configure the domain '%1(%2)' !!! setup en Access denied: wrong username or password to configure the domain '%1(%2)' !!!
accounts existing setup en Accounts existing
actions setup en Actions
activate safe password check setup en Activate safe password check
add auto-created users to this group ('default' will be attempted if this is empty.) setup en Add auto-created users to this group ('Default' will be attempted if this is empty.)
add new database instance (egw domain) setup en Add new database instance (eGW domain)
add or edit a domain: [domain-name(default)],[db-name(egroupware)],[db-user(egroupware)],db-password,[db-type(mysql)],[db-host(localhost)],[db-port(db specific)],[config-user(as header)],[config-passwd(as header)] setup en add or edit a domain: [domain-name(default)],[db-name(egroupware)],[db-user(egroupware)],db-password,[db-type(mysql)],[db-host(localhost)],[db-port(db specific)],[config-user(as header)],[config-passwd(as header)]
adding, editing or deleting an egroupware domain / database instance: setup en Adding, editing or deleting an eGroupWare domain / database instance:
additional options and there defaults (in brackets) setup en Additional options and there defaults (in brackets)
additional settings setup en Additional settings
admin account successful created. setup en Admin account successful created.
admin email address setup en Admin email address
admin first name setup en Admin first name
admin last name setup en Admin last name
admin password setup en Admin password
@ -27,6 +36,7 @@ after backing up your tables first. setup en After backing up your tables first.
after retrieving the file, put it into place as the header.inc.php. then, click "continue". setup en After retrieving the file, put it into place as the header.inc.php. Then, click "continue".
all applications setup en all applications
all core tables and the admin and preferences applications setup en all core tables and the admin and preferences applications
all exit codes of the command line interface setup en all exit codes of the command line interface
all languages (incl. not listed ones) setup en all languages (incl. not listed ones)
all users setup en All Users
allow authentication via cookie setup en Allow authentication via cookie
@ -34,6 +44,7 @@ allow password migration setup en Allow password migration
allowed migration types (comma-separated) setup en Allowed migration types (comma-separated)
alternatively domains can be accessed by logging in with <i>username@domain</i>. setup en Alternatively domains can be accessed by logging in with <i>username@domain</i>.
analysis setup en Analysis
and is up to date setup en and is up to date
and reload your webserver, so the above changes take effect !!! setup en AND reload your webserver, so the above changes take effect !!!
app details setup en App details
app install/remove/upgrade setup en App install/remove/upgrade
@ -70,6 +81,7 @@ backup failed setup en Backup failed
backup finished setup en backup finished
backup now setup en backup now
backup sets setup en backup sets
backup skipped! setup en Backup skipped!
backup started, this might take a view minutes ... setup en backup started, this might take a view minutes ...
because an application it depends upon was upgraded setup en because an application it depends upon was upgraded
because it depends upon setup en because it depends upon
@ -86,6 +98,7 @@ cannot create the header.inc.php due to file permission restrictions.<br /> inst
change system-charset setup en Change system-charset
charset setup en ISO-8859-1
charset to convert to setup en Charset to convert to
charsets used by the different languages setup en charsets used by the different languages
check can only be performed, if called via a webserver, as the user-id/-name of the webserver is not known. setup en Check can only be performed, if called via a webserver, as the user-id/-name of the webserver is not known.
check installation setup en Check installation
check ip address of all sessions setup en check ip address of all sessions
@ -96,14 +109,17 @@ checking pear%1 is installed setup en Checking PEAR%1 is installed
checking php.ini setup en Checking php.ini
checking required php version %1 (recommended %2) setup en Checking required PHP version %1 (recommended %2)
checking the egroupware installation setup en Checking the eGroupWare Installation
checks egroupware's installed, it's versions and necessary upgrads (return values see --exit-codes) setup en checks eGroupWare's installed, it's versions and necessary upgrads (return values see --exit-codes)
click <a href="index.php">here</a> to return to setup. setup en click <a href="index.php">here</a> to return to setup.
click here setup en Click Here
click here to re-run the installation tests setup en Click here to re-run the installation tests
comma separated ip-addresses or host-names, default access to setup from everywhere setup en comma separated ip-addresses or host-names, default access to setup from everywhere
completed setup en Completed
config password setup en Config Password
config username setup en Config Username
configuration setup en Configuration
configuration completed setup en Configuration completed
configuration errors: setup en Configuration errors:
configuration password setup en Configuration Password
configuration user setup en Configuration User
configure now setup en Configure Now
@ -121,11 +137,13 @@ create admin account setup en Create admin account
create database setup en Create Database
create demo accounts setup en Create demo accounts
create one now setup en Create one now
create or edit the egroupware configuration file: header.inc.php: setup en Create or edit the eGroupWare configuration file: header.inc.php:
create the empty database - setup en Create the empty database -
create the empty database and grant user permissions - setup en Create the empty database and grant user permissions -
create your header.inc.php setup en Create your header.inc.php
created setup en created
created header.inc.php! setup en Created header.inc.php!
creates an admin user: domain(default),[config user(admin)],password,username,password,[first name],[last name],[email] setup en creates an admin user: domain(default),[config user(admin)],password,username,password,[first name],[last name],[email]
creating tables setup en Creating Tables
current system-charset setup en Current system-charset
current system-charset is %1. setup en Current system-charset is %1.
@ -133,6 +151,7 @@ current version setup en Current Version
currently installed languages: %1 <br /> setup en Currently installed languages: %1 <br />
database setup en Database
database instance (egw domain) setup en Database instance (eGW domain)
database is version %1 and up to date. setup en database is version %1 and up to date.
database successfully converted from '%1' to '%2' setup en Database successfully converted from '%1' to '%2'
datetime port.<br />if using port 13, please set firewall rules appropriately before submitting this page.<br />(port: 13 / host: 129.6.15.28) setup en Datetime port.<br />If using port 13, please set firewall rules appropriately before submitting this page.<br />(Port: 13 / Host: 129.6.15.28)
day setup en day
@ -165,14 +184,28 @@ do you want persistent connections (higher performance, but consumes more resour
do you want to manage homedirectory and loginshell attributes? setup en Do you want to manage homedirectory and loginshell attributes?
does not exist setup en does not exist
domain setup en Domain
domain '%1' does not exist !!! setup en Domain '%1' does NOT exist !!!
domain name setup en Domain name
domain select box on login setup en Domain select box on login
domain(all),[config user(admin)],password,[file-name(default: backup-dir/db_backup-yyyymmddhhii)] setup en domain(all),[config user(admin)],password,[file-name(default: backup-dir/db_backup-YYYYMMDDHHii)]
domain(default),[config user(admin)],password,[backup to install],[charset(default depends on language)] setup en domain(default),[config user(admin)],password,[backup to install],[charset(default depends on language)]
domain(default),[config user(admin)],password,[name=value,...] sets config values beside: setup en domain(default),[config user(admin)],password,[name=value,...] sets config values beside:
domain-name setup en domain-name
dont touch my data setup en Dont touch my data
download setup en Download
edit current configuration setup en Edit Current Configuration
edit your existing header.inc.php setup en Edit your existing header.inc.php
edit your header.inc.php setup en Edit your header.inc.php
eg. /egroupware or http://domain.com/egroupware, default: %1 setup en eg. /egroupware or http://domain.com/egroupware, default: %1
egroupware administration manual setup en eGroupWare Administration Manual
egroupware api needs a database (schema) update from version %1 to %2! setup en eGroupWare API needs a database (schema) update from version %1 to %2!
egroupware api version %1 found. setup en eGroupWare API version %1 found.
egroupware configuration file (header.inc.php) does not exist. setup en eGroupWare configuration file (header.inc.php) does NOT exist.
egroupware configuration file (header.inc.php) version %1 exists%2 setup en eGroupWare configuration file (header.inc.php) version %1 exists%2
egroupware configuration file header.inc.php already exists, you need to use --edit-header or delete it first! setup en eGroupWare configuration file header.inc.php already exists, you need to use --edit-header or delete it first!
egroupware domain/instance %1(%2): setup en eGroupWare domain/instance %1(%2):
egroupware is already installed! setup en eGroupWare is already installed!
egroupware sources in '%1' are not complete, file '%2' missing !!! setup en eGroupWare sources in '%1' are not complete, file '%2' missing !!!
enable for extra debug-messages setup en enable for extra debug-messages
enable ldap version 3 setup en Enable LDAP Version 3
enable mcrypt setup en Enable MCrypt
@ -196,6 +229,7 @@ error in group-creation !!! setup en Error in group-creation !!!
export egroupware accounts from sql to ldap setup en Export eGroupWare accounts from SQL to LDAP
export has been completed! you will need to set the user passwords manually. setup en Export has been completed! You will need to set the user passwords manually.
export sql users to ldap setup en Export SQL users to LDAP
failed writing configuration file header.inc.php, check the permissions !!! setup en Failed writing configuration file header.inc.php, check the permissions !!!
false setup en False
file setup en FILE
file type, size, version, etc. setup en file type, size, version, etc.
@ -212,10 +246,14 @@ has a version mismatch setup en has a version mismatch
header admin login setup en Header Admin Login
header password setup en Header Password
header username setup en Header Username
header-password[,header-user(admin)] setup en header-password[,header-user(admin)]
header.inc.php successful written. setup en header.inc.php successful written.
historylog removed setup en Historylog removed
hooks deregistered setup en hooks deregistered
hooks registered setup en hooks registered
host information setup en Host information
host,[smtp port],[smtp user],[smtp password] setup en host,[smtp port],[smtp user],[smtp password]
host,{imap | pop3 | imaps | pop3s},[domain],[{standard(default)|vmailmgr = add domain for mailserver login}] setup en host,{imap | pop3 | imaps | pop3s},[domain],[{standard(default)|vmailmgr = add domain for mailserver login}]
host/ip domain controler setup en Host/IP Domain controler
hostname/ip of database server setup en Hostname/IP of database server
hour (0-24) setup en hour (0-24)
@ -243,6 +281,9 @@ install all setup en Install All
install applications setup en Install Applications
install backup setup en install backup
install language setup en Install Language
install or update translations: domain(all),[config user(admin)],password,[[+]lang1[,lang2,...]] + adds, no langs update existing ones setup en install or update translations: domain(all),[config user(admin)],password,[[+]lang1[,lang2,...]] + adds, no langs update existing ones
installation finished setup en Installation finished
installation started, this might take a view minutes ... setup en Installation started, this might take a view minutes ...
installed setup en installed
instructions for creating the database in %1: setup en Instructions for creating the database in %1:
invalid ip address setup en Invalid IP address
@ -252,6 +293,8 @@ is broken setup en is broken
is disabled setup en is disabled
is in the webservers docroot setup en is in the webservers docroot
is not writeable by the webserver setup en is not writeable by the webserver
it needs upgrading to version %1! use --update-header <password>[,<user>] to do so (--usage gives more options). setup en It needs upgrading to version %1! Use --update-header <password>[,<user>] to do so (--usage gives more options).
languages updated. setup en Languages updated.
ldap account import/export setup en LDAP account import/export
ldap accounts configuration setup en LDAP Accounts Configuration
ldap accounts context setup en LDAP accounts context
@ -272,6 +315,8 @@ ldap search filter for accounts, default: "(uid=%user)", %domain=egw-domain setu
leave empty to keep current. setup en Leave empty to keep current.
limit access setup en Limit access
limit access to setup to the following addresses, networks or hostnames (e.g. 127.0.0.1,10.1.1,myhost.dnydns.org) setup en Limit access to setup to the following addresses, networks or hostnames (e.g. 127.0.0.1,10.1.1,myhost.dnydns.org)
list availible values: setup en List availible values:
list of availible translations setup en list of availible translations
login as user postgres, eg. by using su as root setup en Login as user postgres, eg. by using su as root
login to mysql - setup en Login to mysql -
loginname needed for domain configuration setup en Loginname needed for domain configuration
@ -309,7 +354,10 @@ no setup en No
no %1 support found. disabling setup en No %1 support found. Disabling
no accounts existing setup en No accounts existing
no algorithms available setup en no algorithms available
no egroupware domains / database instances exist! use --edit-header --domain to add one (--usage gives more options). setup en No eGroupWare domains / database instances exist! Use --edit-header --domain to add one (--usage gives more options).
no header admin password set! use --edit-header <password>[,<user>] to set one (--usage gives more options). setup en No header admin password set! Use --edit-header <password>[,<user>] to set one (--usage gives more options).
no modes available setup en no modes available
no update necessary, domain %1(%2) is up to date. setup en No update necessary, domain %1(%2) is up to date.
no xml support found. disabling setup en No XML support found. Disabling
not setup en not
not all mcrypt algorithms and modes work with egroupware. if you experience problems try switching it off. setup en Not all mcrypt algorithms and modes work with eGroupWare. If you experience problems try switching it off.
@ -337,7 +385,9 @@ password of db user setup en Password of db user
passwords did not match, please re-enter setup en Passwords did not match, please re-enter
path (not url!) to your egroupware installation. setup en Path (not URL!) to your eGroupWare installation.
path information setup en Path information
path of egroupware install directory (default auto-detected) setup en path of eGroupWare install directory (default auto-detected)
path to user and group files has to be outside of the webservers document-root!!! setup en Path to user and group files HAS TO BE OUTSIDE of the webservers document-root!!!
path to various directories: have to exist and be writeable by the webserver setup en path to various directories: have to exist and be writeable by the webserver
pear is needed by syncml or the ical import+export of calendar. setup en PEAR is needed by SyncML or the iCal import+export of calendar.
pear::log is needed by syncml. setup en PEAR::Log is needed by SyncML.
persistent connections setup en Persistent connections
@ -384,6 +434,7 @@ restore finished setup en restore finished
restore started, this might take a view minutes ... setup en restore started, this might take a view minutes ...
restoring a backup will delete/replace all content in your database. are you sure? setup en Restoring a backup will delete/replace all content in your database. Are you sure?
return to setup setup en Return to Setup
run a database schema update (if necessary): domain(all),[config user(admin)],password setup en run a database schema update (if necessary): domain(all),[config user(admin)],password
run installation tests setup en Run installation tests
safe_mode is turned on, which is generaly a good thing as it makes your install more secure. setup en safe_mode is turned on, which is generaly a good thing as it makes your install more secure.
sample configuration not found. using built in defaults setup en Sample configuration not found. using built in defaults
@ -434,6 +485,8 @@ sql encryption type setup en SQL encryption type for passwords (default - md5)
standard (login-name identical to egroupware user-name) setup en standard (login-name identical to eGroupWare user-name)
standard mailserver settings (used for mail authentication too) setup en Standard mailserver settings (used for Mail authentication too)
start the postmaster setup en Start the postmaster
start updating languages %1 ... setup en Start updating languages %1 ...
start updating the database ... setup en Start updating the database ...
status setup en Status
step %1 - admin account setup en Step %1 - Admin Account
step %1 - advanced application management setup en Step %1 - Advanced Application Management
@ -487,6 +540,8 @@ unfortunally some php/apache packages have problems with it (apache dies and you
uninstall setup en uninstall
uninstall all applications setup en Uninstall all applications
uninstalled setup en uninstalled
unknow option '%1' !!! setup en Unknow option '%1' !!!
update finished. setup en Update finished.
upgrade setup en Upgrade
upgrade all setup en Upgrade All
upgraded setup en upgraded
@ -494,7 +549,13 @@ upgrading tables setup en Upgrading Tables
upload backup setup en upload backup
uploads a backup and installs it on your db setup en uploads a backup and installs it on your DB
uploads a backup to the backup-dir, from where you can restore it setup en uploads a backup to the backup-dir, from where you can restore it
usage: %1 command [additional options] setup en Usage: %1 command [additional options]
use --create-header to create the configuration file (--usage gives more options). setup en Use --create-header to create the configuration file (--usage gives more options).
use --install to install egroupware. setup en Use --install to install eGroupWare.
use --update to do so. setup en Use --update to do so.
use cookies to pass sessionid setup en Use cookies to pass sessionid
use mcrypt to crypt session-data: {off(default) | on},[mcrypt-init-vector(default randomly generated)],[mcrypt-version] setup en use mcrypt to crypt session-data: {off(default) | on},[mcrypt-init-vector(default randomly generated)],[mcrypt-version]
use persistent db connections: {on(default) | off} setup en use persistent db connections: {on(default) | off}
use pure html compliant code (not fully working yet) setup en Use pure HTML compliant code (not fully working yet)
user account prefix setup en User account prefix
user for smtp-authentication (leave it empty if no auth required) setup en User for SMTP-authentication (leave it empty if no auth required)
@ -533,6 +594,7 @@ you appear to have xml support enabled setup en You appear to have XML support e
you are ready for this stage, but this stage is not yet written.<br /> setup en You are ready for this stage, but this stage is not yet written.<br />
you are using php version %1. egroupware now requires %2 or later, recommended is php %3. setup en You are using PHP version %1. eGroupWare now requires %2 or later, recommended is PHP %3.
you can install it by running: setup en You can install it by running:
you can use the header user and password for every domain too. if the password is not set via the commandline, it is read from the enviroment variable egw_cli_password or queried from the user. setup en You can use the header user and password for every domain too. If the password is not set via the commandline, it is read from the enviroment variable EGW_CLI_PASSWORD or queried from the user.
you didn't enter a config password for domain %1 setup en You didn't enter a config password for domain %1
you didn't enter a config username for domain %1 setup en You didn't enter a config username for domain %1
you didn't enter a header admin password setup en You didn't enter a header admin password
@ -542,6 +604,9 @@ you have not created your header.inc.php yet!<br /> you can create it now. setup
you have successfully logged out setup en You have successfully logged out
you must enter a username for the admin setup en You must enter a username for the admin
you need to add at least one egroupware domain / database instance. setup en You need to add at least one eGroupWare domain / database instance.
you need to add some domains to your header.inc.php. setup en You need to add some domains to your header.inc.php.
you need to configure egroupware: setup en You need to configure eGroupWare:
you need to fix the above errors, before the configuration file header.inc.php can be written! setup en You need to fix the above errors, before the configuration file header.inc.php can be written!
you need to select your current charset! setup en You need to select your current charset!
you should either uninstall and then reinstall it, or attempt manual repairs setup en You should either uninstall and then reinstall it, or attempt manual repairs
you will need to load the proper schema into your ldap server - see phpgwapi/doc/ldap/readme setup en You will need to load the proper schema into your ldap server - see phpgwapi/doc/ldap/README
@ -561,3 +626,5 @@ your php installation does not have appropriate gd support. you need gd library
your tables are current setup en Your tables are current
your tables will be dropped and you will lose data setup en Your tables will be dropped and you will lose data !!
your temporary directory '%1' %2 setup en Your temporary directory '%1' %2
{db | php(default) | php-restore} setup en {db | php(default) | php-restore}
{off(default) | on} setup en {off(default) | on}

View File

@ -25,7 +25,7 @@ else
}
// setting the language from the enviroment
$_POST['ConfigLang'] = get_lang();
$_POST['ConfigLang'] = get_lang($charset);
create_http_enviroment(); // guessing the docroot etc.
// setting up the $GLOBALS['egw_setup'] object AND including the header.inc.php if it exists
@ -36,6 +36,7 @@ $GLOBALS['egw_info'] = array(
));
include('inc/functions.inc.php');
$GLOBALS['egw_setup']->translation->no_translation_marker = '';
$GLOBALS['egw_setup']->system_charset = $charset;
if ((float) PHP_VERSION < $GLOBALS['egw_setup']->required_php_version)
{
@ -216,10 +217,10 @@ function do_backup($arg,$quite_check=false)
$db_backup =& CreateObject('phpgwapi.db_backup');
if (is_resource($f = $db_backup->fopen_backup($backup)))
{
echo lang('backup started, this might take a view minutes ...')."\n";
echo lang('Backup started, this might take a view minutes ...')."\n";
$db_backup->backup($f);
fclose($f);
echo lang('backup finished')."\n";
echo lang('Backup finished')."\n";
}
else // backup failed ==> dont start the upgrade
{
@ -258,7 +259,7 @@ function do_update($arg)
}
else
{
echo lang('Starting update ...')."\n";
echo lang('Start updating the database ...')."\n";
do_backup($arg,true);
@ -320,14 +321,17 @@ function do_lang($arg)
$langs = array_unique($langs);
echo lang('Start updating languages %1 ...',implode(',',$langs))."\n";
$GLOBALS['egw_setup']->translation->sql->install_langs($langs);
echo lang('languages updated.')."\n";
echo lang('Languages updated.')."\n";
}
}
/**
* Check if eGW is installed according to $stop and we have the necessary authorization for config
*
* We allow the config user/pw of the domain or the header admin user/pw!
* The password can be specified as parameter, via the enviroment variable EGW_CLI_PASSWORD or
* querier from the user. Specifying it as parameter can be security problem!
*
* We allow the config user/pw of the domain OR the header admin user/pw!
*
* @param string $arg [domain(default)],[user(admin)],password
* @param int $stop see do_check()
@ -338,13 +342,22 @@ function _check_auth_config($arg,$stop=15)
$options = explode(',',$arg);
if (!($domain = array_shift($options))) $domain = 'default';
if (!($user = array_shift($options))) $user = 'admin';
$password = array_shift($options);
if (!($password = array_shift($options)))
{
if (!($password = $_SERVER['EGW_CLI_PASSWORD']))
{
echo lang('Config password').' ';
$password = trim(fgets($f = fopen('php://stdin','rb')));
fclose($f);
}
}
do_check($domain,$stop); // check if eGW is installed
//echo "check_auth('$user','$password','{$GLOBALS['egw_domain'][$domain]['config_user']}','{$GLOBALS['egw_domain'][$domain]['config_passwd']}')\n";
if (!$GLOBALS['egw_setup']->check_auth($user,$password,$GLOBALS['egw_domain'][$domain]['config_user'],
$GLOBALS['egw_domain'][$domain]['config_passwd']))
$GLOBALS['egw_domain'][$domain]['config_passwd']) &&
!$GLOBALS['egw_setup']->check_auth($user,$password,$GLOBALS['egw_domain'][$domain]['header_admin_user'],
$GLOBALS['egw_domain'][$domain]['header_admin_password']))
{
fail(40,lang("Access denied: wrong username or password to configure the domain '%1(%2)' !!!",$domain,$GLOBALS['egw_domain'][$domain]['db_type']));
}
@ -354,19 +367,17 @@ function _check_auth_config($arg,$stop=15)
/**
* Install eGroupWare
*
* @param string $args domain,[backup-file],[charset]
* @param string $args domain,[config user(admin)],password,[backup-file],[charset]
*/
function do_install($args)
{
global $setup_info;
list($domain,$backup,$charset) = explode(',',$args);
list($domain,,,$backup,$charset) = explode(',',$args);
if (!$domain) $domain = 'default';
if (!do_check($domain,13)) // check and fail if we have no working db
{
fail(30,lang('eGroupWare is already installed!'));
}
$options = _check_auth_config($args,array(13,14,20));
// use uploaded backup, instead installing from scratch
if ($backup)
{
@ -383,6 +394,10 @@ function do_install($args)
}
else
{
if ($GLOBALS['egw_info']['setup']['stage']['db'] != 3)
{
fail(30,lang('eGroupWare is already installed!'));
}
if (!$charset) $charset = $GLOBALS['egw_setup']->translation->langarray['charset'];
$setup_info = $GLOBALS['egw_setup']->detection->upgrade_exclude($setup_info);
@ -401,13 +416,15 @@ function do_install($args)
* Check if eGW is installed, which versions and if an update is needed
*
* @param string $domain='' domain to check, default '' = all
* @param int $stop=0 stop checks before given exit-code, defaul 0 = all checks
* @param int/array $stop=0 stop checks before given exit-code(s), default 0 = all checks
*/
function do_check($domain='',$stop=0)
{
global $setup_info;
static $header_checks=true; // output the header checks only once
if ($stop && !is_array($stop)) $stop = array($stop);
$versions =& $GLOBALS['egw_info']['server']['versions'];
if (!$versions['phpgwapi'])
@ -424,7 +441,7 @@ function do_check($domain='',$stop=0)
echo lang('eGroupWare API version %1 found.',$versions['phpgwapi'])."\n";
}
$header_stage = $GLOBALS['egw_setup']->detection->check_header();
if ($stop && $header_stage == $stop) return true;
if ($stop && in_array($header_stage,$stop)) return true;
switch ($header_stage)
{
@ -471,13 +488,13 @@ function do_check($domain='',$stop=0)
$setup_info = $GLOBALS['egw_setup']->detection->get_db_versions($setup_info);
$db_stage = $GLOBALS['egw_setup']->detection->check_db($setup_info);
}
if ($stop && 10+$db_stage == $stop) return true;
if ($stop && in_array(10+$db_stage,$stop)) return true;
switch($db_stage)
{
case 1: fail(11,lang('Your Database is not working!')." $db: ".$GLOBALS['egw_setup']->db->Error);
case 3: fail(13,lang('Your database is working, ibut you dont have any applications installed')." ($db). ".lang("Use --install to install eGroupWare."));
case 3: fail(13,lang('Your database is working, but you dont have any applications installed')." ($db). ".lang("Use --install to install eGroupWare."));
case 4: fail(14,lang('eGroupWare API needs a database (schema) update from version %1 to %2!',$setup_info['phpgwapi']['currentver'],$versions['phpgwapi']).' '.lang('Use --update to do so.'));
@ -493,7 +510,7 @@ function do_check($domain='',$stop=0)
if ($apps_to_upgrade)
{
$db_stage = 4;
if ($stop && 10+$db_stage == $stop) return true;
if ($stop && in_array(10+$db_stage,$stop)) return true;
fail(14,lang('The following applications need to be upgraded:').' '.implode(', ',$apps_to_upgrade).'! '.lang('Use --update to do so.'));
}
break;
@ -531,14 +548,21 @@ function do_header($create,&$arguments)
{
if ($create) fail(20,lang('eGroupWare configuration file header.inc.php already exists, you need to use --edit-header or delete it first!'));
// header.inc.php is already include by include('inc/functions.inc.php')!
unset($GLOBALS['egw_info']['flags']);
// check header-admin-user and -password (only if a password is set!)
if ($GLOBALS['egw_info']['server']['header_admin_password'])
{
@list($password,$user) = explode(',',@$arguments[0]);
@list($password,$user) = $options = explode(',',@$arguments[0]);
if (!$user) $user = 'admin';
if (!$password && !($password = $_SERVER['EGW_CLI_PASSWORD']))
{
echo lang('Admin password to header manager').' ';
$password = trim(fgets($f = fopen('php://stdin','rb')));
fclose($f);
}
$options[0] = $user;
$options[1] = $password;
$arguments[0] = implode(',',$options);
if (!$GLOBALS['egw_setup']->check_auth($user,$password,$GLOBALS['egw_info']['server']['header_admin_user'],
$GLOBALS['egw_info']['server']['header_admin_password']))
{
@ -658,6 +682,7 @@ function do_header($create,&$arguments)
}
if (($errors = $GLOBALS['egw_setup']->header->validation_errors($GLOBALS['egw_info']['server']['server_root'],$GLOBALS['egw_info']['server']['include_root'])))
{
unset($GLOBALS['egw_info']['flags']);
echo '$GLOBALS[egw_info] = '; print_r($GLOBALS['egw_info']);
echo '$GLOBALS[egw_domain] = '; print_r($GLOBALS['egw_domain']);
echo "\n".lang('Configuration errors:')."\n- ".implode("\n- ",$errors)."\n";
@ -704,13 +729,13 @@ function _set_value(&$arr,$index,$name,$value)
/**
* Reads the users language from the enviroment
*
* @param string &$charset charset set in LANG enviroment variable or the default utf-8
* @return string 2 or 5 digit language code used in eGW
*/
function get_lang()
function get_lang(&$charset)
{
list($lang,$nation,$charset) = split("[_.]",$_SERVER['LANG']);
$nation = strtolower($nation);
list($lang,$nation,$charset) = split("[_.]",strtolower($_SERVER['LANG']));
foreach(file('lang/languages') as $line)
{
list($code,$language) = explode("\t",$line);
@ -748,31 +773,32 @@ function create_http_enviroment()
*/
function do_usage()
{
echo lang('Usage: %1 {--check|--create-header|--edit-header|--install|--config|--admin|--language|--backup|--update} [additional options]',basename($_SERVER['argv'][0]))."\n\n";
echo lang('Usage: %1 command [additional options]',basename($_SERVER['argv'][0]))."\n\n";
echo '--check '.lang('checks eGroupWare\'s installed, it\'s versions and necessary upgrads (return values see --exit-codes)')."\n";
echo '--install '.lang('domain(default),[backup to install],[charset(default depends on language)]')."\n";
echo '--config '.lang('domain(default),[config user(admin)],password,[,name=value,...] sets config values beside:')."\n";
echo '--install '.lang('domain(default),[config user(admin)],password,[backup to install],[charset(default depends on language)]')."\n";
echo '--config '.lang('domain(default),[config user(admin)],password,[name=value,...] sets config values beside:')."\n";
echo ' --files-dir, --backup-dir, --temp-dir '.lang('path to various directories: have to exist and be writeable by the webserver')."\n";
echo ' --webserver-url '.lang('eg. /egroupware or http://domain.com/egroupware, default: %1',str_replace('/setup/setup-cli.php','',$_SERVER['PHP_SELF']))."\n";
echo ' --mailserver '.lang('host,{imap|pop3|imaps|pop3s},[domain],[{standard(default)|vmailmgr = add domain for mailserver login}]')."\n";
echo ' --mailserver '.lang('host,{imap | pop3 | imaps | pop3s},[domain],[{standard(default)|vmailmgr = add domain for mailserver login}]')."\n";
echo ' --smtpserver '.lang('host,[smtp port],[smtp user],[smtp password]')."\n";
echo '--admin '.lang('creates an admin user: domain(default),[config user(admin)],password,username,password,[first name],[last name],[email]')."\n";
echo '--language '.lang('install or update translations: domain(all),[config user(admin)],password,[[+]lang1[,lang2,...]] + adds, no langs update existing ones')."\n";
echo '--backup '.lang('domain(all),[config user(admin)],password,[file-name(default: backup-dir/db_backup-YYYYMMDDHHii)]')."\n";
echo '--update '.lang('run a database schema update (if necessary): domain(all),[config user(admin)],password')."\n";
echo lang('You can use the header user and password for every domain too. If the password is not set via the commandline, it is read from the enviroment variable EGW_CLI_PASSWORD or queried from the user.')."\n";
echo "\n".lang('Create or edit the eGroupWare configuration file: header.inc.php:')."\n";
echo '--create-header '.lang('header-password[,header-user(admin)]')."\n";
echo '--edit-header '.lang('[header-password],[header-user],[new-password],[new-user]')."\n";
echo "\n".lang('Additional options and there defaults (int brackets)')."\n";
echo "\n".lang('Additional options and there defaults (in brackets)')."\n";
echo '--server-root '.lang('path of eGroupWare install directory (default auto-detected)')."\n";
echo '--session-type '.lang('{db|php(default)|php-restore}')."\n";
echo '--session-type '.lang('{db | php(default) | php-restore}')."\n";
echo '--limit-access '.lang('comma separated ip-addresses or host-names, default access to setup from everywhere')."\n";
echo '--mcrypt '.lang('use mcrypt to crypt session-data: {off(default)|on},[mcrypt-init-vector(default randomly generated)],[mcrypt-version]')."\n";
echo '--db-persistent '.lang('use persistent db connections: {on(default)|off}')."\n";
echo '--domain-selectbox '.lang('{off(default)|on}')."\n";
echo '--mcrypt '.lang('use mcrypt to crypt session-data: {off(default) | on},[mcrypt-init-vector(default randomly generated)],[mcrypt-version]')."\n";
echo '--db-persistent '.lang('use persistent db connections: {on(default) | off}')."\n";
echo '--domain-selectbox '.lang('{off(default) | on}')."\n";
echo "\n".lang('Adding, editing or deleting an eGroupWare domain / database instance:')."\n";
echo '--domain '.lang('add or edit a domain: [domain-name(default)],[db-name(egroupware)],[db-user(egroupware)],db-password,[db-type(mysql)],[db-host(localhost)],[db-port(db specific)],[config-user(as header)],[config-passwd(as header)]')."\n";