Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. sbmatt
    3. Best

    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!

    S Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 5
    • Groups 0

    Posts

    Recent Best Controversial
    • Proget 5.2.13 Upgrade Issue with Docker

      I just upgraded Proget from 5.2.12 to 5.2.13 in Docker using the official image https://hub.docker.com/r/inedo/proget

      The upgraded container would not start.

      docker logs proget
      
      ProGet version is 5.2.13.20.
      Attempting to use shared configuration for ProGet.
      Shared configuration file loaded from /usr/share/Inedo/SharedConfig/ProGet.config.
      No encryption key is configured. Credentials will be stored in plain text.
      Current DB schema version is unknown.
      System.ArgumentException: Keyword not supported: data source
      Parameter name: keyword
        at Npgsql.NpgsqlConnectionStringBuilder.GetProperty (System.String keyword) [0x0001f] in <e79cdc94ec2744279f279146dae83ac3>:0 
        at Npgsql.NpgsqlConnectionStringBuilder.set_Item (System.String keyword, System.Object value) [0x0000c] in <e79cdc94ec2744279f279146dae83ac3>:0 
        at System.Data.Common.DbConnectionStringBuilder.set_ConnectionString (System.String value) [0x00084] in <f3b036cdf45644d58864dfe09bb31bd4>:0 
        at Npgsql.NpgsqlConnectionStringBuilder..ctor (System.String connectionString) [0x00017] in <e79cdc94ec2744279f279146dae83ac3>:0 
        at Npgsql.NpgsqlConnection+<>c__DisplayClass33_0.<set_ConnectionString>b__0 (System.String s) [0x00000] in <e79cdc94ec2744279f279146dae83ac3>:0 
        at System.Collections.Concurrent.ConcurrentDictionary`2[TKey,TValue].GetOrAdd (TKey key, System.Func`2[T,TResult] valueFactory) [0x00034] in <285579f54af44a2ca048dad6be20e190>:0 
        at Npgsql.NpgsqlConnection.set_ConnectionString (System.String value) [0x00020] in <e79cdc94ec2744279f279146dae83ac3>:0 
        at Npgsql.NpgsqlConnection..ctor (System.String connectionString) [0x0000c] in <e79cdc94ec2744279f279146dae83ac3>:0 
        at (wrapper remoting-invoke-with-check) Npgsql.NpgsqlConnection..ctor(string)
        at Inedo.BuildMasterExtensions.PostgreSql.PostgreSqlDatabaseProvider.CreateConnectionAsync () [0x00018] in <12af21c1942f493583c13ed13025eb5e>:0 
        at Inedo.LazyAsync`1[T].GetValueAsync () [0x0018a] in <ee7a5f9ece0745948bcfc1883d4013bb>:0 
        at Inedo.BuildMasterExtensions.PostgreSql.PostgreSqlDatabaseProvider.ExecuteScalarAsync (System.String query, System.Threading.CancellationToken cancellationToken) [0x0008a] in <12af21c1942f493583c13ed13025eb5e>:0 
        at Inedo.BuildMasterExtensions.PostgreSql.PostgreSqlDatabaseProvider.GetStateAsync (System.Threading.CancellationToken cancellationToken) [0x00084] in <12af21c1942f493583c13ed13025eb5e>:0 
        at Inedo.BuildMaster.DatabaseConnections.DatabaseUpdaterProgram`1[TConnection].UpdateAsync () [0x000bc] in <6d489682b1204963b8bdae24f00b0185>:0 
        at Inedo.BuildMaster.DatabaseConnections.DatabaseUpdaterProgram`1[TConnection].RunCommand (System.String commandName) [0x00091] in <6d489682b1204963b8bdae24f00b0185>:0
      
      posted in Support
      S
      sbmatt
    • RE: Proget 5.2.13 Upgrade Issue with Docker

      Hi, thanks very much for your help.

      I'm actually using docker-compose but I seem to have the correct details. Relevant section:

      proget:
          # https://hub.docker.com/r/inedo/proget/tags
          image: inedo/proget:5.2.12
          container_name: proget
          restart: always
          environment:
              - PROGET_DB_TYPE=SqlServer
              - "PROGET_DATABASE=Data Source=sqlserver;Initial Catalog=ProGet;User ID=sa;Password=mypassword;"
          volumes:
              - /etc/localtime:/etc/localtime:ro
              - /mnt/proget/packages:/var/proget/packages
              - /mnt/proget/extensions:/var/proget/extensions
          ports:
              - "5002:80"
      

      The above (with 5.2.12) works perfectly, but if I change the version to 5.2.13 the new container fails to start with the errors above.

      Any ideas?

      posted in Support
      S
      sbmatt
    • 1 / 1