You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Gary Weaver <ga...@duke.edu> on 2008/09/29 18:30:32 UTC

upgrading archiva from v1.0.2 to v1.1.2

Hey everyone,

Our internal archiva v1.0.2 instance was being extremely slow this 
morning for some reason (so maven 2 builds were slow), so I thought I 
might upgrade to the latest version to see if it would help.

After a little while searching I found some info at the bottom of:
http://archiva.apache.org/docs/1.1.2/adminguide/standalone.html#Upgrading%20Archiva
about upgrading Archiva.

I tar/gzipped the (standalone) apache-archiva-1.0.2 dir>/data dir and 
extracted it into the new/never started (standalone) 
apache-archiva-1.1.2 dir (which didn't already have a data dir).

Did my best to follow directions by deleting the 
apache-archiva-1.1.2/data/archiva/database directory and then searched 
for *.index directories under apache-archiva-1.1.2/data, but didn't find 
any to remove.

Is there anything else I need to do?

Thanks in advance,

-- 
Gary Weaver
Application and Database Services
Office of Information Technology
Duke University


Re: upgrading archiva from v1.0.2 to v1.1.2

Posted by Arnaud HERITIER <ah...@gmail.com>.
thanks a lot

Arnaud

On Tue, Sep 30, 2008 at 4:00 PM, Gary Weaver <ga...@duke.edu> wrote:

> Arnaud,
>
> Added my info to:
> http://cwiki.apache.org/confluence/display/ARCHIVA/Upgrading+from+1.0.x+to+1.1.x
>
> Please feel free to make whatever changes you want to my changes.
>
>
> Thanks!
> Gary
>
>
> Arnaud HERITIER wrote:
>
>> Hi Gary,
>>
>> On Mon, Sep 29, 2008 at 8:15 PM, Gary Weaver <ga...@duke.edu>
>> wrote:
>>
>>
>>
>>> Thanks!
>>>
>>> Here was my experience with the upgrade:
>>>
>>> * I noticed that instead of having to go into the platform specific dir
>>> under bin/ that there were new archiva and archiva.bat scripts that
>>> handled
>>> stop/stop etc.
>>> * I noticed the port settings now need to be done in jetty.xml instead of
>>> plexus.xml (that is a bit diff than the wiki page).
>>> * The admin user got removed/didn't make the transition (even though I
>>> had
>>> compressed and exploded the whole data dir and did what I said below, so
>>> users dir was there). So I just recreated the admin user. :(
>>>
>>> According to the instructions you only need to "execute the repository
>>> and
>>> database scanners", but I was a bit unsure what that meant exactly (at
>>> least
>>> for the database stuff), so I did all of this:
>>> * Repository Scanning -> Update Consumers
>>> * Database -> Update Cron
>>> * Database -> Update Database Now
>>> * Database -> Update Consumers (click on this under all sections)
>>> * Repositories -> Scan Repository Now (click on this under all sections)
>>>
>>>
>>>
>>
>>
>>  Can you add your remarks on the wiki page ?
>>  I think you just have to create an account.
>>  You probably noticed some differences about the documentation on the wiki
>> because my experience was about to upgrade an archiva webapp on tomcat (I
>> didn't use the standalone app)
>>
>>
>>
>>
>>> The slowness went away when building via maven 2 which was the main thing
>>> I
>>> was trying to fix (yay!).
>>>
>>> I don't know if that is because some dependence on an external repo that
>>> was down/slow was fixed or if it was the upgrade though (more likely the
>>> former than the latter I suppose).
>>>
>>>
>>>
>>
>> The upgrade can help because in 1.1 I think a timeout if a remote proxy
>> doesn't reply was added.
>>
>> cheers
>>
>> arnaud
>>
>>
>>
>>> Thanks!
>>>
>>> Gary
>>>
>>>
>>>
>>> Arnaud HERITIER wrote:
>>>
>>>
>>>
>>>> If you customized your settings you can have a look at this page :
>>>>
>>>>
>>>> http://cwiki.apache.org/confluence/display/ARCHIVA/Upgrading+from+1.0.x+to+1.1.x
>>>>
>>>> Arnaud
>>>>
>>>> On Mon, Sep 29, 2008 at 6:30 PM, Gary Weaver <ga...@duke.edu>
>>>> wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> Hey everyone,
>>>>>
>>>>> Our internal archiva v1.0.2 instance was being extremely slow this
>>>>> morning
>>>>> for some reason (so maven 2 builds were slow), so I thought I might
>>>>> upgrade
>>>>> to the latest version to see if it would help.
>>>>>
>>>>> After a little while searching I found some info at the bottom of:
>>>>>
>>>>>
>>>>>
>>>>> http://archiva.apache.org/docs/1.1.2/adminguide/standalone.html#Upgrading%20Archiva
>>>>> about upgrading Archiva.
>>>>>
>>>>> I tar/gzipped the (standalone) apache-archiva-1.0.2 dir>/data dir and
>>>>> extracted it into the new/never started (standalone)
>>>>> apache-archiva-1.1.2
>>>>> dir (which didn't already have a data dir).
>>>>>
>>>>> Did my best to follow directions by deleting the
>>>>> apache-archiva-1.1.2/data/archiva/database directory and then searched
>>>>> for
>>>>> *.index directories under apache-archiva-1.1.2/data, but didn't find
>>>>> any
>>>>> to
>>>>> remove.
>>>>>
>>>>> Is there anything else I need to do?
>>>>>
>>>>> Thanks in advance,
>>>>>
>>>>> --
>>>>> Gary Weaver
>>>>> Application and Database Services
>>>>> Office of Information Technology
>>>>> Duke University
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>> --
>>> Gary Weaver
>>> Application and Database Services
>>> Office of Information Technology
>>> Duke University
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
> --
> Gary Weaver
> Application and Database Services
> Office of Information Technology
> Duke University
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: upgrading archiva from v1.0.2 to v1.1.2

Posted by Gary Weaver <ga...@duke.edu>.
Arnaud,

Added my info to: 
http://cwiki.apache.org/confluence/display/ARCHIVA/Upgrading+from+1.0.x+to+1.1.x

Please feel free to make whatever changes you want to my changes.

Thanks!
Gary


Arnaud HERITIER wrote:
> Hi Gary,
>
> On Mon, Sep 29, 2008 at 8:15 PM, Gary Weaver <ga...@duke.edu> wrote:
>
>   
>> Thanks!
>>
>> Here was my experience with the upgrade:
>>
>> * I noticed that instead of having to go into the platform specific dir
>> under bin/ that there were new archiva and archiva.bat scripts that handled
>> stop/stop etc.
>> * I noticed the port settings now need to be done in jetty.xml instead of
>> plexus.xml (that is a bit diff than the wiki page).
>> * The admin user got removed/didn't make the transition (even though I had
>> compressed and exploded the whole data dir and did what I said below, so
>> users dir was there). So I just recreated the admin user. :(
>>
>> According to the instructions you only need to "execute the repository and
>> database scanners", but I was a bit unsure what that meant exactly (at least
>> for the database stuff), so I did all of this:
>> * Repository Scanning -> Update Consumers
>> * Database -> Update Cron
>> * Database -> Update Database Now
>> * Database -> Update Consumers (click on this under all sections)
>> * Repositories -> Scan Repository Now (click on this under all sections)
>>
>>     
>
>
>   Can you add your remarks on the wiki page ?
>   I think you just have to create an account.
>   You probably noticed some differences about the documentation on the wiki
> because my experience was about to upgrade an archiva webapp on tomcat (I
> didn't use the standalone app)
>
>
>   
>> The slowness went away when building via maven 2 which was the main thing I
>> was trying to fix (yay!).
>>
>> I don't know if that is because some dependence on an external repo that
>> was down/slow was fixed or if it was the upgrade though (more likely the
>> former than the latter I suppose).
>>
>>     
>
> The upgrade can help because in 1.1 I think a timeout if a remote proxy
> doesn't reply was added.
>
> cheers
>
> arnaud
>
>   
>> Thanks!
>>
>> Gary
>>
>>
>>
>> Arnaud HERITIER wrote:
>>
>>     
>>> If you customized your settings you can have a look at this page :
>>>
>>> http://cwiki.apache.org/confluence/display/ARCHIVA/Upgrading+from+1.0.x+to+1.1.x
>>>
>>> Arnaud
>>>
>>> On Mon, Sep 29, 2008 at 6:30 PM, Gary Weaver <ga...@duke.edu>
>>> wrote:
>>>
>>>
>>>
>>>       
>>>> Hey everyone,
>>>>
>>>> Our internal archiva v1.0.2 instance was being extremely slow this
>>>> morning
>>>> for some reason (so maven 2 builds were slow), so I thought I might
>>>> upgrade
>>>> to the latest version to see if it would help.
>>>>
>>>> After a little while searching I found some info at the bottom of:
>>>>
>>>>
>>>> http://archiva.apache.org/docs/1.1.2/adminguide/standalone.html#Upgrading%20Archiva
>>>> about upgrading Archiva.
>>>>
>>>> I tar/gzipped the (standalone) apache-archiva-1.0.2 dir>/data dir and
>>>> extracted it into the new/never started (standalone) apache-archiva-1.1.2
>>>> dir (which didn't already have a data dir).
>>>>
>>>> Did my best to follow directions by deleting the
>>>> apache-archiva-1.1.2/data/archiva/database directory and then searched
>>>> for
>>>> *.index directories under apache-archiva-1.1.2/data, but didn't find any
>>>> to
>>>> remove.
>>>>
>>>> Is there anything else I need to do?
>>>>
>>>> Thanks in advance,
>>>>
>>>> --
>>>> Gary Weaver
>>>> Application and Database Services
>>>> Office of Information Technology
>>>> Duke University
>>>>
>>>>
>>>>
>>>>
>>>>         
>>>
>>>
>>>       
>> --
>> Gary Weaver
>> Application and Database Services
>> Office of Information Technology
>> Duke University
>>
>>
>>     
>
>
>   


-- 
Gary Weaver
Application and Database Services
Office of Information Technology
Duke University


Re: upgrading archiva from v1.0.2 to v1.1.2

Posted by Arnaud HERITIER <ah...@gmail.com>.
Hi Gary,

On Mon, Sep 29, 2008 at 8:15 PM, Gary Weaver <ga...@duke.edu> wrote:

> Thanks!
>
> Here was my experience with the upgrade:
>
> * I noticed that instead of having to go into the platform specific dir
> under bin/ that there were new archiva and archiva.bat scripts that handled
> stop/stop etc.
> * I noticed the port settings now need to be done in jetty.xml instead of
> plexus.xml (that is a bit diff than the wiki page).
> * The admin user got removed/didn't make the transition (even though I had
> compressed and exploded the whole data dir and did what I said below, so
> users dir was there). So I just recreated the admin user. :(
>
> According to the instructions you only need to "execute the repository and
> database scanners", but I was a bit unsure what that meant exactly (at least
> for the database stuff), so I did all of this:
> * Repository Scanning -> Update Consumers
> * Database -> Update Cron
> * Database -> Update Database Now
> * Database -> Update Consumers (click on this under all sections)
> * Repositories -> Scan Repository Now (click on this under all sections)
>


  Can you add your remarks on the wiki page ?
  I think you just have to create an account.
  You probably noticed some differences about the documentation on the wiki
because my experience was about to upgrade an archiva webapp on tomcat (I
didn't use the standalone app)


>
> The slowness went away when building via maven 2 which was the main thing I
> was trying to fix (yay!).
>
> I don't know if that is because some dependence on an external repo that
> was down/slow was fixed or if it was the upgrade though (more likely the
> former than the latter I suppose).
>

The upgrade can help because in 1.1 I think a timeout if a remote proxy
doesn't reply was added.

cheers

arnaud

>
> Thanks!
>
> Gary
>
>
>
> Arnaud HERITIER wrote:
>
>> If you customized your settings you can have a look at this page :
>>
>> http://cwiki.apache.org/confluence/display/ARCHIVA/Upgrading+from+1.0.x+to+1.1.x
>>
>> Arnaud
>>
>> On Mon, Sep 29, 2008 at 6:30 PM, Gary Weaver <ga...@duke.edu>
>> wrote:
>>
>>
>>
>>> Hey everyone,
>>>
>>> Our internal archiva v1.0.2 instance was being extremely slow this
>>> morning
>>> for some reason (so maven 2 builds were slow), so I thought I might
>>> upgrade
>>> to the latest version to see if it would help.
>>>
>>> After a little while searching I found some info at the bottom of:
>>>
>>>
>>> http://archiva.apache.org/docs/1.1.2/adminguide/standalone.html#Upgrading%20Archiva
>>> about upgrading Archiva.
>>>
>>> I tar/gzipped the (standalone) apache-archiva-1.0.2 dir>/data dir and
>>> extracted it into the new/never started (standalone) apache-archiva-1.1.2
>>> dir (which didn't already have a data dir).
>>>
>>> Did my best to follow directions by deleting the
>>> apache-archiva-1.1.2/data/archiva/database directory and then searched
>>> for
>>> *.index directories under apache-archiva-1.1.2/data, but didn't find any
>>> to
>>> remove.
>>>
>>> Is there anything else I need to do?
>>>
>>> Thanks in advance,
>>>
>>> --
>>> Gary Weaver
>>> Application and Database Services
>>> Office of Information Technology
>>> Duke University
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
> --
> Gary Weaver
> Application and Database Services
> Office of Information Technology
> Duke University
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: upgrading archiva from v1.0.2 to v1.1.2

Posted by Gary Weaver <ga...@duke.edu>.
Thanks!

Here was my experience with the upgrade:

* I noticed that instead of having to go into the platform specific dir 
under bin/ that there were new archiva and archiva.bat scripts that 
handled stop/stop etc.
* I noticed the port settings now need to be done in jetty.xml instead 
of plexus.xml (that is a bit diff than the wiki page).
* The admin user got removed/didn't make the transition (even though I 
had compressed and exploded the whole data dir and did what I said 
below, so users dir was there). So I just recreated the admin user. :(

According to the instructions you only need to "execute the repository 
and database scanners", but I was a bit unsure what that meant exactly 
(at least for the database stuff), so I did all of this:
* Repository Scanning -> Update Consumers
* Database -> Update Cron
* Database -> Update Database Now
* Database -> Update Consumers (click on this under all sections)
* Repositories -> Scan Repository Now (click on this under all sections)

The slowness went away when building via maven 2 which was the main 
thing I was trying to fix (yay!).

I don't know if that is because some dependence on an external repo that 
was down/slow was fixed or if it was the upgrade though (more likely the 
former than the latter I suppose).

Thanks!

Gary


Arnaud HERITIER wrote:
> If you customized your settings you can have a look at this page :
> http://cwiki.apache.org/confluence/display/ARCHIVA/Upgrading+from+1.0.x+to+1.1.x
>
> Arnaud
>
> On Mon, Sep 29, 2008 at 6:30 PM, Gary Weaver <ga...@duke.edu> wrote:
>
>   
>> Hey everyone,
>>
>> Our internal archiva v1.0.2 instance was being extremely slow this morning
>> for some reason (so maven 2 builds were slow), so I thought I might upgrade
>> to the latest version to see if it would help.
>>
>> After a little while searching I found some info at the bottom of:
>>
>> http://archiva.apache.org/docs/1.1.2/adminguide/standalone.html#Upgrading%20Archiva
>> about upgrading Archiva.
>>
>> I tar/gzipped the (standalone) apache-archiva-1.0.2 dir>/data dir and
>> extracted it into the new/never started (standalone) apache-archiva-1.1.2
>> dir (which didn't already have a data dir).
>>
>> Did my best to follow directions by deleting the
>> apache-archiva-1.1.2/data/archiva/database directory and then searched for
>> *.index directories under apache-archiva-1.1.2/data, but didn't find any to
>> remove.
>>
>> Is there anything else I need to do?
>>
>> Thanks in advance,
>>
>> --
>> Gary Weaver
>> Application and Database Services
>> Office of Information Technology
>> Duke University
>>
>>
>>     
>
>
>   


-- 
Gary Weaver
Application and Database Services
Office of Information Technology
Duke University


Re: upgrading archiva from v1.0.2 to v1.1.2

Posted by Arnaud HERITIER <ah...@gmail.com>.
If you customized your settings you can have a look at this page :
http://cwiki.apache.org/confluence/display/ARCHIVA/Upgrading+from+1.0.x+to+1.1.x

Arnaud

On Mon, Sep 29, 2008 at 6:30 PM, Gary Weaver <ga...@duke.edu> wrote:

> Hey everyone,
>
> Our internal archiva v1.0.2 instance was being extremely slow this morning
> for some reason (so maven 2 builds were slow), so I thought I might upgrade
> to the latest version to see if it would help.
>
> After a little while searching I found some info at the bottom of:
>
> http://archiva.apache.org/docs/1.1.2/adminguide/standalone.html#Upgrading%20Archiva
> about upgrading Archiva.
>
> I tar/gzipped the (standalone) apache-archiva-1.0.2 dir>/data dir and
> extracted it into the new/never started (standalone) apache-archiva-1.1.2
> dir (which didn't already have a data dir).
>
> Did my best to follow directions by deleting the
> apache-archiva-1.1.2/data/archiva/database directory and then searched for
> *.index directories under apache-archiva-1.1.2/data, but didn't find any to
> remove.
>
> Is there anything else I need to do?
>
> Thanks in advance,
>
> --
> Gary Weaver
> Application and Database Services
> Office of Information Technology
> Duke University
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................