Upload status "FAILED" in SG Hub

We have a station that is working fine, except for 2 files that it’s not able to upload so the upload status is constantly “Failed“. It seems to upload all the other, newer files, but is always has 2 files to upload that it’s failing on.

How does one get rid of those two files?

The Motus server says that the two files have already been uploaded and somehow the SG upload system doesn’t understand that. Not sure why not, have not looked at the code.

In terms of remedy, the two files are:

/data/SGdata/2025-08-29/sgv2-BD50RPI4885D-019-2025-08-29T23-15-02.6960Z-ctt.txt.gz
/data/SGdata/2025-08-29/sgv2-BD50RPI4885D-019-2025-08-29T23-15-02.6930Z-all.txt.gz

You could delete those two via commandline, but it will take ~24 hrs to sync things and I’m not sure it deals with the deletion gracefully.

Hmm, the files might be zero-length? That may be causing the issue. Are you able to check whether that’s the case?

Hei Thorsten - I am Maris’s colleague. We checked and these two .gz files are not zero-length. Neither of us are familiar with .gz files. Do you know what else we can do to inspect these files further so we can determine if it is worth deleting them? Thanks for your quick help!

Sorry for the late reply. You should be able to open the gz files with your favorite “zip” program. 7z, for example.

1 Like