Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Deleted default feed... can't create any feeds now!

    Scheduled Pinned Locked Moved Support
    proget
    4 Posts 1 Posters 0 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      I was having issues with the feed showing cached results after removing a connector, so I decided to recreate the feed. I deleted my one and only feed and ended up on an error page. When I go back to the configuration screen, there aren't any options to create a new feed.

      Any help would be appreciated!

      Product: ProGet
      Version: 3.4.7

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        This is a bug that was introduced by hiding the create link when a user does not have access to edit any feed.... which is clearly true when there are no feeds...

        Anyway, you can browse to the Create link directly and add one back: http://proget/administration/feeds/feed

        We'll have a fix for this in the next maintenance release as well.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          I ran into this exact same problem. Via Reflector and SQL Server Management Studio, I discovered that 'Default' has a special meaning - like, the name is actually hard-coded into some stored procs and so on.

          I got out of the situation by manually calling the stored procedure to re-create the default feed. Once you do that, you can edit the feed and set it up the way you like.

          USE [ProGet]
          GO
          
          DECLARE @RC int
          DECLARE @Feed_Id int
          DECLARE @Feed_Name nvarchar(50)
          DECLARE @Feed_Description nvarchar(max)
          DECLARE @Active_Indicator YNINDICATOR
          DECLARE @Cache_Connectors_Indicator YNINDICATOR
          DECLARE @FeedPathOverride_Text nvarchar(260)
          DECLARE @APIKey_Text nvarchar(100)
          DECLARE @SymbolServerEnabled_Indicator YNINDICATOR
          DECLARE @PackageStore_Configuration varchar(max)
          DECLARE @FeedType_Code char(1)
          DECLARE @StripSymbolFiles_Indicator YNINDICATOR
          DECLARE @DropPath_Text nvarchar(260)
          
          SET @Feed_Id = NULL
          SET @Feed_Name = 'Default'
          SET @Feed_Description = 'Default NuGet feed.'
          SET @Active_Indicator = 'Y'
          SET @Cache_Connectors_Indicator = 'N'
          SET @FeedPathOverride_Text = NULL
          SET @APIKey_Text = NULL
          SET @SymbolServerEnabled_Indicator = 'N'
          SET @PackageStore_Configuration = NULL
          SET @FeedType_Code = 'N'
          SET @StripSymbolFiles_Indicator = 'N'
          SET @DropPath_Text = NULL
          
          EXECUTE @RC = [dbo].[Feeds_CreateOrUpdateFeed] 
             @Feed_Id OUTPUT
            ,@Feed_Name
            ,@Feed_Description
            ,@Active_Indicator
            ,@Cache_Connectors_Indicator
            ,@FeedPathOverride_Text
            ,@APIKey_Text
            ,@SymbolServerEnabled_Indicator
            ,@PackageStore_Configuration
            ,@FeedType_Code
            ,@StripSymbolFiles_Indicator
            ,@DropPath_Text
          GO
          

          Note I'm not ProGet support or anything, so execute this at your own risk, but this is the exact code that worked for me.

          From a product improvement perspective, ProGet should allow the Default feed to be removed.

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            I like the web page solution better than my SQL solution. :) Let's go with that.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation