java.io.IOException: Destination '/usr/lib/pentaho-data-integration/pdi/./karaf-copy' directory cannot be created

Pentaho BI Platform Tracking | Chris Bandy | 11 months ago
  1. 0

    Since BACKLOG-5009 (commit [0742f789fa42bbb4a71c6f7c7cb0eeeb5b043629|https://github.com/pentaho/pentaho-platform/commit/0742f789fa42bbb4a71c6f7c7cb0eeeb5b043629]), Carte tries to write to the installation directory during launch. It should try to write somewhere writable instead. On Ubuntu 14.04.2 LTS: {noformat} 18:16:59,569 ERROR [KarafBoot] Error starting Karaf java.io.IOException: Destination '/usr/lib/pentaho-data-integration/pdi/./karaf-copy' directory cannot be created at org.apache.commons.io.FileUtils.doCopyDirectory(FileUtils.java:1213) at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1186) at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1058) at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1027) at org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:88) at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:105) at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:558) at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:101) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:97) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:75) at org.pentaho.di.www.Carte.setKettleEnvironment(Carte.java:249) at org.pentaho.di.www.Carte.parseAndRunCommand(Carte.java:242) at org.pentaho.di.www.Carte.main(Carte.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) {noformat}

    Pentaho BI Platform Tracking | 11 months ago | Chris Bandy
    java.io.IOException: Destination '/usr/lib/pentaho-data-integration/pdi/./karaf-copy' directory cannot be created
  2. 0

    Since BACKLOG-5009 (commit [0742f789fa42bbb4a71c6f7c7cb0eeeb5b043629|https://github.com/pentaho/pentaho-platform/commit/0742f789fa42bbb4a71c6f7c7cb0eeeb5b043629]), Carte tries to write to the installation directory during launch. It should try to write somewhere writable instead. On Ubuntu 14.04.2 LTS: {noformat} 18:16:59,569 ERROR [KarafBoot] Error starting Karaf java.io.IOException: Destination '/usr/lib/pentaho-data-integration/pdi/./karaf-copy' directory cannot be created at org.apache.commons.io.FileUtils.doCopyDirectory(FileUtils.java:1213) at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1186) at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1058) at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1027) at org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:88) at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:105) at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:558) at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:101) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:97) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:75) at org.pentaho.di.www.Carte.setKettleEnvironment(Carte.java:249) at org.pentaho.di.www.Carte.parseAndRunCommand(Carte.java:242) at org.pentaho.di.www.Carte.main(Carte.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) {noformat}

    Pentaho BI Platform Tracking | 11 months ago | Chris Bandy
    java.io.IOException: Destination '/usr/lib/pentaho-data-integration/pdi/./karaf-copy' directory cannot be created
  3. 0

    java.io.IOException source exists but not in a directory

    Stack Overflow | 2 years ago | cafe2coding
    java.io.IOException: Source 'loremipsum.txt' exists but is not a directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    opening the bug reporter

    GitHub | 2 years ago | door43app
    java.io.IOException: Source '/data/data/com.translationstudio.androidapp/cache/exported/uw-obs-aa_191a916a6b794055d836af4899b1f2d528068812.zip' exists but is not a directory
  6. 0

    Could not export usfm

    GitHub | 2 years ago | door43app
    java.io.IOException: Source '/data/data/com.translationstudio.androidapp/cache/exported/uw-obs-aa_191a916a6b794055d836af4899b1f2d528068812.zip' exists but is not a directory

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Destination '/usr/lib/pentaho-data-integration/pdi/./karaf-copy' directory cannot be created

      at org.apache.commons.io.FileUtils.doCopyDirectory()
    2. Commons IO
      FileUtils.copyDirectory
      1. org.apache.commons.io.FileUtils.doCopyDirectory(FileUtils.java:1213)
      2. org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1186)
      3. org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1058)
      4. org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1027)
      4 frames
    3. org.pentaho.platform
      KarafBoot.startup
      1. org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:88)
      1 frame
    4. org.pentaho.di
      Carte.main
      1. org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:105)
      2. org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:558)
      3. org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:101)
      4. org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:97)
      5. org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:75)
      6. org.pentaho.di.www.Carte.setKettleEnvironment(Carte.java:249)
      7. org.pentaho.di.www.Carte.parseAndRunCommand(Carte.java:242)
      8. org.pentaho.di.www.Carte.main(Carte.java:169)
      8 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    6. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
      1 frame