Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

500 error when trying to upload project avatar

Sarunas Strasevicius May 14, 2019

After JIRA migration i faced that some project avatars are not visible and then i am trying to upload a new one and submit after resizing - window just blinks and do nothing. Browser console show this error:

 

Failed to load resource: the server responded with a status of 500 ()
batch.js?locale=en:596 ajax[56257501] error : {
successful : false,
status : 500,
statusText : error,
hasData : true,
readyState : 4,
requestId : 56257501,
aborted : undefined,
}

 

I guess this looks like a permission error just don't understand how to resolve it. 

3 answers

1 accepted

0 votes
Answer accepted
Sarunas Strasevicius May 15, 2019

The problem was that after migration attachments and avatars was uploaded manually and write permissions for directories was set to "root:root". Write access to user "jira:jira" solved the issue. 

0 votes
Sid
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2019

Hi @Sarunas Strasevicius ,

Avatars are saved in the Jira-home directory, So make sure those directories have read and write access to the account you are running JIRA

Sarunas Strasevicius May 14, 2019

I am not a very beginner user, so Yes i know all that stuff. My question is mostly about specific problem only with project avatars, so my concerns is:

1. Did a put all permissions to all needed directories? What is the list of all directories to be checked?

2. If it's really a problem of a permissions? Because user avatars and attachments works fine

0 votes
Jakub Sławiński
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2019

Hi @Sarunas Strasevicius ,

 

can you share some logs?

Sarunas Strasevicius May 14, 2019

Could you define which logs you would like to see?

Jakub Sławiński
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 15, 2019

You should look for stack-traces in your server logs, probably atlassian-jira.log.

 

You can find more regarding logging here: https://confluence.atlassian.com/adminjiraserver/logging-and-profiling-938847671.html

Sarunas Strasevicius May 15, 2019

I found it, just i see there are plenty of different logs

Which should i look at?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events