Unable to load project avatar with Error 403 in browser console after upgrade
Platform Notice: Server, Data Center, and Cloud By Request - This article was written for the Atlassian server and data center platforms but may also be useful for Atlassian Cloud customers. If completing instructions in this article would help you, please contact Atlassian Support and mention it.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
After upgraded to Jira 7.x.x, project avatars will be missing and not displayed with Error 403 in browser console as below . The project avatar images also cannot be updated:
診断
環境
- Linux OS
- Jira 7.x.x
原因
The project avatars are stored in $JIRA_HOME/data/avatars directory. The user did not have permission to access the content of that folder.
ソリューション
Change the permission of the JIRA HOME directory to 755-(rwxr-xr-x) by performing the following steps so that The file's owner may read, write, and execute the file in that folder. All others may read and execute the file in the folder. This setting is common for programs that are used by all users:
- Stop JIRA service
Open shell terminal and execute the following command to go to root folder of the JIRA HOME directory
$ cd /var
Then change the permission of the jira-home folder to 755.
$ chmod -R 755 jira-home
- Start JIRA service
For more information please refer to Linux Permissions