MHA-Team / PTS-Team

This fork serves as the basis for the continuation of the PTS project in a new form.
https://discord.gg/BvZgQyn
GNU General Public License v3.0
84 stars 55 forks source link

pgunion send half of the file instead of complete file while uplaoding. #27

Open CyberPoison opened 3 years ago

CyberPoison commented 3 years ago

Describe the bug The pgunion upload half of the file instead of the complete file.

To Reproduce Steps to reproduce the behaviour:

  1. Rename the file large like 50gb to your desired name and then upload it thought the Unionfs.
  2. Check if the size is correct betwen radarr/os/uploader

Expected behaviour Upload complete file.

Screenshots image

while radarr say

image

and flood(rtorrent) image

Error Logs tell me how can i get the logs and i will post here.

[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] File is still getting bigger /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] File is still getting bigger /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] File is still getting bigger /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] File is still getting bigger /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Starting upload of /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] GDSA04 is now 96.72104661725461483001,
[Uploader] Sleeping 5s before looking at next file,
[Uploader] [Upload] Upload started for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv using GDSA04C,
[Uploader] [Upload] Uploading /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv to GDSA04C,
[Uploader] [Upload] Starting Upload,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] [Upload] Upload complete for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv, Cleaning up,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
CyberPoison commented 3 years ago

Also to add than when i try to reload the pgunion it says

Failed to reload pgunion.service: Job type reload is not applicable fornion.service.
doob187 commented 3 years ago

Also to add than when i try to reload the pgunion it says

Failed to reload pgunion.service: Job type reload is not applicable fornion.service.
sudo docker stop uploader
sudo service stop pgunion tdrive gdrive tcrypt gcrypt 
sudo fusermount -uzq /mnt/unionfs
sudo service start pgunion tdrive gdrive tcrypt gcrypt
sudo docker start uploader

If you need help you will find me ;)

CyberPoison commented 3 years ago

after some time of debug i looks like it was a issue with radarr and sonarr with the mapping of the folder /mnt/downloads/torrent looks like now the issue never occured but i didn't close this issue because for sure it can appen again.