Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Backup and Restore in Confluence

Hello ,

I am not able to take backup of confluence, it gives

Error: java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)

But the required directory is present and permissions are correct.

 

Please help me rectify this issue.

1 comment

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 24, 2019

What backup process gives you this error?  What file is it complaining about?

Hello ,

So I am trying to do a manual backup which it must store in its default location which is : /var/atlassian/application-data/confluence/backups

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 24, 2019

Ok, and what file is it complaining about?  What is the rest of the error message?

java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:1012)
at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:405)
at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:352)
at com.atlassian.confluence.importexport.actions.BackupAction.execute(BackupAction.java:69)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:33)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.atlassian.xwork.interceptors.XsrfTokenInterceptor.intercept(XsrfTokenInterceptor.java:100)
at com.atlassian.confluence.xwork.ConfluenceXsrfTokenInterceptor.intercept(ConfluenceXsrfTokenInterceptor.java:29)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 24, 2019

Ok, so it either doesn't have the rights to access the directory or file, or it's out of space, or there is a disk error, or you have deleted a directory it needs.

You may be able to find something in the system logs, but check the access first.

permissions are all correct , its daemon.daemon and files and directories are also present.

You need to do some trouble-shooting. The app thinks it can't write the file; you insist it can. Why do you have different opinions?

Like Nic Brough -Adaptavist- likes this
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 26, 2019

@James Bullockis right.

I might have sugar-coated it more, or been more blunt, depending on my mood while reading and writing, but he is right.  The app can't write to the file, and it tells you that.  You do not believe it.  Explain why you think it is wrong? 

I have got this corrected, issue was the backup file path was misleading in the administration panel, when I checked in db in table "BANDANA" it was different. Corrected that and it worked!

 

Thanks

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events