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!

    Cannot add/change users in Docker ProGet (latest)

    Scheduled Pinned Locked Moved Support
    proget
    9 Posts 1 Posters 10 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

      Hello! I get this error when I try to change the password for the default admin user, also if I create a new user;

      System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Npgsql.NpgsqlException:
      function xpath(xml, unknown) does not exist
      Severity: ERROR
      Code: 42883
      Hint: No function matches the given name and argument types. You might need to add explicit type casts.
      at Npgsql.NpgsqlState+<ProcessBackendResponses>d__0.MoveNext () [0x00000] in <filename unknown>:0
      at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject (Boolean cleanup) [0x00000] in <filename unknown>:0
      --- End of inner exception stack trace ---
      at System.Web.UI.Page.ProcessException (System.Exception e) [0x00000] in <filename unknown>:0
      at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0
      at System.Web.HttpApplication+<Pipeline>c__Iterator1.MoveNext () [0x00000] in <filename unknown>:0
      at System.Web.HttpApplication.Tick () [0x00000] in <filename unknown>:0

      Product: ProGet
      Version: 3.8.0

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

        ... I also cannot install packages. I managed to push just fine, but I just get an error when running "nuget install package-name" -> "Unable to read package from path 'package-name.1.0.0.0.nupkg".

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

          Should add that I am running Docker 1.8.1 on Ubuntu 14.04.

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

            We'll investigate the password change issue. It's entirely possible that this simply got broken in the last beta release.

            Regarding the package install issue... where are you getting that message? Is the nuget client printing that out? Or is it being logged in ProGet somewhere?

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

              Thanks for the quick response!

              I get the error from the NuGet client. If I try to download the package through the web interface it works.

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

                Alright. I know why the package install does not work.

                When NuGet is trying to find the package, it find the xml file that contains information about the package and where to download it from. The problem with this file (which in this case comes from http://server:8081/nuget/feed/Packages(Id='package-name',Version='1.0.0.0')) contains the download path but without the port number, thus the index file of my web server running on port 80 is downloaded instead.

                I can bypass this for now by just using port 80, but that is the problem!

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

                  Thanks for the detailed info; if the port mapping is different, then you'll need to override the ODataBaseUrl property in the Advanced Settings page.

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

                    Alright thanks, that fixed my problem. I changed it to:

                    http://server:8081/nuget/

                    I still cannot add users though, or change their passwords. I managed to change the admin password by going through "Change password" instead of "Manage Users & Groups".

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

                      Thanks for the bug report! We've reproduced this and have fixed the bug in one of our pgSQL functions that was causing this. We'll have the fix included in the next beta (4.0.2) which will likely be released some time today.

                      FYI- it's the same bug preventing changing the password on that page and adding a new user; we have verified that both are now working.

                      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