Hi,

thanks for the fast answer. I tryd your workaround but without success.

One new point i noticed is that when i "monitor" the import by clicking on
the "home" button in artifactory the number of artifacts served grows up
until the import finished. But when indexing starts the number of served
artifacts goes down until it stops by about 2400.

Any idea what this could be?

Or is there a new way counting the artifacts so that it is normal to see
less artifacts in 2.2.2?





tomerc wrote:
> 
> 
> 
> 
>   
> 
> 
> Hi, 
> 
> Thanks for reporting this, we already identified and fixed the issue: 
> 
> You can track it here: 
> 
> http://issues.jfrog.org/jira/browse/RTFACT-3061 
> 
> The problem is with maven-metadata.xml files in cached repositories. 
> 
> As a workaround, please try to export with .m2 option off (but
> with Metadata included), if this option doesn't exist in Artifactory
> 2.0.5 you can safely remove all maven-metadata.xml files from the
> exported caches, since those files exist only for .m2 format
> compatiblity but the Artifactory metadata folders in your export
> already contain all the maven metadata information needed. 
> 
> P.S. Another more straightforward upgrade option is to follow the
> simple transparent upgrade instructions so you dont have to worry about
> import/export etc... 
> 
> Please see: 
> 
> 
> http://wiki.jfrog.org/confluence/display/RTF/Upgrading+Artifactory 
> 
> Thanks, 
> 
> Tomer Cohen 
> 
> On 04/07/2010 05:00 PM, artiimport wrote:
> 
>   
> Hi,
> 
> added the import.export.log as an attachment.
> 
> hope this helps to find the problem.
> http://old.nabble.com/file/p28165427/import.export.log  import.export.log 
> 
> freddy33 wrote:
>   
>   
>     
> Hi,
> 
> First, a small tip don't use zip format if you don't need to transfer the
> export, it will take time and disk IO for no good reason.
> To analyze the issue, can you activate the verbose checkbox on import and
> send us the full stack trace that should be present in the log?
> 
> Hope it will help,
> Fred.
> 
> On Wed, Apr 7, 2010 at 2:45 PM, artiimport <[email protected]> 
> wrote:
> 
>     
>     
>       
>  Hi all,
> 
> we want to migrate an existing 2.0.5 artifactory server into a new 2.2.2
> artifactory server.
> We used the export/import function of artifactory. Tryd all ( with
> metadata,
> as zip, system/repositorys)
> 
> The old artifactory is serving about 4000 artifacts. The problem is that
> an
> import of system/repositorys does not import all artifacts. After
> finishing
> the import the new artifactory is only serving about 2400 artifacts.
> 
> The only error output we get is in the export-import.log. Example:
> 
> 2010-04-07 13:31:15,108 [WARN ] (o.a.api.common.StatusHolder:174) Error
> importing file: Importing file
> '/opt/test/repositories/repo1-cache/org/codehaus/mojo/maven-metadata.xml'
> into 'repo1-cache': Trying to get session outside transaction scope.
> 
> Hope someone has an idea on how to fix this issue
> 
> greets
> --
> View this message in context:
> http://old.nabble.com/missing-artifacts-%28export-import--2.0.5---2.2.2%29-tp28163792p28163792.html
>  
> Sent from the Artifactory-Users mailing list archive at Nabble.com.
> 
> 
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev 
> _______________________________________________
> Artifactory-users mailing list
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/artifactory-users 
> 
>       
>     
>     
> 
> 
> -- 
> Co. Founder and Chief Architect
> JFrog Ltd
> http://www.jfrog.org/ 
> http://twitter.com/freddy33 
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev 
> _______________________________________________
> Artifactory-users mailing list
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/artifactory-users 
> 
> 
>     
>   
>   
>   
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/missing-artifacts-%28export-import--2.0.5---2.2.2%29-tp28163792p28179088.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to