java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • strange, but when i force backup to run manually, i got {code}2014-06-18 16:22:18,760 INFO [scheduler_Worker-3] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Backward compatibility for export: Checking... 2014-06-18 16:22:18,762 INFO [scheduler_Worker-3] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Build number 4984: "Upgrade to build number: 4 984" - Ok 2014-06-18 16:22:18,762 INFO [scheduler_Worker-3] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Build number 4950: "Upgrade to build number: 4 950" - Ok 2014-06-18 16:22:18,764 INFO [scheduler_Worker-3] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Build number 4937: "Reindexes all PersonalInfo rmation objects, creating them for any users that do not have one." - Ok 2014-06-18 16:22:18,764 INFO [scheduler_Worker-3] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Build number 4526: "Remove the legacy remotabl e apps plugin from the user installed plugins" - Ok 2014-06-18 16:22:18,764 INFO [scheduler_Worker-3] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Build number 4517: "Migrate all Page Templates using a storage format round-trip conversion" - Not Ok 2014-06-18 16:22:18,765 INFO [scheduler_Worker-3] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Backward compatibility for export: "Migrate al l Page Templates using a storage format round-trip conversion" prevents compatibility before 4517 {code} and then {code} 2014-06-18 16:22:33,730 WARN [scheduler_Worker-3] [activeobjects.confluence.backup.LoggingBackupProgressMonitor] beginBackup Begin Active objects backup, change log level to INFO for com.atlassian.activeobjects.confluence.backup for more detailed logging. 2014-06-18 16:22:35,077 WARN [scheduler_Worker-3] [activeobjects.confluence.backup.LoggingBackupProgressMonitor] endBackup Completed active objects backup. 2014-06-18 16:22:38,777 ERROR [scheduler_Worker-3] [confluence.importexport.impl.BackupJob] executeJob Error while running the scheduled backup java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(Unknown Source) at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:461) at com.atlassian.confluence.importexport.impl.BackupJob.executeJob(BackupJob.java:87) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:65) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:47) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:20) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) 2014-06-18 16:22:46,863 WARN [http-bio-8090-exec-22] [atlassian.confluence.cache.TransactionalCacheFactory] warning Transactional cache update outside transaction. All upd ates to this cache should be performed from a thread with a valid transaction context. {code} in result backup directory is empty
    via by Andrzej Talarek, Efinity,
  • strange, but when i force backup to run manually, i got {code}2014-06-18 16:22:18,760 INFO [scheduler_Worker-3] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Backward compatibility for export: Checking... 2014-06-18 16:22:18,762 INFO [scheduler_Worker-3] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Build number 4984: "Upgrade to build number: 4 984" - Ok 2014-06-18 16:22:18,762 INFO [scheduler_Worker-3] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Build number 4950: "Upgrade to build number: 4 950" - Ok 2014-06-18 16:22:18,764 INFO [scheduler_Worker-3] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Build number 4937: "Reindexes all PersonalInfo rmation objects, creating them for any users that do not have one." - Ok 2014-06-18 16:22:18,764 INFO [scheduler_Worker-3] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Build number 4526: "Remove the legacy remotabl e apps plugin from the user installed plugins" - Ok 2014-06-18 16:22:18,764 INFO [scheduler_Worker-3] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Build number 4517: "Migrate all Page Templates using a storage format round-trip conversion" - Not Ok 2014-06-18 16:22:18,765 INFO [scheduler_Worker-3] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Backward compatibility for export: "Migrate al l Page Templates using a storage format round-trip conversion" prevents compatibility before 4517 {code} and then {code} 2014-06-18 16:22:33,730 WARN [scheduler_Worker-3] [activeobjects.confluence.backup.LoggingBackupProgressMonitor] beginBackup Begin Active objects backup, change log level to INFO for com.atlassian.activeobjects.confluence.backup for more detailed logging. 2014-06-18 16:22:35,077 WARN [scheduler_Worker-3] [activeobjects.confluence.backup.LoggingBackupProgressMonitor] endBackup Completed active objects backup. 2014-06-18 16:22:38,777 ERROR [scheduler_Worker-3] [confluence.importexport.impl.BackupJob] executeJob Error while running the scheduled backup java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(Unknown Source) at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:461) at com.atlassian.confluence.importexport.impl.BackupJob.executeJob(BackupJob.java:87) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:65) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:47) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:20) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) 2014-06-18 16:22:46,863 WARN [http-bio-8090-exec-22] [atlassian.confluence.cache.TransactionalCacheFactory] warning Transactional cache update outside transaction. All upd ates to this cache should be performed from a thread with a valid transaction context. {code} in result backup directory is empty
    via by Andrzej Talarek, Efinity,
  • h2. Steps to reproduce 1. Perform a full site export of a Confluence instance 2. Set up an instance with a different home directory (this is so that the backup path will differ from the export) 3. Check the backup path of your instance on the Backup Administration screen ({{/admin/dailybackupadmin.action}}) 4. Now import the backup you created in step 1 5. Check the backup path of your instance on the Backup Administration screen - (!) it still shows what it did in step 3 6. Perform another site backup, with the option to archive a copy of the backup checked 7. You'll see that the temporary backup is created where you would expect (in the location that matches the backup path you saw in steps 3 and 5), (!) but the archived backup is created in the home directory that was specified in the instance you imported from In cases where that location doesn't exist anymore, a stacktrace will appear instead: {code} java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:883) at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:465) at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:401) {code} See attached files for full stack trace. I think the desired behaviour in this case is that the existing backup path of the instance is used, instead of the path from the import. This will ensure that the location always exists (since the home directory of this instance has to!). h2. Workaround On the Backup Administration screen, click to edit the backup settings. You won't be able to change the backup path, but once you submit the form Confluence will go back to using the backup path that's specified on this screen.
    via by Edith Tom,
  • h2. Steps to reproduce 1. Perform a full site export of a Confluence instance 2. Set up an instance with a different home directory (this is so that the backup path will differ from the export) 3. Check the backup path of your instance on the Backup Administration screen ({{/admin/dailybackupadmin.action}}) 4. Now import the backup you created in step 1 5. Check the backup path of your instance on the Backup Administration screen - (!) it still shows what it did in step 3 6. Perform another site backup, with the option to archive a copy of the backup checked 7. You'll see that the temporary backup is created where you would expect (in the location that matches the backup path you saw in steps 3 and 5), (!) but the archived backup is created in the home directory that was specified in the instance you imported from In cases where that location doesn't exist anymore, a stacktrace will appear instead: {code} java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:883) at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:465) at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:401) {code} See attached files for full stack trace. I think the desired behaviour in this case is that the existing backup path of the instance is used, instead of the path from the import. This will ensure that the location always exists (since the home directory of this instance has to!). h2. Workaround On the Backup Administration screen, click to edit the backup settings. You won't be able to change the backup path, but once you submit the form Confluence will go back to using the backup path that's specified on this screen.
    via by Edith Tom,
  • Async loop died! org.zeromq.ZMQException
    via Stack Overflow by user3188912
    ,
  • Cannot generate uberjar
    via GitHub by eklipse2k8
    ,
    • java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(Unknown Source) at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:461) at com.atlassian.confluence.importexport.impl.BackupJob.executeJob(BackupJob.java:87) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:65) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:47) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:20) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)

    Users with the same issue

    rocday
    4 times, last one,
    Unknown visitor1 times, last one,
    gamebusterz
    3 times, last one,
    Kialandei
    260 times, last one,
    Unknown visitor1 times, last one,
    69 more bugmates