Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-8112

Launcher tries to create "logs" directory in /opt/minecraft-launcher

XMLWordPrintable

    • Unconfirmed

      When the launcher is launching Minecraft, it tries to create logs directory under /opt/minecraft-launcher instead of using ~/.minecraft/logs where they've been located before:

      [0903/175746:INFO:GameCallbacks.cpp(178)] game/game () error 2017-09-03 17:57:45,952 main ERROR Cannot access RandomAccessFile java.io.IOException: Could not create directory /opt/minecraft-
      launcher/logs java.io.IOException: Could not create directory /opt/minecraft-launcher/logs
              at org.apache.logging.log4j.core.util.FileUtils.mkdir(FileUtils.java:119)
              at org.apache.logging.log4j.core.util.FileUtils.makeParentDirs(FileUtils.java:136)
              at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager$RollingRandomAccessFileManagerFactory.createManager(RollingRandomAccessFileManager.java:179)
              at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager$RollingRandomAccessFileManagerFactory.createManager(RollingRandomAccessFileManager.java:156)
              at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:112)
              at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:114)
              at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager.getRollingRandomAccessFileManager(RollingRandomAccessFileManager.java:87)
              at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender$Builder.build(RollingRandomAccessFileAppender.java:115)
              at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender$Builder.build(RollingRandomAccessFileAppender.java:52)
              at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122)
              at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:952)
              at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:892)
              at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884)
              at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:508)
              at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:232)
              at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:244)
              at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:545)
              at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:617)
              at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:634)
              at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:229)
              at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152)
              at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
              at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
              at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)
              at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)
              at bib.<clinit>(SourceFile:224)
              at net.minecraft.client.main.Main.main(SourceFile:38)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
              at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
      

      Affected version is 2.0.931 downloaded from https://launcher.mojang.com/mc-staging/download/Minecraft_staging.deb which I cannot input in affected version field

            peterix [Mojang] Petr Mrázek
            azatoth Carl Fürstenberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: