Closed BreeOge closed 7 years ago
possibly related to an issue seen in #65 tracked in #68 where the delete phase appears to be having resource conflicts.
To confirm we are on the same page:
Or are we talking about all mods here?
Also potentially worth checking that the clients have not got something silly in the ignore list like:
All mods, even clientmods. For instance I had Optifine in the Clientmods, and when I put the new optifine in the clientmods directory, it did not remove the old one that was deleted from the clientmods. Same goes for regular mods as well, if we update a mod, it never removes the old mod that was deleted on the server. I know the clients didnt have ignore, because well it was my client i was testing with.. :) Server is remotely hosted..
Goodo, do you have the log files?
Should be in the clients logs/serversync folder.
Right now I have more people in the server, as soon as I am alone again. I will remove a mod from both clientmods and mods, then upload the log..
From what I can see, it is never getting the files it should to Sync from the client. So it never knows what it should delete.
Suggestion for solution. Make a config file that holds the last updated files that the server sync client can reference against.
Tested files where. OptiFine_1.11.2_HD_U_B9.jar from ClientMods UniDict-1.11.2-1.0.jar from Mods
SS should not need to store state of either the client or the server as these are built when it is run.
It seems very odd that the client files is empty, where is your serversync.jar located on the client side?
The deletion phase relies on the client snapshot of its directory to determine what should / should not be there, essentially at the moment the client thinks it has no mods so it will loop through nothing and determine that nothing needs to be deleted :smile:
TIP: You can take a directory snapshot by opening a Terminal in your desired location and running:
It should have no problem seeing it..
Hmm shall have a closer examine of this later, does seem like it should have no issue though.
SS might be having trouble following the link to appdata, while it's not a fix you can probably put SS in the .Minecraft folder in appdata and make a shortcut to it in your launcher folder
SS follows the link just fine when comparing the mods. So even it don't seem to be having problems following the sim link. Ill try and put it in the .minecraft in appdata to see if it makes a difference.
Apologies, clicking the wrong buttons :smile:
Server Sync was ran from .minecraft\mods in appdata same issue, does not find any client mods.
Establishing a socket connection to the server... < Connecting to server > Creating input/output streams... Checking config... Checking if update is needed Syncable client mods are: [] Syncable server mods are: [compatlayer-1.11.2-0.2.7.jar, GraveStone Mod 1.7.2.jar, Industrial-Craft-1.11.2-Universal.jar, MightyLoot-2.1.jar, EnderZoo-1.11.2-1.3.0.46.jar, redstonepaste-mc1.11.2-1.7.4.jar, hopperducts-mc1.11.2-1.4.9.jar, NoMoreRecipeConflict-0.8(1.11).jar, WanionLib-1.11.2-1.0.jar, InventoryTweaks-1.62+beta.86.jar, KAGIC-1.7.16.jar, EJML-core-0.26.jar, OpenComputers-1.11.2.jar, Decocraft-2.4.1_1.11.2.jar, Extra-Utils-1.11.2.jar, QuantumStorage-1.11.2-4.2.2.jar, rftoolsctrl-1.1x-1.6.6.jar, Aroma1997s-Dimensional-World-1.11.2-1.3.0.0.jar, WR-CBE-1.11.2-2.1.0.21-universal.jar, refinedstorage-1.4.6.jar, Dynmap-2.4-forge-1.11.2.jar, RebornCore-1.11.2-2.14.2.94-universal.jar, forestry_1.11.2-5.3.3.91.jar, Translocators-1.11.2-2.2.0.59-universal.jar, ForgeMultipart-1.11.2-2.1.0.34-universal.jar, TechReborn-1.11.2-2.2.1.142-universal.jar, CodeChickenLib-1.11.2-2.6.0.254-universal.jar, ChickenChunks-1.11.2-2.3.0.63-universal.jar, jei_1.11.2-4.3.3.266.jar, Botania r1.9-343.jar, NotEnoughItems-1.11.2-2.2.0.217-universal.jar, pressure-1.3.1.5-mc1.11.2.jar, rftools-1.1x-6.00.jar, Mantle-1.11.2-1.2.0.26.jar, journeymap-1.11.2-5.4.6.jar, ExtremeReactors-1.11.2-0.4.5.28.jar, Tesla-1.11-1.3.0.51.jar, zerocore-1.11.2-0.1.0.5.jar, Baubles-1.11-1.4.3.jar, StevesCarts-1.11.2-2.2.0.2.jar, FastLeafDecay-v12.jar, TreeChopper-1.11.2-1.1.2.jar, Bookshelf-1.11.2-1.5.0.368.jar, bdlib-1.13.2.7-mc1.11.2.jar, DarkUtilities-1.11.2-1.2.0.126.jar, denseores-1.11-alpha-1.0.1.jar, dooglamoojuniorarchaeologymod-1.11-2.1.0.jar, gendustry-1.6.5.7-mc1.11.2.jar, Morpheus-1.11.2-3.2.13.jar, rftoolsdim-1.1x-4.55.jar, Wawla-1.11.2-2.4.0.232.jar, EJML-core-0.26.jar, mod_list.json, Pams-HarvestCraft-1.11.2-Universal.jar, mcjtylib-1.1x-2.3.11.jar, BiomesOPlenty-1.11.2-6.1.0.2212-universal.jar, buildcraft-7.99.3.jar, astralsorcery-1.3.2-beta.jar, serversync.jar, TConstruct-1.11.2-2.7.0.12.jar, UniDict-1.11.2-1.0.jar, Aroma1997Core-1.11.2-1.2.0.0.jar, EnderStorage-1.11.2-2.3.0.112-universal.jar] Update required The mods between server and client are incompatable... Updating... <------> Getting files <------> Getting mods... Recieved server file tree Accepting client mods! Added client mods to server list Recieved client only files Ignoring [Nucleus-0.28.1-1.11.2-S6.0-plugin.jar, LuckPerms-Sponge-3.1.26.jar, mysql-connector-java-5.1.42-bin.jar, lottery-1.3.1.jar, PayRespects-1.0.2.jar, timewarp-2.2.1-r6.0.0.jar, EconomyLite-5.0.0-2.11.0.jar, spongeforge-1.11.2-2282-7.0.0-BETA-2311.jar, Nations-2.4_Cust.jar, MineReset-1.0.7.jar, Nucleus-0.29.0-1.11.2-S6.0-plugin.jar, LuckPerms-Sponge-3.2.3.jar, EconomyLite-5.0.0-2.12.0.jar, AdventureMMO-v2.0.7-API6.x.jar] <------> Starting Update Process <------> compatlayer-1.11.2-0.2.7.jar is up to date GraveStone Mod 1.7.2.jar is up to date Industrial-Craft-1.11.2-Universal.jar is up to date MightyLoot-2.1.jar is up to date EnderZoo-1.11.2-1.3.0.46.jar is up to date redstonepaste-mc1.11.2-1.7.4.jar is up to date hopperducts-mc1.11.2-1.4.9.jar is up to date NoMoreRecipeConflict-0.8(1.11).jar is up to date WanionLib-1.11.2-1.0.jar is up to date InventoryTweaks-1.62+beta.86.jar is up to date KAGIC-1.7.16.jar is up to date <>Ignoring Nucleus-0.29.0-1.11.2-S6.0-plugin.jar EJML-core-0.26.jar is up to date <>Ignoring LuckPerms-Sponge-3.2.3.jar OpenComputers-1.11.2.jar is up to date Decocraft-2.4.1_1.11.2.jar is up to date Extra-Utils-1.11.2.jar is up to date QuantumStorage-1.11.2-4.2.2.jar is up to date rftoolsctrl-1.1x-1.6.6.jar is up to date Aroma1997s-Dimensional-World-1.11.2-1.3.0.0.jar is up to date WR-CBE-1.11.2-2.1.0.21-universal.jar is up to date refinedstorage-1.4.6.jar is up to date Dynmap-2.4-forge-1.11.2.jar is up to date <>Ignoring PayRespects-1.0.2.jar RebornCore-1.11.2-2.14.2.94-universal.jar is up to date forestry_1.11.2-5.3.3.91.jar is up to date Translocators-1.11.2-2.2.0.59-universal.jar is up to date ForgeMultipart-1.11.2-2.1.0.34-universal.jar is up to date TechReborn-1.11.2-2.2.1.142-universal.jar is up to date CodeChickenLib-1.11.2-2.6.0.254-universal.jar is up to date ChickenChunks-1.11.2-2.3.0.63-universal.jar is up to date jei_1.11.2-4.3.3.266.jar is up to date Botania r1.9-343.jar is up to date <>Ignoring MineReset-1.0.7.jar NotEnoughItems-1.11.2-2.2.0.217-universal.jar is up to date pressure-1.3.1.5-mc1.11.2.jar is up to date rftools-1.1x-6.00.jar is up to date Mantle-1.11.2-1.2.0.26.jar is up to date <>Ignoring lottery-1.3.1.jar journeymap-1.11.2-5.4.6.jar is up to date ExtremeReactors-1.11.2-0.4.5.28.jar is up to date Tesla-1.11-1.3.0.51.jar is up to date zerocore-1.11.2-0.1.0.5.jar is up to date Baubles-1.11-1.4.3.jar is up to date StevesCarts-1.11.2-2.2.0.2.jar is up to date FastLeafDecay-v12.jar is up to date TreeChopper-1.11.2-1.1.2.jar is up to date Bookshelf-1.11.2-1.5.0.368.jar is up to date bdlib-1.13.2.7-mc1.11.2.jar is up to date DarkUtilities-1.11.2-1.2.0.126.jar is up to date denseores-1.11-alpha-1.0.1.jar is up to date dooglamoojuniorarchaeologymod-1.11-2.1.0.jar is up to date gendustry-1.6.5.7-mc1.11.2.jar is up to date Morpheus-1.11.2-3.2.13.jar is up to date rftoolsdim-1.1x-4.55.jar is up to date Wawla-1.11.2-2.4.0.232.jar is up to date <>Ignoring mysql-connector-java-5.1.42-bin.jar <>Ignoring EconomyLite-5.0.0-2.12.0.jar EJML-core-0.26.jar is up to date mod_list.json is up to date Pams-HarvestCraft-1.11.2-Universal.jar is up to date mcjtylib-1.1x-2.3.11.jar is up to date BiomesOPlenty-1.11.2-6.1.0.2212-universal.jar is up to date buildcraft-7.99.3.jar is up to date <>Ignoring spongeforge-1.11.2-2282-7.0.0-BETA-2311.jar astralsorcery-1.3.2-beta.jar is up to date serversync.jar is up to date TConstruct-1.11.2-2.7.0.12.jar is up to date <>Ignoring timewarp-2.2.1-r6.0.0.jar <>Ignoring Nations-2.4_Cust.jar UniDict-1.11.2-1.0.jar is up to date Aroma1997Core-1.11.2-1.2.0.0.jar is up to date EnderStorage-1.11.2-2.3.0.112-universal.jar is up to date WailaHarvestability-mc1.11-1.1.9.jar is up to date FullscreenWindowed-1.10.2-1.5.0.jar is up to date Waila-1.7.1_1.11.2.jar is up to date OptiFine_1.11.2_HD_U_B9.jar is up to date <------> Starting deletion process <------> Update Complete! Have a nice day! Telling server to exit... Closing connections... All of serversync's sockets to the server have been closed Successfully closed all connections Files updated
Client SS should be in the base directory of where you want it to sync to (one step above mods), in this case .Minecraft/
Reasons for this are:
SS builds it's dir tree from where it is run, so it assumes that it's files and directories are located in the same place that it is.
Though I would expect you to be getting a mods folder inside your mods folder if it's run from /mods
Ran from .minecraft root directory.. Same result.
Establishing a socket connection to the server... < Connecting to server > Creating input/output streams... Checking config... Configs out of sync, updating... Checking if update is needed Syncable client mods are: [] Syncable server mods are: [compatlayer-1.11.2-0.2.7.jar, GraveStone Mod 1.7.2.jar, Industrial-Craft-1.11.2-Universal.jar, MightyLoot-2.1.jar, EnderZoo-1.11.2-1.3.0.46.jar, redstonepaste-mc1.11.2-1.7.4.jar, hopperducts-mc1.11.2-1.4.9.jar, NoMoreRecipeConflict-0.8(1.11).jar, WanionLib-1.11.2-1.0.jar, InventoryTweaks-1.62+beta.86.jar, KAGIC-1.7.16.jar, EJML-core-0.26.jar, OpenComputers-1.11.2.jar, Decocraft-2.4.1_1.11.2.jar, Extra-Utils-1.11.2.jar, QuantumStorage-1.11.2-4.2.2.jar, rftoolsctrl-1.1x-1.6.6.jar, Aroma1997s-Dimensional-World-1.11.2-1.3.0.0.jar, WR-CBE-1.11.2-2.1.0.21-universal.jar, refinedstorage-1.4.6.jar, Dynmap-2.4-forge-1.11.2.jar, RebornCore-1.11.2-2.14.2.94-universal.jar, forestry_1.11.2-5.3.3.91.jar, Translocators-1.11.2-2.2.0.59-universal.jar, ForgeMultipart-1.11.2-2.1.0.34-universal.jar, TechReborn-1.11.2-2.2.1.142-universal.jar, CodeChickenLib-1.11.2-2.6.0.254-universal.jar, ChickenChunks-1.11.2-2.3.0.63-universal.jar, jei_1.11.2-4.3.3.266.jar, Botania r1.9-343.jar, NotEnoughItems-1.11.2-2.2.0.217-universal.jar, pressure-1.3.1.5-mc1.11.2.jar, rftools-1.1x-6.00.jar, Mantle-1.11.2-1.2.0.26.jar, journeymap-1.11.2-5.4.6.jar, ExtremeReactors-1.11.2-0.4.5.28.jar, Tesla-1.11-1.3.0.51.jar, zerocore-1.11.2-0.1.0.5.jar, Baubles-1.11-1.4.3.jar, StevesCarts-1.11.2-2.2.0.2.jar, FastLeafDecay-v12.jar, TreeChopper-1.11.2-1.1.2.jar, Bookshelf-1.11.2-1.5.0.368.jar, bdlib-1.13.2.7-mc1.11.2.jar, DarkUtilities-1.11.2-1.2.0.126.jar, denseores-1.11-alpha-1.0.1.jar, dooglamoojuniorarchaeologymod-1.11-2.1.0.jar, gendustry-1.6.5.7-mc1.11.2.jar, Morpheus-1.11.2-3.2.13.jar, rftoolsdim-1.1x-4.55.jar, Wawla-1.11.2-2.4.0.232.jar, EJML-core-0.26.jar, mod_list.json, Pams-HarvestCraft-1.11.2-Universal.jar, mcjtylib-1.1x-2.3.11.jar, BiomesOPlenty-1.11.2-6.1.0.2212-universal.jar, buildcraft-7.99.3.jar, astralsorcery-1.3.2-beta.jar, serversync.jar, TConstruct-1.11.2-2.7.0.12.jar, UniDict-1.11.2-1.0.jar, Aroma1997Core-1.11.2-1.2.0.0.jar, EnderStorage-1.11.2-2.3.0.112-universal.jar] Update required The mods between server and client are incompatable... Updating... <------> Getting files <------> Getting mods... Recieved server file tree Accepting client mods! Added client mods to server list Recieved client only files Ignoring [Nucleus-0.29.0-1.11.2-S6.0-plugin.jar, LuckPerms-Sponge-3.2.3.jar, mysql-connector-java-5.1.42-bin.jar, lottery-1.3.1.jar, PayRespects-1.0.2.jar, timewarp-2.2.1-r6.0.0.jar, EconomyLite-5.0.0-2.12.0.jar, spongeforge-1.11.2-2282-7.0.0-BETA-2311.jar, Nations-2.4_Cust.jar, MineReset-1.0.7.jar, AdventureMMO-v2.0.7-API6.x.jar] <------> Starting Update Process <------> compatlayer-1.11.2-0.2.7.jar is up to date GraveStone Mod 1.7.2.jar is up to date Industrial-Craft-1.11.2-Universal.jar is up to date MightyLoot-2.1.jar is up to date EnderZoo-1.11.2-1.3.0.46.jar is up to date redstonepaste-mc1.11.2-1.7.4.jar is up to date hopperducts-mc1.11.2-1.4.9.jar is up to date NoMoreRecipeConflict-0.8(1.11).jar is up to date WanionLib-1.11.2-1.0.jar is up to date InventoryTweaks-1.62+beta.86.jar is up to date KAGIC-1.7.16.jar is up to date <>Ignoring Nucleus-0.29.0-1.11.2-S6.0-plugin.jar EJML-core-0.26.jar is up to date <>Ignoring LuckPerms-Sponge-3.2.3.jar OpenComputers-1.11.2.jar is up to date Decocraft-2.4.1_1.11.2.jar is up to date Extra-Utils-1.11.2.jar is up to date QuantumStorage-1.11.2-4.2.2.jar is up to date rftoolsctrl-1.1x-1.6.6.jar is up to date Aroma1997s-Dimensional-World-1.11.2-1.3.0.0.jar is up to date WR-CBE-1.11.2-2.1.0.21-universal.jar is up to date refinedstorage-1.4.6.jar is up to date Dynmap-2.4-forge-1.11.2.jar is up to date <>Ignoring PayRespects-1.0.2.jar RebornCore-1.11.2-2.14.2.94-universal.jar is up to date forestry_1.11.2-5.3.3.91.jar is up to date Translocators-1.11.2-2.2.0.59-universal.jar is up to date ForgeMultipart-1.11.2-2.1.0.34-universal.jar is up to date TechReborn-1.11.2-2.2.1.142-universal.jar is up to date CodeChickenLib-1.11.2-2.6.0.254-universal.jar is up to date ChickenChunks-1.11.2-2.3.0.63-universal.jar is up to date jei_1.11.2-4.3.3.266.jar is up to date Botania r1.9-343.jar is up to date <>Ignoring MineReset-1.0.7.jar NotEnoughItems-1.11.2-2.2.0.217-universal.jar is up to date pressure-1.3.1.5-mc1.11.2.jar is up to date rftools-1.1x-6.00.jar is up to date Mantle-1.11.2-1.2.0.26.jar is up to date <>Ignoring lottery-1.3.1.jar journeymap-1.11.2-5.4.6.jar is up to date ExtremeReactors-1.11.2-0.4.5.28.jar is up to date Tesla-1.11-1.3.0.51.jar is up to date zerocore-1.11.2-0.1.0.5.jar is up to date Baubles-1.11-1.4.3.jar is up to date StevesCarts-1.11.2-2.2.0.2.jar is up to date FastLeafDecay-v12.jar is up to date TreeChopper-1.11.2-1.1.2.jar is up to date Bookshelf-1.11.2-1.5.0.368.jar is up to date bdlib-1.13.2.7-mc1.11.2.jar is up to date DarkUtilities-1.11.2-1.2.0.126.jar is up to date denseores-1.11-alpha-1.0.1.jar is up to date dooglamoojuniorarchaeologymod-1.11-2.1.0.jar is up to date gendustry-1.6.5.7-mc1.11.2.jar is up to date Morpheus-1.11.2-3.2.13.jar is up to date rftoolsdim-1.1x-4.55.jar is up to date Wawla-1.11.2-2.4.0.232.jar is up to date <>Ignoring mysql-connector-java-5.1.42-bin.jar <>Ignoring EconomyLite-5.0.0-2.12.0.jar EJML-core-0.26.jar is up to date mod_list.json is up to date Pams-HarvestCraft-1.11.2-Universal.jar is up to date mcjtylib-1.1x-2.3.11.jar is up to date BiomesOPlenty-1.11.2-6.1.0.2212-universal.jar is up to date buildcraft-7.99.3.jar is up to date <>Ignoring spongeforge-1.11.2-2282-7.0.0-BETA-2311.jar astralsorcery-1.3.2-beta.jar is up to date serversync.jar Does not exist... Fetching file size from server Sending file path to server Attempting to write file (mods\serversync.jar) Sucessfully updated: serversync.jar TConstruct-1.11.2-2.7.0.12.jar is up to date <>Ignoring timewarp-2.2.1-r6.0.0.jar <>Ignoring Nations-2.4_Cust.jar UniDict-1.11.2-1.0.jar is up to date Aroma1997Core-1.11.2-1.2.0.0.jar is up to date EnderStorage-1.11.2-2.3.0.112-universal.jar is up to date WailaHarvestability-mc1.11-1.1.9.jar is up to date FullscreenWindowed-1.10.2-1.5.0.jar is up to date Waila-1.7.1_1.11.2.jar is up to date OptiFine_1.11.2_HD_U_B9.jar is up to date <------> Starting deletion process <------> Update Complete! Have a nice day! Telling server to exit... Closing connections... All of serversync's sockets to the server have been closed Successfully closed all connections Files updated
Started working, closing for now.
@BreeOge any idea why it started working? I haven't been able to track down anything out of the ordinary in the code
I looked at the code too, Not very good with Java. But when i was debugging it worked, so I deleted the symlink I had and ran it from the .minecraft directory.. and it started working. There is an issue however that it should follow the symlink just fine, it adds the mods just fine, but never gets the current list through the symlink. But for now just went to the .minecraft directory and its working after the link was removed.
Hmm narrows it down at least, thank you. I'll add a new task for investigating symlink issues
Serversync Version:
serversync-2.6.13.jar
Minecraft Version:
1.11.2 Forge / Sponge
Issue:
Will not delete files from client mods. I have tried everything, and all the documentation says it that it will notice when its gone. However it never removes the old files from client.. they have to manually do it.