<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ArcGIS Server services missing after upgrading to 2024.0 in ArcGIS Monitor Questions</title>
    <link>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1534611#M2167</link>
    <description>&lt;P&gt;Wonderful, thanks Josh! I just walked through your procedure on my call with Support and I can confirm my services are back&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2024 18:18:28 GMT</pubDate>
    <dc:creator>ChrisTaylor2</dc:creator>
    <dc:date>2024-09-03T18:18:28Z</dc:date>
    <item>
      <title>ArcGIS Server services missing after upgrading to 2024.0</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1528809#M2147</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm excited to start playing around with the 2024.0 release! I have a Dev ArcGIS Monitor site and performed the upgrade there yesterday afternoon. I noticed after installing and registering all of the agents on my ArcGIS Server machines that the sites (which had been previously configured in 2023.3.1) were now showing up in my Discovered Components. From there I went through the Register steps and the sites now show up under 'ArcGIS Server', with what is presumably their original Created At dates. However, no service components are showing up at all.&lt;/P&gt;&lt;P&gt;I tried restarting the Monitor Server and Agent services on the Monitor server, as well as the Agent service on one of the ArcGIS Server machines, but it didn't make a difference. I haven't tried unregistering and re-registering an ArcGIS Server site yet since I'm not sure whether that would wipe out all of the metrics configuration work I had done on the sites and/or services, and thought I'd better reach out here first.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 17:05:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1528809#M2147</guid>
      <dc:creator>ChrisTaylor2</dc:creator>
      <dc:date>2024-08-28T17:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server services missing after upgrading to 2024.0</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1528944#M2148</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/184200"&gt;@ChrisTaylor2&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Sorry to hear your services aren't showing up post-upgrade. We think we have a good understanding of what is happening. Can you submit a case with Esri Support so they can triage this a bit further and provide additional information to the dev team?&lt;/P&gt;&lt;P&gt;By the way, please do not unregister the ArcGIS Server sites. We should be able to recover the services and still leave your configuration in tact.&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 19:12:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1528944#M2148</guid>
      <dc:creator>GeoJosh</dc:creator>
      <dc:date>2024-08-28T19:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server services missing after upgrading to 2024.0</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1528948#M2149</link>
      <description>&lt;P&gt;Absolutely - will do Josh and thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 19:14:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1528948#M2149</guid>
      <dc:creator>ChrisTaylor2</dc:creator>
      <dc:date>2024-08-28T19:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server services missing after upgrading to 2024.0</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1533302#M2155</link>
      <description>&lt;P&gt;If you don't mind losing data, which I didn't. I unregistered the ArcGIS Server component, then &lt;A href="https://doc.arcgis.com/en/monitor/latest/administration/windows/manage-monitor-agent-machines.htm" target="_self"&gt;disconnected&lt;/A&gt; the agent from both servers in the site and registered it again on both.&amp;nbsp; This time registering the ArcGIS Server from the discovered components brought in all of the services.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 13:34:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1533302#M2155</guid>
      <dc:creator>Justin_Greco</dc:creator>
      <dc:date>2024-08-30T13:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server services missing after upgrading to 2024.0</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1533371#M2156</link>
      <description>&lt;P&gt;That's good to know, thanks. I have a session scheduled with Support on Tuesday to dig into the issue further and will report back any findings. I don't really mind losing data in Dev but am more worried about what will happen when I go to upgrade Prod.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 14:47:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1533371#M2156</guid>
      <dc:creator>ChrisTaylor2</dc:creator>
      <dc:date>2024-08-30T14:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server services missing after upgrading to 2024.0</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1534422#M2163</link>
      <description>&lt;P&gt;Hi everyone. The development team has identified the issue and provided the solution to Esri Support. I also want to provide the solution here for those who are comfortable running SQL commands against PostgreSQL databases. &lt;STRONG&gt;If you do not have experience administering PostgreSQL, please reach out to Esri Support for help performing this workflow.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The cause of this issue is a small bug in the upgrade process that leaves all child components (service, storage, and connector) in the &lt;STRONG&gt;migrated&lt;/STRONG&gt; state after an agent is configured on the host machine, whereas the state of these components should be changed to &lt;STRONG&gt;monitored&lt;/STRONG&gt; at that point in time. The solution is to 1) identify all of the effected components and 2) update their state from &lt;STRONG&gt;migrated &lt;/STRONG&gt;to&lt;STRONG&gt; monitored&lt;/STRONG&gt;. Here are the steps to do so:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Stop the ArcGIS Monitor Server service.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Connect to the ArcGIS Monitor database in pgAdmin.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Open a new query window.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Issue the query below, which will list all of the child components whose state is &lt;STRONG&gt;migrated &lt;/STRONG&gt;but whose parent component state is &lt;STRONG&gt;monitored&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;SELECT * FROM "components" AS "C1"
    WHERE
    STATE = 'migrated'
    AND EXISTS (
    SELECT
    *
    FROM
    "components" AS "C2"
    INNER JOIN "component_connections" ON "C2"."id" = "component_connections"."parent_id"
    WHERE
    ((STATE = 'monitored'))
    AND ("C1"."id" = "component_connections"."child_id")
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. If there are one or more results from the query above, issue the query below, which will align the child component states with their parent component (&lt;STRONG&gt;migrated &lt;/STRONG&gt;to &lt;STRONG&gt;monitored&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;UPDATE "components" AS "C1" SET STATE = 'monitored'
    WHERE
    STATE = 'migrated'
    AND EXISTS (
    SELECT
    *
    FROM
    "components" AS "C2"
    INNER JOIN "component_connections" ON "C2"."id" = "component_connections"."parent_id"
    WHERE
    ((STATE = 'monitored'))
    AND ("C1"."id" = "component_connections"."child_id")
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6. &lt;SPAN class=""&gt;&lt;SPAN&gt;Issue the query from step 4 again. If step 5 was successful, no records should be returned by this query.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;7. &lt;SPAN class=""&gt;&lt;SPAN&gt;Start the ArcGIS Monitor Server service&lt;/SPAN&gt;&lt;SPAN&gt; and verify that the service components are now visible via the ArcGIS Monitor web UI.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Alternatively, a patch that addresses this issue will be available in the coming weeks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Josh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 15:59:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1534422#M2163</guid>
      <dc:creator>GeoJosh</dc:creator>
      <dc:date>2024-09-03T15:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server services missing after upgrading to 2024.0</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1534611#M2167</link>
      <description>&lt;P&gt;Wonderful, thanks Josh! I just walked through your procedure on my call with Support and I can confirm my services are back&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 18:18:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1534611#M2167</guid>
      <dc:creator>ChrisTaylor2</dc:creator>
      <dc:date>2024-09-03T18:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server services missing after upgrading to 2024.0</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1542001#M2226</link>
      <description>&lt;P&gt;Thanks, this sql script is definitely handy, but you need to register all the discovered components first. Might be nice to script out the registration part too, as I had to click into 28 discovered components first to get everything back the way it was. Hoping the next upgrade isn't such a manual process.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 15:45:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1542001#M2226</guid>
      <dc:creator>JeffMertzXcel</dc:creator>
      <dc:date>2024-09-24T15:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server services missing after upgrading to 2024.0</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1616559#M2742</link>
      <description>&lt;P&gt;I'm having this issue at 2024.1 upgrading from 2023.2. I tried the troubleshooting steps above and got no results from query 1. Looking at the rows in "components" and "component_connections" it appears that the problem is all of the child components are also in the "migrated" state, so the join clause returns no records. How should I proceed in this situation?&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 17:23:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/arcgis-server-services-missing-after-upgrading-to/m-p/1616559#M2742</guid>
      <dc:creator>JCGuarneri</dc:creator>
      <dc:date>2025-05-20T17:23:32Z</dc:date>
    </item>
  </channel>
</rss>

