Top navigation bar disappears after upgrade
Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.
After upgrading JIRA, the top navigation bar has disappeared. The issue only happens to few users. For other users, the top bar shows up fine.=
There is nothing strange in the logs.
For the users that do not have the top navigation bar also have a broken avatar in their profile page.
Searching for the default avatar id in the database returns null :
select * from propertystring where id in (select id from propertyentry where property_key like '%avatar.user.default%');
The default user avatar setting is missing in the instance. This is the reason why the avatar for these users is broken. Due to the same reason, the top navigation bar is also missing.
In order to fix the issue we need to insert the default user avatar in the database :
Run this query in the database and note the id:
select id from propertyentry where property_key like '%avatar.user.default%' ;
Run this query and note the id:
select id from avatar where filename like 'Avatar-default%';
Insert the following data in database
insert into propertystring values (<id from step 1>,<id from step 2>);
Alwaysyour data before performing any modifications to the database. If possible, test any alter, insert, update, or delete SQL commands on a staging server first.