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)



  • 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



  • ... 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".



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



  • 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?



  • 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.



  • 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!



  • 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.



  • 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".



  • 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.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation