There is another issue to solve: The admin user created by the CLI installer has the timeZoneId 0. That will not work to edit Calendar Events with a user that has no timeZone set.
Sebastian 2012/4/7 [email protected] <[email protected]> > Hi Maxim, > > I have tested the command line client so far, it is looking great :) I was > able to do a basic installation on my windows machine with it. I think on > the long run we will delete the Web-Installer and replace with the CLI > interface and maybe some GUI for users to click through that internally > then triggers functions of this CLI. > > I think we should discuss the usage of the tool from a user perspective: > > Use-case: > User downloads the package from our website and wants to install. > > Expects: Do one command to install OpenMeetings. > > Currently he will have to manually copy and edit the db-template. > It would be cool if the CLI interface to install openmeetings would have > an optional parameters like: > -db_type mysql -db_user my_user -db_pass my_user -db_name my_db > that copies the template directly so user does not need to manually edit > files. > > After installation not all parameters are set: If he wants to change the > mail server settings he will need to restart red5/openmeetings. I think you > might consider adding those optional parameters: > system_email_addr optional, smtp_server, smtp_port, system_email_addr, > email_username, email_userpass mail.smtp.starttls.enable > > And it is likely that for example our script is only a small part of a > bigger script that for example installs OO-service, image-magick or as part > of a Debian/RedHat/whatever linux package. An interactive question like > "Please enter password" could make it quite difficult to use our script in > those scenarios. So I think you might consider using something like: > -password as normal parameter instead of the interactive question. > > Thanks! > > Sebastian > > > 2012/4/6 Maxim Solodovnik <[email protected]> > >> I remember about documentation :) >> >> Admin scripts are copied to build/red5/dist >> You need to drop this folder 1 time and files will be in place. >> Nightly build deleted build folder so scripts will be included >> On Apr 6, 2012 7:46 PM, "[email protected]" <[email protected]> >> wrote: >> >>> First thing to fix would be to have some docs on our website about the >>> possible commands :) >>> >>> As far as I can see the build process currently does not copy the >>> admin.sh/bat to the distribution/release? >>> Where is the admin.sh/bar after you've run ant task ? >>> >>> Sebastian >>> >>> 2012/4/6 Maxim Solodovnik <[email protected]> >>> >>>> Hello Sebastian, >>>> >>>> could you please review the command line tool, and tell me your >>>> thoughts (what need to be changed, improved, etc.) >>>> >>>> Here are small usage examples: >>>> ./admin.sh >>>> ./admin.sh -h >>>> ./admin.sh -b >>>> ./admin.sh -b mybackup.zip >>>> ./admin.sh -r mybackup.zip >>>> admin -i -v -user admin -email [email protected] -tz GMT+7 -group >>>> dataved --skip-default-rooms --disable-frontend-register >>>> >>>> >>>> ---------- Forwarded message ---------- >>>> From: <[email protected]> >>>> Date: Fri, Apr 6, 2012 at 16:38 >>>> Subject: svn commit: r1310263 - in >>>> /incubator/openmeetings/trunk/singlewebapp: WebContent/red5/ >>>> src/org/openmeetings/app/ src/org/openmeetings/app/data/conference/ >>>> src/org/openmeetings/app/data/user/ src/org/openmeetings/app/installation/ >>>> src/org/openmeetings/a... >>>> To: [email protected] >>>> >>>> >>>> Author: solomax >>>> Date: Fri Apr 6 09:38:50 2012 >>>> New Revision: 1310263 >>>> >>>> URL: http://svn.apache.org/viewvc?rev=1310263&view=rev >>>> Log: >>>> OPENMEETINGS-111 install functionality is added; code cleanup >>>> >>>> Added: >>>> >>>> >>>> incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/installation/InstallationConfig.java >>>> Modified: >>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat >>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh >>>> >>>> >>>> incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/Admin.java >>>> >>>> >>>> incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/data/conference/Roommanagement.java >>>> >>>> >>>> incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/data/user/Usermanagement.java >>>> >>>> >>>> incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/installation/ImportInitvalues.java >>>> >>>> >>>> incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/persistence/beans/sip/asterisk/AsteriskSipUsers.java >>>> >>>> >>>> incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/persistence/beans/sip/asterisk/Extensions.java >>>> >>>> >>>> incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/persistence/beans/sip/asterisk/MeetMe.java >>>> >>>> >>>> incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/remote/red5/ScopeApplicationAdapter.java >>>> >>>> >>>> incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/sip/api/impl/asterisk/AsteriskDbSipClient.java >>>> >>>> >>>> incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/sip/api/impl/asterisk/dao/AsteriskDAOImpl.java >>>> >>>> >>>> incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/screen/webstart/gui/VirtualScreen.java >>>> >>>> >>>> incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/servlet/outputhandler/Install.java >>>> >>>> >>>> incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/test/AbstractOpenmeetingsSpringTest.java >>>> >>>> -- >>>> WBR >>>> Maxim aka solomax >>>> >>> >>> >>> >>> -- >>> Sebastian Wagner >>> https://twitter.com/#!/dead_lock >>> http://www.openmeetings.de >>> http://www.webbase-design.de >>> http://www.wagner-sebastian.com >>> [email protected] >>> >> > > > -- > Sebastian Wagner > https://twitter.com/#!/dead_lock > http://www.openmeetings.de > http://www.webbase-design.de > http://www.wagner-sebastian.com > [email protected] > -- Sebastian Wagner https://twitter.com/#!/dead_lock http://www.openmeetings.de http://www.webbase-design.de http://www.wagner-sebastian.com [email protected]
