developer icon indicating copy to clipboard operation
developer copied to clipboard

FastDL only syncing 1 file.

Open RealNani opened this issue 6 years ago • 14 comments

Title says it all, we use debian 9, and php 7, the gameserver files have correct permission 777, and error logs are showing that its uploaded/checked, but only 1 file is there.

thanks..

RealNani avatar Jun 12 '18 19:06 RealNani

Logs, Game, FastDL Group. More Input/Infos to help you.

Lacrimosa99 avatar Jun 12 '18 19:06 Lacrimosa99

permissions have nothis to say over the sync status... check if the process finished or on pack up the files.

Lacrimosa99 avatar Jun 12 '18 22:06 Lacrimosa99

The process finishes, but now it only sends a couple of files each time i press "match"..

Edit: Now its even sending useless files, like engine files, and cfg, into fastdl. Edit2: It says in logs, that it checks files, but doesnt upload them.

Game: Condition Zero

Logs: fdl-hl1.log fdl.log

FastDL Group?, dont understand.

RealNani avatar Jun 13 '18 09:06 RealNani

Ok everything is bugged, im removing the folder with rm -R, but it keeps adding stupid files.

RealNani avatar Jun 13 '18 09:06 RealNani

For HL1 based games there is no compression meaning the process tries to upload from the game folder directly. For HL2 based, there is a bz2 compression and uploading up front.

In any case the files should be uploaded to a ftp server that addresses a web space. Here many things can go wrong, like the server accepts, but throws away, etc.

So your error report is bugged on its own as it is missing basic information, what you are trying to do.

ulrichblock avatar Jun 13 '18 10:06 ulrichblock

What is ur solution?,

Its copying the wrong files now, engine files, liblist, etc.

I will wait and see what it does, right now its copying incredibly slow it seems, and i will come back later.

RealNani avatar Jun 13 '18 10:06 RealNani

I cannot help you and even less give a solution unless you start to debug and stop "its not working". With the given information it is impossible to help.

ulrichblock avatar Jun 13 '18 10:06 ulrichblock

Then tell me what you need then, or where to start, or what to test?, need temporary access root/web?, more logs?.

There is a whole bunch of errors in easywi_web/logs/, if that helps. error.log

Newest fastdl log fdl-hl1.log

Not sure what else to give you if you dont tell me, im not an expert.

Thanks.

RealNani avatar Jun 13 '18 21:06 RealNani

In any case the files should be uploaded to a ftp server that addresses a web space. Here many things can go wrong, like the server accepts, but throws away, etc.

So check your FTP logs

ulrichblock avatar Jun 14 '18 10:06 ulrichblock

Found this, idk.

2018-06-13 14:38:44,662 endergames.fr proftpd[30360] endergames.fr (endergames.fr[46.4.73.45]): FTP session opened. 2018-06-13 14:38:44,667 endergames.fr proftpd[30360] endergames.fr (endergames.fr[46.4.73.45]): USER web-2: Login successful. 2018-06-13 14:38:49,099 endergames.fr proftpd[30360] endergames.fr (endergames.fr[46.4.73.45]): FTP session closed.

RealNani avatar Jun 14 '18 17:06 RealNani

A friend of mine says its syncing engine/useless files now.

You know you dont need to sync everything right?

RealNani avatar Jun 15 '18 11:06 RealNani

ofc. but still no info, that would allow me to help.

stuff/config.php > $debug = 1;

Start the sync, copy the shell script from the debug output and check if there are issues, what might cause the issues in your case.

ulrichblock avatar Jun 15 '18 12:06 ulrichblock

Ok, seems to be working now (a bit). I deleted all logs for easier reading, and made a new fdl folder.

Whats strange is that it seems to be an infinite looping between checking and uploading files, so it never stops. The log file keeps increasing in size.

Edit: log stopped at 420kb. :)

You can also see duplicates of file checking/uploading, if you look in the fdl-hl1 log.

fdl-hl1 log: fdl-hl1.log temp script: temp fdl script.txt

Suggestion: Maybe you should add so we can add our own sh script fdl for each server, and a popup window so we can see each file being copied or not, like tcadmin.

RealNani avatar Jun 15 '18 16:06 RealNani

for counter-strike why not use a ngnix and ls to sync cstrike to a folder? ln -s $HOMEPATH/cstrike /fastdl/$PORT some like that the server is the fastdownload. less space and auto fastdl :D

4deevs avatar Dec 31 '20 00:12 4deevs