You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Daniel Baker <dj...@gmail.com> on 2017/01/13 02:17:37 UTC
backing up before upgrade error
Hi, when I try your backup procedure I have an eror at step 3 :
/opt/red5312# ./admin.sh -b -file ~/jan13_om_backup.zip
*Error: Could not find or load main class org.apache.openmeetings.cli.Admin*
1. go to OM install dir (for ex. /opt/red5)
2. stop OM (for ex. ./red5-shutdown.sh)
3. *./admin.sh -b -file ~/today_om_backup.zip (create backup of current
OM)*
4. download archive with new OM
5. mv /opt/red5 /opt.red5.bak (move working version of OM just in case
:))
6. extract downloaded OM to the /opt/red5
7. ./admin.sh -i -file ~/today_om_backup.zip (or './admin.sh -i -file
~/today_om_backup.zip --db-type mysql --db-user om_user --db-pass
om_user_pass' in case of you are using non-default DB )
8. start OM
9.
Re: backing up before upgrade error
Posted by Daniel Baker <dj...@gmail.com>.
Yes I have. I renamed it to classroom. I renamed the context in the
admin.sh file and it works now.
Excellent !
Thanks,
Dan
On Fri, Jan 13, 2017 at 11:09 AM, Maxim Solodovnik <so...@gmail.com>
wrote:
> Maybe you have renamed OM context as described here
> http://openmeetings.apache.org/WebappNamePath.html#
> Renaming_openmeetings_context?
>
> On Fri, Jan 13, 2017 at 10:41 AM, Daniel Baker <dj...@gmail.com> wrote:
> > Both set |grep RED5 , echo $RED5_HOME return nothing.
> >
> > Also return nothing on fresher VM that has working back up script.
> >
> > Thanks,
> >
> > Dan
> >
> > On Fri, Jan 13, 2017 at 10:37 AM, Maxim Solodovnik <solomax666@gmail.com
> >
> > wrote:
> >>
> >> On Linux machine it would be
> >>
> >> set |grep RED5
> >>
> >> or
> >>
> >> echo $RED5_HOME
> >>
> >> on Windows
> >>
> >> echo %RED5_HOME%
> >>
> >>
> >> On Fri, Jan 13, 2017 at 10:17 AM, Daniel Baker <dj...@gmail.com>
> wrote:
> >> > Yes, the script executes on a fresher install.
> >> >
> >> > Sorry, how do I check the RED5_HOME environment variable
> >> >
> >> > Thanks,
> >> >
> >> > Dan
> >> >
> >> >
> >> >
> >> > On Fri, Jan 13, 2017 at 9:56 AM, Maxim Solodovnik <
> solomax666@gmail.com>
> >> > wrote:
> >> >>
> >> >> This is weird
> >> >> Maybe RED5_HOME environment variable points to the wrong folder?
> >> >> Can you check on clean environment?
> >> >>
> >> >> On Fri, Jan 13, 2017 at 9:17 AM, Daniel Baker <dj...@gmail.com>
> >> >> wrote:
> >> >> > Hi, when I try your backup procedure I have an eror at step 3 :
> >> >> >
> >> >> >
> >> >> > /opt/red5312# ./admin.sh -b -file ~/jan13_om_backup.zip
> >> >> > Error: Could not find or load main class
> >> >> > org.apache.openmeetings.cli.Admin
> >> >> >
> >> >> > go to OM install dir (for ex. /opt/red5)
> >> >> > stop OM (for ex. ./red5-shutdown.sh)
> >> >> > ./admin.sh -b -file ~/today_om_backup.zip (create backup of current
> >> >> > OM)
> >> >> > download archive with new OM
> >> >> > mv /opt/red5 /opt.red5.bak (move working version of OM just in case
> >> >> > :))
> >> >> > extract downloaded OM to the /opt/red5
> >> >> > ./admin.sh -i -file ~/today_om_backup.zip (or './admin.sh -i -file
> >> >> > ~/today_om_backup.zip --db-type mysql --db-user om_user --db-pass
> >> >> > om_user_pass' in case of you are using non-default DB )
> >> >> > start OM
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> WBR
> >> >> Maxim aka solomax
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> WBR
> >> Maxim aka solomax
> >
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>
Re: backing up before upgrade error
Posted by Maxim Solodovnik <so...@gmail.com>.
Maybe you have renamed OM context as described here
http://openmeetings.apache.org/WebappNamePath.html#Renaming_openmeetings_context?
On Fri, Jan 13, 2017 at 10:41 AM, Daniel Baker <dj...@gmail.com> wrote:
> Both set |grep RED5 , echo $RED5_HOME return nothing.
>
> Also return nothing on fresher VM that has working back up script.
>
> Thanks,
>
> Dan
>
> On Fri, Jan 13, 2017 at 10:37 AM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>>
>> On Linux machine it would be
>>
>> set |grep RED5
>>
>> or
>>
>> echo $RED5_HOME
>>
>> on Windows
>>
>> echo %RED5_HOME%
>>
>>
>> On Fri, Jan 13, 2017 at 10:17 AM, Daniel Baker <dj...@gmail.com> wrote:
>> > Yes, the script executes on a fresher install.
>> >
>> > Sorry, how do I check the RED5_HOME environment variable
>> >
>> > Thanks,
>> >
>> > Dan
>> >
>> >
>> >
>> > On Fri, Jan 13, 2017 at 9:56 AM, Maxim Solodovnik <so...@gmail.com>
>> > wrote:
>> >>
>> >> This is weird
>> >> Maybe RED5_HOME environment variable points to the wrong folder?
>> >> Can you check on clean environment?
>> >>
>> >> On Fri, Jan 13, 2017 at 9:17 AM, Daniel Baker <dj...@gmail.com>
>> >> wrote:
>> >> > Hi, when I try your backup procedure I have an eror at step 3 :
>> >> >
>> >> >
>> >> > /opt/red5312# ./admin.sh -b -file ~/jan13_om_backup.zip
>> >> > Error: Could not find or load main class
>> >> > org.apache.openmeetings.cli.Admin
>> >> >
>> >> > go to OM install dir (for ex. /opt/red5)
>> >> > stop OM (for ex. ./red5-shutdown.sh)
>> >> > ./admin.sh -b -file ~/today_om_backup.zip (create backup of current
>> >> > OM)
>> >> > download archive with new OM
>> >> > mv /opt/red5 /opt.red5.bak (move working version of OM just in case
>> >> > :))
>> >> > extract downloaded OM to the /opt/red5
>> >> > ./admin.sh -i -file ~/today_om_backup.zip (or './admin.sh -i -file
>> >> > ~/today_om_backup.zip --db-type mysql --db-user om_user --db-pass
>> >> > om_user_pass' in case of you are using non-default DB )
>> >> > start OM
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> WBR
>> >> Maxim aka solomax
>> >
>> >
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>
>
--
WBR
Maxim aka solomax
Re: backing up before upgrade error
Posted by Daniel Baker <dj...@gmail.com>.
Both set |grep RED5 , echo $RED5_HOME return nothing.
Also return nothing on fresher VM that has working back up script.
Thanks,
Dan
On Fri, Jan 13, 2017 at 10:37 AM, Maxim Solodovnik <so...@gmail.com>
wrote:
> On Linux machine it would be
>
> set |grep RED5
>
> or
>
> echo $RED5_HOME
>
> on Windows
>
> echo %RED5_HOME%
>
>
> On Fri, Jan 13, 2017 at 10:17 AM, Daniel Baker <dj...@gmail.com> wrote:
> > Yes, the script executes on a fresher install.
> >
> > Sorry, how do I check the RED5_HOME environment variable
> >
> > Thanks,
> >
> > Dan
> >
> >
> >
> > On Fri, Jan 13, 2017 at 9:56 AM, Maxim Solodovnik <so...@gmail.com>
> > wrote:
> >>
> >> This is weird
> >> Maybe RED5_HOME environment variable points to the wrong folder?
> >> Can you check on clean environment?
> >>
> >> On Fri, Jan 13, 2017 at 9:17 AM, Daniel Baker <dj...@gmail.com>
> wrote:
> >> > Hi, when I try your backup procedure I have an eror at step 3 :
> >> >
> >> >
> >> > /opt/red5312# ./admin.sh -b -file ~/jan13_om_backup.zip
> >> > Error: Could not find or load main class
> >> > org.apache.openmeetings.cli.Admin
> >> >
> >> > go to OM install dir (for ex. /opt/red5)
> >> > stop OM (for ex. ./red5-shutdown.sh)
> >> > ./admin.sh -b -file ~/today_om_backup.zip (create backup of current
> OM)
> >> > download archive with new OM
> >> > mv /opt/red5 /opt.red5.bak (move working version of OM just in case
> :))
> >> > extract downloaded OM to the /opt/red5
> >> > ./admin.sh -i -file ~/today_om_backup.zip (or './admin.sh -i -file
> >> > ~/today_om_backup.zip --db-type mysql --db-user om_user --db-pass
> >> > om_user_pass' in case of you are using non-default DB )
> >> > start OM
> >> >
> >>
> >>
> >>
> >> --
> >> WBR
> >> Maxim aka solomax
> >
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>
Re: backing up before upgrade error
Posted by Maxim Solodovnik <so...@gmail.com>.
On Linux machine it would be
set |grep RED5
or
echo $RED5_HOME
on Windows
echo %RED5_HOME%
On Fri, Jan 13, 2017 at 10:17 AM, Daniel Baker <dj...@gmail.com> wrote:
> Yes, the script executes on a fresher install.
>
> Sorry, how do I check the RED5_HOME environment variable
>
> Thanks,
>
> Dan
>
>
>
> On Fri, Jan 13, 2017 at 9:56 AM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>>
>> This is weird
>> Maybe RED5_HOME environment variable points to the wrong folder?
>> Can you check on clean environment?
>>
>> On Fri, Jan 13, 2017 at 9:17 AM, Daniel Baker <dj...@gmail.com> wrote:
>> > Hi, when I try your backup procedure I have an eror at step 3 :
>> >
>> >
>> > /opt/red5312# ./admin.sh -b -file ~/jan13_om_backup.zip
>> > Error: Could not find or load main class
>> > org.apache.openmeetings.cli.Admin
>> >
>> > go to OM install dir (for ex. /opt/red5)
>> > stop OM (for ex. ./red5-shutdown.sh)
>> > ./admin.sh -b -file ~/today_om_backup.zip (create backup of current OM)
>> > download archive with new OM
>> > mv /opt/red5 /opt.red5.bak (move working version of OM just in case :))
>> > extract downloaded OM to the /opt/red5
>> > ./admin.sh -i -file ~/today_om_backup.zip (or './admin.sh -i -file
>> > ~/today_om_backup.zip --db-type mysql --db-user om_user --db-pass
>> > om_user_pass' in case of you are using non-default DB )
>> > start OM
>> >
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>
>
--
WBR
Maxim aka solomax
Re: backing up before upgrade error
Posted by Daniel Baker <dj...@gmail.com>.
Yes, the script executes on a fresher install.
Sorry, how do I check the RED5_HOME environment variable
Thanks,
Dan
On Fri, Jan 13, 2017 at 9:56 AM, Maxim Solodovnik <so...@gmail.com>
wrote:
> This is weird
> Maybe RED5_HOME environment variable points to the wrong folder?
> Can you check on clean environment?
>
> On Fri, Jan 13, 2017 at 9:17 AM, Daniel Baker <dj...@gmail.com> wrote:
> > Hi, when I try your backup procedure I have an eror at step 3 :
> >
> >
> > /opt/red5312# ./admin.sh -b -file ~/jan13_om_backup.zip
> > Error: Could not find or load main class org.apache.openmeetings.cli.
> Admin
> >
> > go to OM install dir (for ex. /opt/red5)
> > stop OM (for ex. ./red5-shutdown.sh)
> > ./admin.sh -b -file ~/today_om_backup.zip (create backup of current OM)
> > download archive with new OM
> > mv /opt/red5 /opt.red5.bak (move working version of OM just in case :))
> > extract downloaded OM to the /opt/red5
> > ./admin.sh -i -file ~/today_om_backup.zip (or './admin.sh -i -file
> > ~/today_om_backup.zip --db-type mysql --db-user om_user --db-pass
> > om_user_pass' in case of you are using non-default DB )
> > start OM
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>
Re: backing up before upgrade error
Posted by Maxim Solodovnik <so...@gmail.com>.
This is weird
Maybe RED5_HOME environment variable points to the wrong folder?
Can you check on clean environment?
On Fri, Jan 13, 2017 at 9:17 AM, Daniel Baker <dj...@gmail.com> wrote:
> Hi, when I try your backup procedure I have an eror at step 3 :
>
>
> /opt/red5312# ./admin.sh -b -file ~/jan13_om_backup.zip
> Error: Could not find or load main class org.apache.openmeetings.cli.Admin
>
> go to OM install dir (for ex. /opt/red5)
> stop OM (for ex. ./red5-shutdown.sh)
> ./admin.sh -b -file ~/today_om_backup.zip (create backup of current OM)
> download archive with new OM
> mv /opt/red5 /opt.red5.bak (move working version of OM just in case :))
> extract downloaded OM to the /opt/red5
> ./admin.sh -i -file ~/today_om_backup.zip (or './admin.sh -i -file
> ~/today_om_backup.zip --db-type mysql --db-user om_user --db-pass
> om_user_pass' in case of you are using non-default DB )
> start OM
>
--
WBR
Maxim aka solomax