Ralf Becker
3248e82d65
* Setup: skip files backup on update even if configured
...
It might takes the server down for hours and updates usually dont affect the files
2021-05-27 08:49:20 +02:00
Ralf Becker
7496fbb66e
remove quotes from arguments eg. 'db_host=db', in case it does not happen by shell (eg. debuging in Netbeans)
2019-08-18 12:51:41 +02:00
Ralf Becker
d084bd0679
fix --exit-codes did not found (now used) exceptions
2019-02-23 12:13:26 +01:00
Hadi Nategh
49abce8235
Fix wrongly spelled EGroupware name
2018-04-11 15:13:39 +02:00
Ralf Becker
9746e1533e
remove (not supported) parameters after #!/usr/bin/env php
2017-06-07 15:08:30 +02:00
Ralf Becker
956b1f139e
using "#!/usr/bin/env php -qC" for setup-cli.php
2016-06-02 12:34:51 +02:00
Ralf Becker
9abc9beb0f
switch verbose off, when installing single apps, as it's diagnostics probably look like a bug to most
2016-05-28 13:55:08 +02:00
Ralf Becker
cb3248a4e6
fix failed package install without phpgwapi installed
2016-05-26 10:46:40 +02:00
Ralf Becker
1b32000d4d
fix old class-name db_backup giving error in setup-cli
2016-05-25 21:41:50 +02:00
Ralf Becker
ca2ffb6aea
using new api for setup
2016-05-01 15:56:49 +00:00
Ralf Becker
00abda4682
moving emailadmin to api and admin, only emailadmin_hooks and tables still need moving
2016-03-28 18:51:38 +00:00
Ralf Becker
328712af0d
fix not working setup/setup-cli.php --setup-cmd-ldap <domain>,<config-user>,<config-pw> sub_command=passwords_to_sql
2015-09-01 18:46:07 +00:00
Ralf Becker
b721ae1afc
changes for Univention install
2014-11-07 13:16:30 +00:00
Ralf Becker
31960e45e2
fixed setup-cli --update and setup_cmd_update to install apps marked as "autoinstall"
2014-07-08 16:50:54 +00:00
Ralf Becker
e134826088
"setup/setup-cli.php --exit-codes" was not reporting 11: Your Database is not working!
2014-05-06 09:23:12 +00:00
Ralf Becker
90218092c2
some more changes to create mail accounts via setup
2014-04-15 20:03:16 +00:00
Ralf Becker
621d6d46f4
create new mail accounts from setup-cli
2014-04-15 15:10:39 +00:00
Ralf Becker
892500fee3
change cli detection to use php_sapi_name()
2013-09-10 17:29:58 +00:00
Ralf Becker
30d6d76d7a
allow to set smtp auth options via setup-cli
2013-07-15 15:27:14 +00:00
Ralf Becker
8d93ebb01e
* Setup: allow to enable account in AD via setup-cli.php and renamed --postfix and --cyrus options to more generic names --smtp and --imap
2013-06-20 14:48:53 +00:00
Ralf Becker
014a273908
* Setup/LDAP/ADS: script to change uidNumber and gidNumber in LDAP to match relative id (last part of SID) in preparation of Samba4 migration and using ActiveDirectory
2013-06-18 18:14:08 +00:00
Klaus Leithoff
c9e8e0b115
replace old sieveport 2000 with new default 4190
2013-05-21 14:54:01 +00:00
Ralf Becker
a709f6104f
* Setup/API: translations are no longer installed in database, but loaded directly from lang-files into tree-level cache
2012-11-05 12:18:22 +00:00
Ralf Becker
34ad2c9722
check if date.timezone is set, report it and set something if not, as it gives tons of errors in install log
2012-06-13 13:36:57 +00:00
Klaus Leithoff
254fc0e565
fix issue for changed default param for emailadmin_bo contructor; always use setDefaultProfile if there is NO profile available at all; fix issue regarding missing control of group ownership on edit.general
2012-04-25 10:08:53 +00:00
Ralf Becker
e2b385ed9c
new setup command (object) to register all hooks and adding it to setup-cli.php
2011-06-29 08:40:24 +00:00
Ralf Becker
17ce63390c
setup-cli / post_install command to install/update a single (non-default) app
2011-06-18 10:44:56 +00:00
Ralf Becker
9fe576f050
fix for bug #2965 - "setup-cli.php --check" prints additional unintended lines on exit code 14
2011-05-28 07:23:02 +00:00
Ralf Becker
48a21f74de
fixed PHP Warning: fclose(): 146 is not a valid stream resource in setup-cli.php --update
2010-09-08 08:55:06 +00:00
Ralf Becker
58993cfb7b
- using EGW_*_ROOT instead of .., to allow running from different directories
...
- allow running setup_cmd_admin directly via the command line with regular syntax (was already possible under special syntax)
- limiting database names to 16 chars, which is the limit in mysql
2010-07-26 08:20:14 +00:00
Klaus Leithoff
da919b3a29
remove pop3/pop3s from setup-cli config doku, as it is not supported anymore
2010-05-20 12:35:43 +00:00
Ralf Becker
61c48fb5c0
allow setup-cli to install ldap based right away
2009-12-05 17:42:18 +00:00
Ralf Becker
232252475f
patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
...
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
8a66799414
get exit codes for setup-cli working again (was broken in 1.6)
2009-05-31 08:15:11 +00:00
Ralf Becker
3ec3c205ee
created a rpm post script to automatic install or update EGroupware:
...
- cleaned up exceptions in cli code (no need to log, as it goes direct to the user)
- regarding small rpm redirect header (< 200 bytes) as no header
- fixed wrong detected vars for cli install (eg. webserver_url)
- fixed egw_cache to not stall if system_charset is not yet in db
2009-05-30 20:15:31 +00:00
Ralf Becker
6d72b2b297
- fixed in some cases not working setup-cli (domain not detected)
...
- make update a separat setup-cmd-object
- fixed handling of egw_exception_wrong_userinput, to not include a
trace (which is unneeded for regular input-validation)
2009-05-25 06:39:38 +00:00
Ralf Becker
02587c2153
"when directly calling cmd object:
...
- set domain as first argument, to select the right domain in header include
- allow to give 1-dimensional arrays on command line (like php does it with urls, eg. 'config[name]=value')"
2009-05-24 13:59:03 +00:00
Ralf Becker
73bb5ca1c5
"small changes to get setup-cli working with current EGroupware"
2009-05-23 10:25:45 +00:00
Ralf Becker
cddd95b571
allow to set language via setup-cli
2008-11-23 16:46:32 +00:00
Ralf Becker
fa73ad5339
Improved exception handling:
...
- exceptions get now always logged to the error_log
- in the webgui it's now configurable, if the message contains a
stacktrace (incl. function arguments) - default no (security)
- command line interfaces get detected and contain no html anymore
- webdav and groupdav send the exceptions as basic auth realms to the
client
- webdav and groupdav login failures contain the reason as part of the
basic auth realm
2008-10-26 12:13:01 +00:00
Ralf Becker
93112e0277
phpDoc headers
2008-08-20 06:04:28 +00:00
Klaus Leithoff
f4f0470b16
general stuff:
...
--------------
-emailadmin classnames
YOU MAY HAVE TO RUN "SEARCH AND REGISTER ALL HOOKS OF ALL APPLICATIONS"
2008-06-05 14:08:17 +00:00
Ralf Becker
a53b69af40
setting the session.save_path to /tmp only for session.save_handler=files and !is_writable(session.save_path)
2008-03-06 06:03:18 +00:00
Ralf Becker
c27c36286e
allow to call command objects via setup-cli
2008-01-14 05:44:32 +00:00
Ralf Becker
e3a9dc646f
- installs can now be switched before the install happens to ldap, so all default records get created (eg. sitemgr is working)
...
- new setup command to create an admin user, used eg. from setup-cli.php
2007-12-13 02:41:55 +00:00
Ralf Becker
f0e0d84e55
next step config is now also a command object and added better&shorter passwords
2007-12-11 01:28:07 +00:00
Ralf Becker
0276cfae19
new setup command object to install, used in setup-cli so far
2007-12-10 04:59:01 +00:00
Ralf Becker
b96ebc16fc
new command objects to install an instance: create database, ldap structur, create/edit header (used by setup-cli too)
2007-12-09 08:03:15 +00:00
Klaus Leithoff
4005da15d2
added more Info to setup-cli --check; List applications that are not installed.
2007-10-23 08:20:31 +00:00
Ralf Becker
0cd6ab53b4
worked around stupid php5.2 empty haystack warnings
2007-04-29 15:13:54 +00:00