On Wed, Nov 11, 2009 at 6:36 PM, jshap999
<[email protected]>wrote:

>
> You are correct.  Thanks for clearing that up.  I did a dump from my
> production server and imported it into my test server.  I was able to
> verify
> that the prescribed fix works.  Other questions arose however.  What is
> annotate permission?


Starting with 2.1 users can attach searchable properties to artifacts and
folders, via the UI or via REST. You need to have the 'annotate' permission
in order to be able to tag artifacts with properties. You can find more
information on this in the following user guide pages:
http://wiki.jfrog.org/confluence/display/RTF/Attaching+and+Reading+Metadata
http://wiki.jfrog.org/confluence/display/RTF/Properties

You may also find this blog entry relevant, pertaining to using properties
set in deployment time to do natural artifacts staging and promotion:
http://blogs.jfrog.org/2009/11/search-based-promotion-staging-and.html


> My test server is finished indexing but has about 3500
> less artifacts.  What happened to the rest?


This is most likely caused by a bug in the 2.0.4 storage cleanup, that
leaves stale information about deleted/overwritten artifacts in the index
(artifacts count is returned from an index query, not from actual record
count). If your upgrade (import in your case) went fine without any errors,
then all your original artifacts should be there.


> If I point to the old data
> instead of doing a dump and load will the data be transformed preventing
> rollback?  We will probably wait for the fix before upgrading from 2.0.4,
> what does the release schedule look like?
>

Technically speaking, the data itself will not be transformed, only
metadata, but the bottom line is there is no rollback for an upgraded
installation. However, like I explained, I don't think the artifact count
issue is a bug, but an old stale index that is now correct. If you are
concerned about this, you can verify it by comparing the exports from the
two different versions (and please let our support know if you still think
there is a bug).


> Bonus question:
> We've noticed that our 2.0.4 standalone install running with derby and
> 24500
> artifacts uses a lot of CPU.  Are there suggestions for reducing that load?


Check that you are not running the nexus indexer on too
many repositories too often, and that automatic backups are not set to
create zip archives - both scenarios can be very CPU demanding. It may also
be related to your VM settings.
BTW, it is important to mention that
2.1.2 contains many performance improvements and that the storage engine
specifically has been optimized for high concurrency and better caching and
is a lot faster.


>
> Yoav Landman-3 wrote:
> >
> > A possible explanation for this is you were looking at the read-only
> > view of permissions-per-group (Admin:Security:Groups, then Permissions
> > per group). This would show the seemingly right permissions. To
> > restore the permissions you need to go to Admin:Security:Permissions,
> > and for each Target select the Groups tab give the group the desired
> > privileges and save.
> > If this still doesn't sound right, it'd be faster to assist you
> > directly. It should be a simple issue to resolve.
> >
> >
> > On Tue, Nov 10, 2009 at 5:58 PM, jshap999
> > <[email protected]> wrote:
> >>
> >> This isn't sounding quite right to me.  When we were running 2.1.2 the
> >> group
> >> showed the appropriate permissions checked for each repository.  Each
> >> user
> >> showed that they were in the appropriate group.  When I checked
> >> permissions
> >> for the user they had none and as expected if I logged in as a user I
> >> could
> >> see no artifacts nor could I download any during a maven build.  What is
> >> it
> >> you are asking me to do?  Am I supposed to uncheck, save and recheck,
> >> save?
> >>
> >>
> >>
> >>
> >> tomerc wrote:
> >>>
> >>> Hi Justin,
> >>>
> >>> I was able to re-produce your issue.
> >>>
> >>> The problem stems from a conversion issue of your old security.xml to a
> >>> new one compliant with the new version of Artifactory.
> >>>
> >>> As an intermediate solution:
> >>> Please log in with an admin user to your permissions in
> >>> Admin:Security:Permissions and in the "Groups" tab enable the
> >>> authorization for each group for each permission target.
> >>>
> >>> You can track the issue here:
> >>> http://issues.jfrog.org/jira/browse/RTFACT-2334
> >>>
> >>> Thanks,
> >>>
> >>> Tomer Cohen
> >>> The Artifactory Team
> >>> http://www.jfrog.org
> >>>
> >>>
> >>>
> >>> Yoav Landman-3 wrote:
> >>>>
> >>>> You can send your config files to [email protected].
> >>>>
> >>>> On Mon, Nov 9, 2009 at 9:26 PM, jshap999
> >>>> <[email protected]> wrote:
> >>>>>
> >>>>> I read that about the upgrades but wanted to make sure I could roll
> >>>>> back.
> >>>>> Where can I send the xml files?
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> Yoav Landman-3 wrote:
> >>>>>>
> >>>>>> $ARTIFACTORY_HOME/etc/artifactory.config.startup.xml, and the
> >>>>>> artifactory.config.xml and security.xml from your 2.0.4 export.
> >>>>>> PS to upgrade to 2.1.x from 2.0.x there's no need to export/import -
> >>>>>> simply replacing the war will work (or for standalone, the war + a
> >>>>>> couple of jars:
> >>>>>> http://wiki.jfrog.org/confluence/display/RTF/Upgrading+Artifactory
> ).
> >>>>>>
> >>>>>> On Mon, Nov 9, 2009 at 8:26 PM, jshap999
> >>>>>> <[email protected]> wrote:
> >>>>>>>
> >>>>>>> Yes, logs are full of access denied messages.  User's no longer had
> >>>>>>> access to
> >>>>>>> any artifacts stored in artifactory, local or remote.  All was
> >>>>>>> working
> >>>>>>> fine
> >>>>>>> in 2.0.4 which we have returned to so I can't access anything from
> >>>>>>> the
> >>>>>>> 2.1.2
> >>>>>>> ui for you.  Any logs or configuration written to disk by 2.1.2 are
> >>>>>>> available.  Method of upgrade was system export of 2.0.4, shut
> down,
> >>>>>>> bring
> >>>>>>> up 2.1.2, system import.  If there is something on disk I can send
> >>>>>>> let
> >>>>>>> me
> >>>>>>> know.
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Yoav Landman-3 wrote:
> >>>>>>>>
> >>>>>>>> Are those already deployed artifacts or remote artifacts that you
> >>>>>>>> expect artifactory to cache? In the second case, make sure the
> >>>>>>>> group
> >>>>>>>> has a 'deploy' permission to the remote repository (artifactory
> >>>>>>>> treats
> >>>>>>>> cache population as 'deployment').
> >>>>>>>> Also check the server's 'access.log' and 'artifactory.log' - it
> >>>>>>>> should
> >>>>>>>> contain access denied log messages if your problem is related to
> >>>>>>>> permissions.
> >>>>>>>> Otherwise, you can also copy the configs from the UI
> >>>>>>>> (Admin:Advanced:Config Descriptor + Admin:Advanced:Security
> >>>>>>>> Descriptor) and send it to us so we can tell you if there's
> >>>>>>>> something
> >>>>>>>> wrong with it.
> >>>>>>>>
> >>>>>>>> On Mon, Nov 9, 2009 at 7:12 PM, jshap999
> >>>>>>>> <[email protected]> wrote:
> >>>>>>>>>
> >>>>>>>>> I tried to upgrade from 2.0.4 to 2.1.2 over the weekend but ended
> >>>>>>>>> up
> >>>>>>>>> rolling
> >>>>>>>>> back.  Everything looked fine in the gui but no one could
> download
> >>>>>>>>> artifacts.  We have one main group that looked like it still had
> >>>>>>>>> the
> >>>>>>>>> correct
> >>>>>>>>> permissions and each user was still a member of that group.
>  Don't
> >>>>>>>>> see
> >>>>>>>>> any
> >>>>>>>>> failures in the import log other than "No metadata files found
> for
> >>>>>>>>> ..."
> >>>>>>>>> --
> >>>>>>>>> View this message in context:
> >>>>>>>>>
> http://old.nabble.com/Authorization-failures-after-upgrade-to-2.1.2-tp26270046p26270046.html
> >>>>>>>>> Sent from the Artifactory-Users mailing list archive at
> >>>>>>>>> Nabble.com.
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> ------------------------------------------------------------------------------
> >>>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports
> >>>>>>>>> 2008
> >>>>>>>>> 30-Day
> >>>>>>>>> trial. Simplify your report design, integration and deployment -
> >>>>>>>>> and
> >>>>>>>>> focus on
> >>>>>>>>> what you do best, core application coding. Discover what's new
> >>>>>>>>> with
> >>>>>>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> >>>>>>>>> _______________________________________________
> >>>>>>>>> Artifactory-users mailing list
> >>>>>>>>> [email protected]
> >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> ------------------------------------------------------------------------------
> >>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports
> >>>>>>>> 2008
> >>>>>>>> 30-Day
> >>>>>>>> trial. Simplify your report design, integration and deployment -
> >>>>>>>> and
> >>>>>>>> focus
> >>>>>>>> on
> >>>>>>>> what you do best, core application coding. Discover what's new
> with
> >>>>>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> >>>>>>>> _______________________________________________
> >>>>>>>> Artifactory-users mailing list
> >>>>>>>> [email protected]
> >>>>>>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> View this message in context:
> >>>>>>>
> http://old.nabble.com/Authorization-failures-after-upgrade-to-2.1.2-tp26270046p26271272.html
> >>>>>>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
> >>>>>>>
> >>>>>>>
> >>>>>>>
> ------------------------------------------------------------------------------
> >>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports
> 2008
> >>>>>>> 30-Day
> >>>>>>> trial. Simplify your report design, integration and deployment -
> and
> >>>>>>> focus on
> >>>>>>> what you do best, core application coding. Discover what's new with
> >>>>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> >>>>>>> _______________________________________________
> >>>>>>> Artifactory-users mailing list
> >>>>>>> [email protected]
> >>>>>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >>>>>>>
> >>>>>>
> >>>>>>
> ------------------------------------------------------------------------------
> >>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> >>>>>> 30-Day
> >>>>>> trial. Simplify your report design, integration and deployment - and
> >>>>>> focus
> >>>>>> on
> >>>>>> what you do best, core application coding. Discover what's new with
> >>>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> >>>>>> _______________________________________________
> >>>>>> Artifactory-users mailing list
> >>>>>> [email protected]
> >>>>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> --
> >>>>> View this message in context:
> >>>>>
> http://old.nabble.com/Authorization-failures-after-upgrade-to-2.1.2-tp26270046p26272210.html
> >>>>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
> >>>>>
> >>>>>
> >>>>>
> ------------------------------------------------------------------------------
> >>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> >>>>> 30-Day
> >>>>> trial. Simplify your report design, integration and deployment - and
> >>>>> focus on
> >>>>> what you do best, core application coding. Discover what's new with
> >>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> >>>>> _______________________________________________
> >>>>> Artifactory-users mailing list
> >>>>> [email protected]
> >>>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >>>>>
> >>>>
> >>>>
> ------------------------------------------------------------------------------
> >>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> >>>> 30-Day
> >>>> trial. Simplify your report design, integration and deployment - and
> >>>> focus on
> >>>> what you do best, core application coding. Discover what's new with
> >>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> >>>> _______________________________________________
> >>>> Artifactory-users mailing list
> >>>> [email protected]
> >>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >>>>
> >>>>
> >>>
> >>>
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Authorization-failures-after-upgrade-to-2.1.2-tp26270046p26285941.html
> >> Sent from the Artifactory-Users mailing list archive at Nabble.com.
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> >> 30-Day
> >> trial. Simplify your report design, integration and deployment - and
> >> focus on
> >> what you do best, core application coding. Discover what's new with
> >> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> >> _______________________________________________
> >> Artifactory-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >>
> >
> >
> ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> > 30-Day
> > trial. Simplify your report design, integration and deployment - and
> focus
> > on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > Artifactory-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Authorization-failures-after-upgrade-to-2.1.2-tp26270046p26304327.html
> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to