Created a patch at [1] that would mention that the file parameter is
optional when using install option.

Now, the output would be:

 -i,--install                        Fill DB table, and make OM usable
   -tz <arg>                         Default server time zone, and time
zone for the selected user
                                     (mutually exclusive with 'file')
   -email <arg>                      Email of the default user (mutually
exclusive with 'file')
   -group <arg>                      The name of the default user group
(mutually exclusive with
                                     'file')
   -user <arg>                       Login name of the default user,
minimum 4 characters (mutually
                                     exclusive with 'file')
   -file <arg>                       (optional) file used for
backup/restore/install
      --db-pass <arg>                (optional) Password of the user with
write access to the DB
                                     specified
      --smtp-server <arg>            (optional) SMTP server for outgoing
e-mails [default:
                                     localhost]
      --force                        (optional) Install without checking
the existence of old data
                                     in the database.

<snip>

[1] - https://issues.apache.org/jira/browse/OPENMEETINGS-384

On Sun, Jul 29, 2012 at 2:50 AM, Tharindu Mathew <mcclou...@gmail.com>wrote:

> Thanks Maxim. Your suggestion worked.
>
> Thanks for the pointers Stephen. I'm on a mac, but these guides have some
> useful info.
>
>
> On Sun, Jul 29, 2012 at 12:16 AM, Stephen Cottham <
> stephen.cott...@robertbird.com.au> wrote:
>
>> Hey Tharindu,****
>>
>> ** **
>>
>> Try these two guides:****
>>
>> ** **
>>
>> Debian Based install****
>>
>>
>> https://cwiki.apache.org/confluence/download/attachments/27838216/Installing+OM2.x+On+Debian64+-+Headless.pdf?version=12&modificationDate=1342957867000
>> ****
>>
>> ** **
>>
>> Unbuntu Based install****
>>
>>
>> https://cwiki.apache.org/confluence/download/attachments/27838216/Installing+OM2.x+On+Ubuntu64+-+Headless.pdf?version=9&modificationDate=1342975689000
>> ****
>>
>> ** **
>>
>> ** **
>>
>> N.B – one of the repos for the Debian install has changed (for lame)****
>>
>> ** **
>>
>> Please change  ****
>>
>> ** **
>>
>> *deb http://www.debian-multimedia.org squeeze main*
>>
>> * *
>>
>> for**
>>
>> * *
>>
>> *deb http://deb-multimedia.org squeeze main*****
>>
>> ** **
>>
>> I’ll update the guides to reflect that later.****
>>
>> ** **
>>
>> Best Regards****
>>
>> ** **
>>
>> *From:* Maxim Solodovnik [mailto:solomax...@gmail.com]
>> *Sent:* 28 July 2012 19:38
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* Re: Error when executing admin script****
>>
>> ** **
>>
>> you need to remove "-file om" from command line****
>>
>> -file is works only if you install and have backup from previous version*
>> ***
>>
>> On Sun, Jul 29, 2012 at 12:22 AM, Tharindu Mathew <mcclou...@gmail.com>
>> wrote:****
>>
>> Hi,****
>>
>> ** **
>>
>> I downloaded the OM 2.0.0 incubating pack and I'm trying to install it.
>> From the instructions on your site, the admin script seems to be the
>> fastest way to setup OM.****
>>
>> ** **
>>
>> But it gives me the following error at [1]. I'm unable to understand how
>> to proceed.****
>>
>> ** **
>>
>> Appreciate if someone can point the correct method to execute the admin
>> script.****
>>
>> ** **
>>
>> [1] -****
>>
>>
>> ****
>>
>> $ ./admin.sh -i -file om -tz IST -email t...@test.com -group testgrp
>> -user test****
>>
>> Setting default logging context: default****
>>
>> Please specify even 'file' option or 'admin user'.****
>>
>> ** **
>>
>> ** **
>>
>> --
>> Regards,
>>
>> Tharindu****
>>
>> ** **
>>
>> blog: http://mackiemathew.com/****
>>
>> ** **
>>
>>
>>
>> ****
>>
>> ** **
>>
>> --
>> WBR
>> Maxim aka solomax****
>>
>
>
>
> --
> Regards,
>
> Tharindu
>
> blog: http://mackiemathew.com/
>
>


-- 
Regards,

Tharindu

blog: http://mackiemathew.com/

Reply via email to