You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by "seba.wagner@gmail.com" <se...@gmail.com> on 2016/03/10 22:10:16 UTC

Creating script that automatically deploys latest openmeetings to http://openmeetings-vm.apache.org/

Hi,

I was thinking of installing the latest RC of 3.1.0 to
http://openmeetings-vm.apache.org/.

However, I could maybe also script it so that it will install the latest
SNAPSHOT and delete the old one.

The database would be reset every time and do a complete re-installation.

Does that sound good?

Thx
Sebastian

-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
seba.wagner@gmail.com

Re: Creating script that automatically deploys latest openmeetings to http://openmeetings-vm.apache.org/

Posted by Maxim Solodovnik <so...@gmail.com>.
yes, sure
the script will be very simple it need to:


   1. service red5 stop
   2. rm -rf /opt/red5
   3. cd /opt/
   4. wget
   https://builds.apache.org/view/M-R/view/OpenMeetings/job/Openmeetings%203.1.x/lastSuccessfulBuild/artifact/openmeetings-server/target/apache-openmeetings-3.1.1-SNAPSHOT.tar.gz
   5. mkdir red5
   6. cd red5
   7. tar -xzf ../apache-openmeetings-3.1.1-SNAPSHOT.tar.gz
   8. ./admin.sh -v -i -file backup_with_2-3_key_users.zip --db.........
   --drop
   9. chown -R nobody:nogroup /opt/red5
   10. service red5 start

something like this :)
backup_with_2-3_key_users.zip is somewhere on the machine (most probably in
/opt, I can search for it)

the main problem with this box is: websockets doesn't work due to bad http
<--> https forwarding
I have discussion with INFRA regarding it, but it seems to be unsolvable :(



On Fri, Mar 11, 2016 at 3:10 AM, seba.wagner@gmail.com <
seba.wagner@gmail.com> wrote:

> Hi,
>
> I was thinking of installing the latest RC of 3.1.0 to
> http://openmeetings-vm.apache.org/.
>
> However, I could maybe also script it so that it will install the latest
> SNAPSHOT and delete the old one.
>
> The database would be reset every time and do a complete re-installation.
>
> Does that sound good?
>
> Thx
> Sebastian
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> seba.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax