ServerSync

ServerSync

48.5k Downloads

Serversync fails to write anything in clientmods folder

CJenkins93 opened this issue ยท 8 comments

commented

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.

commented

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.

commented
commented

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.

commented

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

commented

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.

commented

Alright, I'll keep testing it if you'd like but I'll use a faux server instead of the main one lol

commented

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.

commented

Tested with 3.1.0. Clientmods apear to sync as expected, closing for now.

I'll raise a different ticket for the files missing issue.