![ServerSync](https://media.forgecdn.net/avatars/thumbnails/254/696/256/256/637199290945083080.png)
Serversync fails to write anything in clientmods folder
CJenkins93 opened this issue ยท 8 comments
Serversync Version:
2.6.17
Minecraft Version:
1.12.2
Issue:
When I sync with my server I don't get any of the clientmods and have to download them manually if I don't already have them. This error catches my eye in the log as it happens with all of the 4 mods in the clientmods folder:
DEBUG: Controlling-3.0.6.jar Does not exist... DEBUG: Fetching file size from server DEBUG: Failed to write object (0c95f26e3a47319ea913f48a714bbbb459b95bf1) to output stream
Here's the log from serversync, I don't have the server logs because creeperhost is acting strange at the moment.
serversync-detailed.log
Here's the server debug log:
debug.log
I would like to note that I have no idea how to use the bottom part of the template so I hope this is okay
Edit: The configs are completely default other than setting push client mods to true and one file ignore for server info provider.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
Built-in HTML spoiler tags basically. Kinda fun to play with, the idea is to roll up copy-pasted logs so they don't blow up reports.
It does rather look like ServerSync is having write access problems, shall dig further.
Give the latest release a try https://github.com/superzanti/ServerSync/releases
The server appears to be choking on this file config/brandon3055/contributors.json
.
The code it is failing in would suggest that the file existed when ServerSync started but has since been moved or deleted.
Hmm, the config doesn't exist on the server. Makes me thing it appears on startup and then deletes itself maybe? BrandonCore is for Draconic Evolution
So the new version made me download everything again and then deleted all of it on first sync when testing with client side: 2.6.17 server side: 2.6.23
Second sync it added some mods back but not all, and everything in the scripts folder is gone.
Third sync I used the updated version on both client and server and it times out mentioning it can't find mod information files that match mcmod.info,neimod.info
Something went horribly horribly wrong...
Testing serversync with server side: 2.6.17 and client side: 2.6.23, will update with information
Edit: Results in the same error message and then a time out.
serversync-detailed.log
serversync-client.log
Edit2: Suddenly serversync's previous version is writing client mods perfectly fine!?
I'm totally lost
oof, ๐. Sounds like the latest ones carked it.
There is a chunk of files at the end of the sync that are failing to open, either permissions or the file not existing. I can probably get around this by having the server send a 'not found' response and the client just moves on to the next file.
Alright, I'll keep testing it if you'd like but I'll use a faux server instead of the main one lol
Give 3.0 a try if you like. I somewhat doubt it will solve the issue you were seeing, never know though.
I still need to add some smarter handling of missing files during sync.