# User profile page is not found (404) - emails not showing

**URL:** https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571
**Category:** Support
**Created:** [September 14, 2019, 1:10pm UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571 "2019-09-14T13:10:43Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![daath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daath/32/115536_2.png) [@daath](https://meta.discourse.org/u/daath)
#### Post date: [September 14, 2019, 1:10pm UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/1 "2019-09-14T13:10:43Z")

</div>

One of my users contacted me - their avatar suddenly became “standard” (silhouette icon) - Button to PM the user is greyed out. I went to the admin, searched her up and tried to reveal the email, because I thought because of the avatar change the forum email might have changed, but nothing happens when I click show email. This is in the console:

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/b/1bd79bd43f6401f6576375fb350c0381f637c4da.png)

Clicking her profile from the forum or from the admin page (Show public profile) gives me a 404.

I am worried this is also happening to other users, but I haven’t heard of anyone else yet. I found one other that looks the same.

What could be wrong? The software should be up to date.

She can still read and post. I can’t change her username or impersonate her.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 14, 2019, 10:40pm UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/2 "2019-09-14T22:40:34Z")

</div>

Is this a new user? What trust level is the user? Anything weird about the account when visiting the admin tab for their account?

---

<div class="post-metadata">

### Author: ![daath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daath/32/115536_2.png) [@daath](https://meta.discourse.org/u/daath)
#### Post date: [September 14, 2019, 11:05pm UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/3 "2019-09-14T23:05:19Z")

</div>

Well, because I cannot click her name, I can only search her up in the admin - users interface - from there, I can see that her avatar is indeed wrong (the silhouette). The admin page doesn’t look particularly weird apart from that.

She’s trust level 3 - regular.

The account is about 4 years old, so not new - she’s a very active user with tons of posts. It’s a pretty recent thing, because she’s also been pretty active in personal messages. Of course you can’t send her anything anymore, because of this.

She can still use the site, like read and reply. The system even sends her emails.

---

<div class="post-metadata">

### Author: ![daath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daath/32/115536_2.png) [@daath](https://meta.discourse.org/u/daath)
#### Post date: [September 14, 2019, 11:06pm UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/4 "2019-09-14T23:06:41Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/3X/d/a/da7bb86f50a64929e15dfb913cd31784148fddae.png)

---

<div class="post-metadata">

### Author: ![daath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daath/32/115536_2.png) [@daath](https://meta.discourse.org/u/daath)
#### Post date: [September 14, 2019, 11:08pm UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/5 "2019-09-14T23:08:38Z")

</div>

I am just seeing now, that she is not the only one - Someone created a topic on my forum about it:

> **[User profile issues?](https://forum.e-liquid-recipes.com/t/user-profile-issues/228976)**
>
> I’ve been noticing some weird issues lately and I’ve heard I’m not the only one. Clicking on user avatars usually gives a pop-up with info, msg button etc. Some profiles don’t have this anymore and their avatar has been replaced by a placeholder....

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 15, 2019, 2:35am UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/6 "2019-09-15T02:35:30Z")

</div>

Are you on the latest version of Discourse? Please update to latest if you are not.

Are you running any third-party plugins?

---

<div class="post-metadata">

### Author: ![daath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daath/32/115536_2.png) [@daath](https://meta.discourse.org/u/daath)
#### Post date: [September 15, 2019, 2:38am UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/7 "2019-09-15T02:38:12Z")

</div>

I’m using the latest. I’m running:

- [discourse-affiliate](https://github.com/discourse/discourse-affiliate) 0.2
- [discourse-spoiler-alert](https://github.com/discourse/discourse-spoiler-alert) 0.4
- [docker\_manager](https://github.com/discourse/docker_manager) 0.1
- [retort](https://github.com/gdpelican/retort) 1.1.10

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 15, 2019, 2:45am UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/8 "2019-09-15T02:45:05Z")

</div>

Retort is a possible source, I guess? You could try quickly rebuilding with retort disabled and see if that helps?

---

<div class="post-metadata">

### Author: ![daath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daath/32/115536_2.png) [@daath](https://meta.discourse.org/u/daath)
#### Post date: [September 15, 2019, 11:36am UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/9 "2019-09-15T11:36:57Z")

</div>

I disabled it, then did ./launcher rebuid app - but still the same.  
Is it enough to disable from the web interface or should I comment out the line in app.yml?

EDIT: Commented retort out in app.yml and rebuilt again - same thing ☹

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 15, 2019, 12:26pm UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/11 "2019-09-15T12:26:23Z")

</div>

This is a weird one maybe you can look into it Monday @dax?

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [September 16, 2019, 5:19pm UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/12 "2019-09-16T17:19:56Z")

</div>

There is nothing obvious about the reason why the profiles of these 2 users returning a 404 error. Can you check the site logs and see if you find something relevant when you click on their avatars?

---

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [September 16, 2019, 5:46pm UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/13 "2019-09-16T17:46:26Z")

</div>

I’m experiencing the same issue on some old accounts as well: I can access the admin page, but the email field won’t show, and the user profile returns a 404. I have an unconfirmed suspicion that this is somehow caused by usernames that are identical except for an underscore (in my case ‘MissB’ and ‘Miss\_B’ - the underscore is a remnant from a vBulletin import). Both accounts had this issue, but on one of them it has since disappeared (the one with the underscore is still having the same problem).

---

<div class="post-metadata">

### Author: ![daath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daath/32/115536_2.png) [@daath](https://meta.discourse.org/u/daath)
#### Post date: [September 16, 2019, 6:06pm UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/14 "2019-09-16T18:06:03Z")

</div>

I can see there are a smokyblue and a smoky\_blue - there were also a Pro\_Vapes user that had the issue, but his profile works now?!

I found another one, MixedUp (now called MixedUp1?) And Vapemixer is another user.

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/e/ce857914c83160dc5f36647e13d2476658dd85f3.png)

They’re easy to spot with that avatar …

Jyst FYI - I am using SSO.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 17, 2019, 3:12am UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/15 "2019-09-17T03:12:05Z")

</div>

Oh, so maybe SSO is interfering here and changing the state of the accounts somehow?

Migrated accounts from previous software that are not active is a different issue @bartv

---

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [September 17, 2019, 5:38am UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/16 "2019-09-17T05:38:18Z")

</div>

I don’t think that’s the issue here - the MissB account was created after the migration (sorry, I wasnt’ specific there).

So:

- MissB - created after migration
- Miss\_B - created before migration

When I rename MissB to MissBTest I can show the email and user profile. When I rename it back, the problem returns (also, MissB can’t log in with his username, logging in with email worked ~~or reset his password~~ ).

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 17, 2019, 5:54am UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/17 "2019-09-17T05:54:05Z")

</div>

> [@bartv](#):
>
> MissB can’t log in or reset his password

Why not? Do the emails not match on the account? For old migrated accounts, as long as you control the email associated with the account, you should be able to get back in.

---

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [September 17, 2019, 5:56am UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/18 "2019-09-17T05:56:10Z")

</div>

MissB is not a migrated account. Apparently he could not log in using a username+password, but he finally did succeed with email+password.

I have a sneaking suspucion that some username lookup returns \> 1 results when usernames only differ by one \_ character, and that this breaks things.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 17, 2019, 5:57am UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/19 "2019-09-17T05:57:53Z")

</div>

So you think this is related to having two nearly identical usernames? 🤔

@daath is this also a pattern in your examples? Near identical usernames and duplicate accounts?

---

<div class="post-metadata">

### Author: ![daath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daath/32/115536_2.png) [@daath](https://meta.discourse.org/u/daath)
#### Post date: [September 17, 2019, 10:05am UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/20 "2019-09-17T10:05:44Z")

</div>

Hard to tell - I don’t think the nearly identical usernames is the reason in one of the cases, but then again, his profile suddenly works again.

When Discourse detects a username from my main site that clashes it just named it “UsernameX” where X is the next available number that makes an available username (my main site doesn’t have usernames, but display names that doesn’t need to be unique).

My feeling is that something else is going on, but I can’t spot what it is. The accounts I’ve spotted were all over a year old though.

The problem on my site isn’t widespread, but it’s super annoying to the active ones (though only SmokyBlue comes to mind right now).

---

<div class="post-metadata">

### Author: ![daath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daath/32/115536_2.png) [@daath](https://meta.discourse.org/u/daath)
#### Post date: [September 17, 2019, 1:06pm UTC](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571/21 "2019-09-17T13:06:49Z")

</div>

I have done nothing, really, and right now her profile is working:

Profile page:

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/d/ad3581342b4c3ef10d6a1930a25aafafdda77a33.png)

Activity page:

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/e/9ecbf4e90a559a44c62a31fe2bc97a905ec73421.png)

Card:

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/4/04450d82ba9b3fa1d1d994711b7ab5273d2d6e4c.png)

Note how her avatar in the thread is still borked.

And now, a minute after it stopped working?! What is going on? 😕

[Next page](https://meta.discourse.org/t/user-profile-page-is-not-found-404-emails-not-showing/128571.md?page=2)
