Unable to view deployment details

Jamal Jawad's Avatar

Jamal Jawad

07 Dec, 2017 09:50 AM

After running a deployment, I tried to select the job to see the progress. I get a long error message and no details (as in previous versions)

Error message is:

The link is not set to a value

Error: The link is not set to a value
e.resolve (http://vsdevbuildsvr1:9090/main.9b06d02413b734578b20.hashedasset.js:1:446456)
t.getRaw (http://vsdevbuildsvr1:9090/main.9b06d02413b734578b20.hashedasset.js:1:443453)
t.getNotes (http://vsdevbuildsvr1:9090/main.9b06d02413b734578b20.hashedasset.js:1:489271)
http://vsdevbuildsvr1:9090/projects.71fb9651da0176de8c63.hashedasset.js:1:1133727
Array.map (<anonymous>)
a.<anonymous> (http://vsdevbuildsvr1:9090/projects.71fb9651da0176de8c63.hashedasset.js:1:1133685)
n (http://vsdevbuildsvr1:9090/projects.71fb9651da0176de8c63.hashedasset.js:1:1119898)
Object.next (http://vsdevbuildsvr1:9090/projects.71fb9651da0176de8c63.hashedasset.js:1:1119233)
http://vsdevbuildsvr1:9090/projects.71fb9651da0176de8c63.hashedasset.js:1:1119142
C (http://vsdevbuildsvr1:9090/vendor.9f5a1908bdd4d9917b91.hashedasset.js:38:2371)

  1. Support Staff 1 Posted by Eddy Ma on 08 Dec, 2017 02:15 AM

    Eddy Ma's Avatar

    Hi Jamal

    I am sorry to hear that you are having this issue, I actually cannot re-produce this locally, would you be able to provide a bit more information to help us to identify the problem,
    1. Which version of Octopus are you running?
    2. What packages are being used by that release and what Feed Type they belong to?
    3. It would be very helpful if you can send us the JSON for each feed related to the Release, you can get it by this URL http://[OctopusURL]/api/feeds/[FeedId], you should be able to get the FeedId from the feed page
    4. Any network error from the browser?

    Regards
    Eddy

  2. 2 Posted by Jamal Jawad on 08 Dec, 2017 09:22 AM

    Jamal Jawad's Avatar

    Hi Eddy,

      1. I’m on v4.1.0. I upgraded recently
      2. Feed type is NuGet from Sonatype Nexus NuGet repository. The package is SQL Server nuget database generated by Redgate DLM tools (via Jenkins job that publishes to Octopus Built-in).
      3. JSON below but happens with other feeds as well:

    {
      "FeedType": "NuGet",
      "DownloadAttempts": 5,
      "DownloadRetryBackoffSeconds": 10,
      "EnhancedMode": false,
      "Name": "Nexus - Vetspace DB Snapshots",
      "FeedUri": "http://vsdevbuildsvr1/nexus/service/local/nuget/vetspace-database-snapshots/",
      "Username": "vbuild",
      "Password": {
        "HasValue": true,
        "NewValue": null
      },
      "Id": "feeds-nexus-snapshots",
      "LastModifiedOn": null,
      "LastModifiedBy": null,
      "Links": {
        "Self": "/api/feeds/feeds-nexus-snapshots",
        "Packages": "/api/feeds/feeds-nexus-snapshots/packages",
        "SearchTemplate": "/api/feeds/feeds-nexus-snapshots/packages{?packageId,partialMatch,includeMultipleVersions,includeNotes,includePreRelease,versionRange,preReleaseTag,take,descriptionsOptional}",
        "VersionsTemplate": "/api/feeds/feeds-nexus-snapshots/packages{?packageIds}",
        "NotesTemplate": "/api/feeds/feeds-nexus-snapshots/packages/notes{?packageId,version}"
      }
    }

    4. No network issues I can see. I checked using Chrome dev tools.

    Note, the issue shows up when I navigate to a release via the Releases link. Screenshot; click on circled links

    [cid:[email blocked]]

  3. Support Staff 3 Posted by Eddy Ma on 10 Dec, 2017 11:09 PM

    Eddy Ma's Avatar

    Hi Jamal

    Can you also send the other feed type JSON files, I would like to see if the Links is present in the JSON as screenshot below. The problem it failed was the hyper media link NotesTemplate is missing and I cannot re-produce locally

    Regards
    Eddy

  4. 4 Posted by Jamal Jawad on 11 Dec, 2017 09:16 AM

    Jamal Jawad's Avatar

    Here are some other feeds we have.

    I should point out that the jobs in Octopus Deploy were created by the Jenkins Octopus Release Plug-in. Perhaps this is the source of the issue?

    {
      "FeedType": "NuGet",
      "DownloadAttempts": 5,
      "DownloadRetryBackoffSeconds": 10,
      "EnhancedMode": false,
      "Name": "Nexus - Merlin DB - Releases",
      "FeedUri": "http://vsdevbuildsvr1/nexus/service/local/nuget/vetspace-database-releases/",
      "Username": "vbuild",
      "Password": {
        "HasValue": true,
        "NewValue": null
      },
      "Id": "feeds-nexus",
      "LastModifiedOn": null,
      "LastModifiedBy": null,
      "Links": {
        "Self": "/api/feeds/feeds-nexus",
        "Packages": "/api/feeds/feeds-nexus/packages",
        "SearchTemplate": "/api/feeds/feeds-nexus/packages{?packageId,partialMatch,includeMultipleVersions,includeNotes,includePreRelease,versionRange,preReleaseTag,take,descriptionsOptional}",
        "VersionsTemplate": "/api/feeds/feeds-nexus/packages{?packageIds}",
        "NotesTemplate": "/api/feeds/feeds-nexus/packages/notes{?packageId,version}"
      }
    }

    The following are some new feeds (since v4.1.0 was introduced) that the process (with the problem) is not using

    {
      "FeedType": "Maven",
      "DownloadAttempts": 5,
      "DownloadRetryBackoffSeconds": 10,
      "Name": "Nexus - Merlin Code - Releases",
      "FeedUri": "http://vsdevbuildsvr1/nexus/content/repositories/vetspace/",
      "Username": "octopus",
      "Password": {
        "HasValue": true,
        "NewValue": null
      },
      "Id": "feeds-merlin-releases-maven",
      "LastModifiedOn": null,
      "LastModifiedBy": null,
      "Links": {
        "Self": "/api/feeds/feeds-merlin-releases-maven",
        "Packages": "/api/feeds/feeds-merlin-releases-maven/packages",
        "SearchTemplate": "/api/feeds/feeds-merlin-releases-maven/packages{?packageId,partialMatch,includeMultipleVersions,includeNotes,includePreRelease,versionRange,preReleaseTag,take,descriptionsOptional}",
        "VersionsTemplate": "/api/feeds/feeds-merlin-releases-maven/packages{?packageIds}",
        "NotesTemplate": "/api/feeds/feeds-merlin-releases-maven/packages/notes{?packageId,version}"
      }
    }

    {
      "FeedType": "Maven",
      "DownloadAttempts": 5,
      "DownloadRetryBackoffSeconds": 10,
      "Name": "Nexus - Merlin Code - Snapshots",
      "FeedUri": "http://vsdevbuildsvr1/nexus/content/repositories/vetspace-snapshots/",
      "Username": "octopus",
      "Password": {
        "HasValue": true,
        "NewValue": null
      },
      "Id": "feeds-merlin-snapshots-maven",
      "LastModifiedOn": null,
      "LastModifiedBy": null,
      "Links": {
        "Self": "/api/feeds/feeds-merlin-snapshots-maven",
        "Packages": "/api/feeds/feeds-merlin-snapshots-maven/packages",
        "SearchTemplate": "/api/feeds/feeds-merlin-snapshots-maven/packages{?packageId,partialMatch,includeMultipleVersions,includeNotes,includePreRelease,versionRange,preReleaseTag,take,descriptionsOptional}",
        "VersionsTemplate": "/api/feeds/feeds-merlin-snapshots-maven/packages{?packageIds}",
        "NotesTemplate": "/api/feeds/feeds-merlin-snapshots-maven/packages/notes{?packageId,version}"
      }
    }

  5. Support Staff 5 Posted by Eddy Ma on 12 Dec, 2017 05:00 AM

    Eddy Ma's Avatar

    Hi Jamal

    We have been trying hard to re-produce the issue without success, so can you please provide a bit more information

    Regards
    Eddy

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • Image_3.png 172 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac