When I was moving my files to a object storage some of the later videos couldn't be moved and got the label "External storage move failed". I investigated and the logs showed that it couldn't find the original-video-files like:
Error: ENOENT: no such file or directory, open '/var/www/peertube/versions/peertube-v6.3.2/storage/original-video-files/8fe8871a-56c1-4e7d-b224-55cfe1f1eb96-1080.mp4'
I was wondering why the file is in versions and not in storage and even stranger under a specific version. So I looked around and found that there was also the /var/www/peertube/versions/peertube-v6.2.0/storage/original-video-files/ directory where all those files which were missing were.
For now as a work around I manually moved them from the peertube-v6.2.0/storage/original-video-files/ to peertube-v6.3.2/storage/original-video-files/ and the move to object storage works. But I think this is a bug in the code where it decides where to store the original files, or at least where to find them.
Steps to reproduce
Install PeerTube version 6.2.0
Set it to store original videos
upload a video
update to version 6.3.2
move the video to object storage
check the logs
Describe the expected behavior
Original files should be stored in /var/www/peertube/storage/original-video-files
Additional information
PeerTube instance:
URL: tube.jeena.net
Version: 6.3.2
NodeJS version: N/A
Ffmpeg version: N/A
Browser name, version and platforms on which you could reproduce the bug: N/A
Link to browser console log if relevant: N/A
Link to server log if relevant (journalctl or /var/www/peertube/storage/logs/): N/A
Describe the current behavior
When I was moving my files to a object storage some of the later videos couldn't be moved and got the label "External storage move failed". I investigated and the logs showed that it couldn't find the original-video-files like:
Error: ENOENT: no such file or directory, open '/var/www/peertube/versions/peertube-v6.3.2/storage/original-video-files/8fe8871a-56c1-4e7d-b224-55cfe1f1eb96-1080.mp4'
I was wondering why the file is in
versions
and not instorage
and even stranger under a specific version. So I looked around and found that there was also the/var/www/peertube/versions/peertube-v6.2.0/storage/original-video-files/
directory where all those files which were missing were.For now as a work around I manually moved them from the peertube-v6.2.0/storage/original-video-files/ to peertube-v6.3.2/storage/original-video-files/ and the move to object storage works. But I think this is a bug in the code where it decides where to store the original files, or at least where to find them.
Steps to reproduce
Describe the expected behavior
Original files should be stored in /var/www/peertube/storage/original-video-files
Additional information
PeerTube instance:
Browser name, version and platforms on which you could reproduce the bug: N/A
Link to browser console log if relevant: N/A
Link to server log if relevant (
journalctl
or/var/www/peertube/storage/logs/
): N/A