Adding to what Kurt said, may I add that if all you need are the logs, why not just generate them directly from the troubleshooting and support page and you get the link to download it?
This avoids all permission related issues.
If however, you want to download directly from Ubuntu, then may I ask how you wanted to do this and did you check that the user you are using has the right permissions?
Also check you have the appropriate permission to write to where you want to copy to.
@Ismael Jimoh I want the log files because , able facing issue while installing JIRA.
So i have to download it through ubuntu and the permission for the files are given to user JIRA, this user is not been created by me . It's automatically created by jira and i dont know its username and password .
Can you please help me out with how to access that user and download the logs in local computer .
Thanks in advance
I can't do this as I have no access to your instance nor do I know how it was setup.
As I mentioned, if you can access your JIRA Home directory, run the command I shared above to confirm who owns and what permissions they have.
Following this, we can then understand or narrow down what the issue itself is.
I just read you can access the file via root user (not best practice but ...)
scp root@<your-server>:/<path to JIRA HOME Log folder> /<folder in local machine to store the data>
The following should help you pull the information.
You will be prompted for credentials of root.
Alternatively, you can zip the folder, move it to a temporary directory that is owned by your actual local user /home/your-user/temp and change permission of the zip file so the owner is your user.
Then use scp to copy it.
Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...