<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1207 Users are unable to log in to Appian and a "User does not exist" error is thrown in the application server log</title><link>https://community.appian.com/support/w/kb/423/kb-1207-users-are-unable-to-log-in-to-appian-and-a-user-does-not-exist-error-is-thrown-in-the-application-server-log</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1207 Users are unable to log in to Appian and a "User does not exist" error is thrown in the application server log</title><link>https://community.appian.com/support/w/kb/423/kb-1207-users-are-unable-to-log-in-to-appian-and-a-user-does-not-exist-error-is-thrown-in-the-application-server-log</link><pubDate>Mon, 23 Jul 2018 17:37:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f4fa1eb1-011d-4936-9eea-f6b8c68d691a</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/423/kb-1207-users-are-unable-to-log-in-to-appian-and-a-user-does-not-exist-error-is-thrown-in-the-application-server-log#comments</comments><description>Current Revision posted to Appian Knowledge Base by Jordan Horwat on 7/23/2018 5:37:37 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Certain users are unable to login to the site and fail with the following error in the logs:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR com.appiancorp.security.auth.AppianPortalSessionAuthenticationStrategy - com.appiancorp.suiteapi.common.exceptions.InvalidUserException: User does not exist
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Running a &lt;code&gt;checkengine -s -u&lt;/code&gt; lists the missing user in its output as well.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This usually happens when the users aren&amp;rsquo;t propagated across all engines.&lt;/p&gt;
&lt;p&gt;If the rename plugin was used for this user, do NOT follow the action listed below. Open a support case to investigate this further.&lt;/p&gt;
&lt;p&gt;If this is after a migration, verify the logs of type &lt;strong&gt;db_*.log&lt;/strong&gt; for all Appian engines and confirm the migration message appears on all of them and that the ID of the engine database file &lt;strong&gt;*.kdb&lt;/strong&gt; corresponds to the migrated one.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Run the checkengine script with the &lt;code&gt;cu&lt;/code&gt; flags, so it would look like &lt;code&gt;./checkengine.sh -cu&lt;/code&gt;. If you execute this script after running the Rename User plug-in, this could cause further problems. Please open a support case if the above symptoms come up after running the missing user plug-in.&lt;/p&gt;
&lt;p&gt;More information on the checkengine script can be found &lt;a href="https://docs.appian.com/suite/help/latest/Troubleshooting_with_Diagnostic_Scripts.html"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 16.1 and earlier.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: July 2016&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, installation, users, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>KB-1207 Users are unable to log in to Appian and a "User does not exist" error is thrown in the application server log</title><link>https://community.appian.com/support/w/kb/423/kb-1207-users-are-unable-to-log-in-to-appian-and-a-user-does-not-exist-error-is-thrown-in-the-application-server-log/revision/1</link><pubDate>Mon, 06 Mar 2017 20:41:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f4fa1eb1-011d-4936-9eea-f6b8c68d691a</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/423/kb-1207-users-are-unable-to-log-in-to-appian-and-a-user-does-not-exist-error-is-thrown-in-the-application-server-log#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 3/6/2017 8:41:46 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Certain users are unable to login to the site and fail with the following error in the logs:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR com.appiancorp.security.auth.AppianPortalSessionAuthenticationStrategy - com.appiancorp.suiteapi.common.exceptions.InvalidUserException: User does not exist
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Running a &lt;code&gt;checkengine -s -u&lt;/code&gt; lists the missing user in its output as well.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This usually happens when the users aren&amp;rsquo;t propagated across all engines.&lt;/p&gt;
&lt;p&gt;If the rename plugin was used for this user, do NOT follow the action listed below. Open a support case to investigate this further.&lt;/p&gt;
&lt;p&gt;If this is after a migration, verify the logs of type &lt;strong&gt;db_*.log&lt;/strong&gt; for all Appian engines and confirm the migration message appears on all of them and that the ID of the engine database file &lt;strong&gt;*.kdb&lt;/strong&gt; corresponds to the migrated one.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Run the checkengine script with the &lt;code&gt;cu&lt;/code&gt; flags, so it would look like &lt;code&gt;./checkengine.sh -cu&lt;/code&gt;. If you execute this script after running the Rename User plug-in, this could cause further problems. Please open a support case if the above symptoms come up after running the missing user plug-in.&lt;/p&gt;
&lt;p&gt;More information on the checkengine script can be found &lt;a href="https://docs.appian.com/suite/help/latest/Troubleshooting_with_Diagnostic_Scripts.html"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 16.1 and earlier.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: July 2016&lt;/p&gt;
&lt;/div&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, users, upgrade&lt;/div&gt;
</description></item></channel></rss>