MultiMC / Launcher

A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once
https://multimc.org/
Other
4.26k stars 874 forks source link

Antivirus blocks folder renaming #2199

Open iTheorizing opened 6 years ago

iTheorizing commented 6 years ago

System Information

MultiMC version: 0.6.1 develop-1205

Operating System: Windows 10

Summary of the issue or suggestion: Could not rename overrides folder

What should happen: It should install.

Steps to reproduce the issue (Add more if needed):

  1. Try to install pack.

2 .Issues pops up.

3.

Suspected cause: Don't know, it just started to happen.

Logs/Screenshots:

[//]: 0.032 D <> Log initialized. 0.032 D MultiMC 5, (c) 2013-2018 MultiMC Contributors 0.032 D Version : "0.6.1-develop-1205" 0.032 D Git commit : "a1c713811c5a2f514f7255436cfad836e0cf426b" 0.032 D Git refspec : "refs/heads/develop" 0.032 D Work dir before adjustment : "C:/Users/name/Desktop/MultiMC" 0.032 D Work dir after adjustment : "C:/Users/namel/Desktop/MultiMC" 0.032 D Adjusted by : "Fallback to binary path C:/Users/name/Desktop/MultiMC" 0.032 D Binary path : "C:/Users/name/Desktop/MultiMC" 0.032 D Application root path : "C:/Users/name/Desktop/MultiMC" 0.032 D <> Paths set. 0.034 D Detected default console font: "Courier" , substitutions: "" 0.035 D <> Settings loaded. 0.036 D Your language is "en" 0.036 D <> Translations loaded. 0.036 D <> Updater started. 0.037 D Started watching "C:/Users/name/Desktop/MultiMC/icons" 0.038 D <> Instance icons intialized. 0.039 D <> Icon themes initialized. 0.039 D "" 0.039 D Loading theme "custom" 0.041 D <> Widget themes initialized. 0.041 D Instance path : "instances" 0.042 D Loading Instances... 0.043 D <> Instances loaded. 0.043 D Loading accounts... 0.043 C "Failed to read the account list file (accounts.json)." 0.043 D <> Accounts loaded. 0.043 D <> Cache initialized. 0.043 D Detecting proxy settings... 0.043 D Using no proxy is an option! 0.043 D <> Proxy settings done. 0.043 D Downloading Translations Index... 0.043 D Task "NetJob(Translations Index)" started 0.048 D <> Icon theme set. 0.049 D <> Application theme set. 0.049 D <> Initialized analytics with tid "UA-87731965-2" 0.077 W QMetaObject::connectSlotsByName: No matching signal for on_actionInstanceSettings_triggered() 0.078 D Task "NetJob(Status JSON)" started 0.086 D Reloading news. 0.086 D Task "NetJob(News RSS Feed)" started 0.086 D Checking for updates. 0.086 D Channel list isn't loaded yet. Loading channel list and deferring update check. 0.086 D Loading the channel list. 0.086 D Task "NetJob(Update System Channel List)" started 0.087 D Task "NetJob(Checking for notifications)" started 0.112 D Viewport size "694x563" 0.112 D RAM size is 8073 MB 0.112 D [Analytics] "ScreenView: Main Window" 0.112 D <> Main window shown. 0.113 D Task "NetJob(Translations Index)" succeeded 0.113 D Got translations index! 0.113 D Download cache hit "http://files.multimc.org/translations/index" 0.115 D Downloading "http://status.mojang.com/check" 0.587 D Downloading "http://multimc.org/rss.xml" 0.587 D Downloading "http://files.multimc.org/update/win32/channels.json" 0.589 D Downloading "http://files.multimc.org/notifications.json" 0.691 D Location header: QUrl("https://multimc.org/rss.xml") 0.691 D Following redirect to "https://multimc.org/rss.xml" 0.691 D Downloading "https://multimc.org/rss.xml" 0.691 D Download redirected: "https://multimc.org/rss.xml" 0.741 D Download succeeded: "http://status.mojang.com/check" 0.742 D Task "NetJob(Status JSON)" succeeded 0.742 D Finished loading status JSON. 0.742 D Status loading succeeded. 0.933 D Download succeeded: "http://files.multimc.org/update/win32/channels.json" 0.933 D Task "NetJob(Update System Channel List)" succeeded 0.933 D Successfully loaded UpdateChecker channel list. 0.934 D Checking for updates. 0.934 D m_repoUrl = "http://files.multimc.org/update/win32/develop/" 0.934 D Task "NetJob(GoUpdate Repository Index)" started 0.934 D Downloading "http://files.multimc.org/update/win32/develop/index.json" 1.083 D Download succeeded: "http://files.multimc.org/notifications.json" 1.127 D Task "NetJob(Checking for notifications)" succeeded 1.360 D Download succeeded: "http://files.multimc.org/update/win32/develop/index.json" 1.360 D Task "NetJob(GoUpdate Repository Index)" succeeded 1.360 D Finished downloading repo index. Checking for new versions. 1.361 D Processing repository version list. 2.013 D Download succeeded: "https://multimc.org/rss.xml" 2.013 D Task "NetJob(News RSS Feed)" succeeded 2.013 D Finished loading RSS feed. 2.013 D Loaded news entry "MultiMC 0.6.1 released!" 2.013 D Loaded news entry "MultiMC 0.6.0 released!" 2.013 D Loaded news entry "Introducing the Archive" 2.014 D Loaded news entry "MultiMC 0.5.1 - Bugfixes" 2.014 D Loaded news entry "MultiMC 0.5.0 - Running multiple instances at the same time!" 2.014 D Loaded news entry "Update to 0.4.11 - OSX 10.7 fix and workaround for Minecraft 1.9 compatibility" 2.014 D Loaded news entry "Update to 0.4.10 - Another wifi fix" 2.014 D Loaded news entry "Update to 0.4.9 - the Windows wifi fix" 2.014 D Loaded news entry "Update to 0.4.8" 2.014 D Loaded news entry "Update to 0.4.7, what 0.4.6 should have been." 2.014 D Loaded news entry "Update to 0.4.6, Bug fixes and improvements!" 2.014 D Loaded news entry "Update to 0.4.5, Translations, Themes, and Technic" 2.014 D Loaded news entry "Version 0.4 out - Jar mods, UI changes, and more!" 2.014 D Loaded news entry "Introducing QuickMods - A better way to install mods" 2.014 D Loaded news entry "Support us on Patreon!" 2.014 D Loaded news entry "Heartbleed Vulnerability Update (fixed!)" 2.014 D Loaded news entry "Announcing MultiMC 6" 2.014 D Loaded news entry "MultiMC 5 - 0.3 update" 2.015 D Loaded news entry "First official MultiMC 5 release!" 2.015 D Loaded news entry "MultiMC Status Update" 2.015 D News loading succeeded. 12.970 D Task "NetJob(Download of meta file net.minecraft/index.json)" started 12.972 D Downloading version info from "https://ftb.cursecdn.com/FTB2/static/modpacks.xml" 12.972 D Task "NetJob(FtbModpackFetch)" started 12.980 D Downloading "https://v1.meta.multimc.org/net.minecraft/index.json" 12.981 D Downloading "https://ftb.cursecdn.com/FTB2/static/modpacks.xml" 13.290 D Download succeeded: "https://ftb.cursecdn.com/FTB2/static/modpacks.xml" 13.290 D Task "NetJob(FtbModpackFetch)" succeeded 13.327 D Download succeeded: "https://v1.meta.multimc.org/net.minecraft/index.json" 13.327 D Task "NetJob(Download of meta file net.minecraft/index.json)" succeeded 18.744 D Task "FolderInstanceStaging(0x8650908)" started 18.744 D Task "InstanceImportTask(0x5076438)" started 18.744 D Attempting to create instance from "C:/Users/name/Desktop/SevTech+Ages-3.0.1.zip" 25.409 D Flame: "" 30.040 D [Analytics] "Query string = v=1&tid=UA-87731965-2&cid=fe9eba0b-83aa-4dd7-8b5b-d0fb7c5b15f4&t=screenview&ul=en-us&vp=694x563&sr=1920x1080&aip=1&cd=Main Window&an=MultiMC5&av=0.6.1-develop-1205&cd1=&cd2=&cd3=64&cd4=64&cd5=Windows&cd6=10.0&cm1=1024&cm2=4096&cm3=8073&qt=29928" 30.240 D [Analytics] "Message sent" 38.951 D Fixing permissions for extracted pack files... 40.699 C Task "InstanceImportTask(0x5076438)" failed: "Could not rename the overrides folder:\noverrides" 42.607 C Task "FolderInstanceStaging(0x8650908)" failed: "Could not rename the overrides folder:\noverrides"

Additional Info: None.

afyber commented 6 years ago

I have somewhat limited knowledge, but this looks like MultiMC laking the permissions for the renaming

MexicanSpearman commented 6 years ago

I don't think it's a permission issue, I think it's a modpack issue. Personally, I gave MultiMC5 admin privs and it still had this issue. I didn't have this issue with the modpack zips for Direwolf20 1.12, FTB Horizons III, or Revelation, but I did have this issue with SevTech Ages and Monster 1.6.4.

peterix commented 6 years ago

This is an antivirus problem.

peterix commented 6 years ago

Folder mapping (overrides -> .minecraft) should be done as part of extracting packs, instead of renaming later.

mrconnerton commented 4 years ago

I had the same issue, disabling antivirus for the creation of the instance let it run.

phit commented 3 years ago

Closing as we can't fix what external software does to MultiMC. nvm, i missed peterix's comment about what he wants to change

peterix commented 3 years ago

Yeah, please keep this open. It can be fixed by a change in how we install packs - figure out where everything goes first and then do it in a way that doesn't move any files afterwards.

SlavBerd commented 2 years ago

I may have found the problem, if your overrides folder was backed up in dropbox, it interferes with it somehow. idk why or how, but removing any minecraft-related files from dropbox and preventing dropbox from synching my files worked for me. It might work for you too