<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[lastLoginInstant data lost during upgrade from 1.57.0 to 1.59.1]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">During the migration of our instance from version 1.57.0 to version 1.59.1, we lost the <code>lastLoginInstant</code> data for almost all of our users.<br />
After checking the database, we found that this data had been set to <code>null</code> in the <code>user</code> table.</p>
<p dir="auto">Is there a known bug logged regarding this issue?<br />
Is there a procedure available to restore or reconcile the data?</p>
<p dir="auto">We have since upgraded to version 1.62.2. The data updates for users who log in again, but it remains missing for users who have not logged in.</p>
<p dir="auto">Thank you in advance for your feedback.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/3166/lastlogininstant-data-lost-during-upgrade-from-1-57-0-to-1-59-1</link><generator>RSS for Node</generator><lastBuildDate>Sun, 18 Oct 2026 09:08:03 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/3166.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Sep 2026 15:25:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to lastLoginInstant data lost during upgrade from 1.57.0 to 1.59.1 on Fri, 16 Oct 2026 12:24:58 GMT]]></title><description><![CDATA[<p dir="auto">Hiya <a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3874">@florent-bossuyt</a> ,</p>
<p dir="auto">Thanks for using FusionAuth.</p>
<p dir="auto">The upgrade to 1.59.0 added support for phone number as a <a href="https://fusionauth.io/docs/release-notes#new-feature--issue-3145--3l0s" rel="nofollow ugc">first class identity</a>. While I don't know for sure, it is possible that impacted <code>lastLoginInstant</code>. I'm not aware of any bug filed.</p>
<p dir="auto">It's also possible you can find the data previously in the <code>lastLoginInstant</code> in the <code>user.identities[x].lastLoginInstant</code> value, available when you <a href="https://fusionauth.io/docs/apis/users/retrieve" rel="nofollow ugc">retrieve a user</a>.</p>
<p dir="auto">Since this is not a known issue, there's no documented procedure for reconciling the data, unfortunately.</p>
<p dir="auto">Here's one approach, though.</p>
<p dir="auto">If you have a database backup of the 1.57.0 release, you could stand up a FusionAuth instance pointing to that, and find all the users with a <code>lastLoginInstant</code> that is not null (set A). You'd then run the same query against your prod instance (set B). Then find the folks in set A who are not in set B (call them set C). Set C are the people you need to update.</p>
<p dir="auto">Unfortunately, you can't update their <code>lastLoginInstant</code> directly. But you can fake a login using the passwordless APIs, which should set it. That is <a href="https://fusionauth.io/community/forum/topic/2422/passwordless-api-can-you-use-the-apis-to-log-in-a-user">outlined here</a>.</p>
<p dir="auto">So you'd want to perform that for all the users in set C.</p>
<p dir="auto">Hope that helps.</p>
]]></description><link>https://fusionauth.io/community/forum/post/8867</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/8867</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Fri, 16 Oct 2026 12:24:58 GMT</pubDate></item></channel></rss>