[Peertube] Produce lots of Gb?

My YunoHost server

Hardware: VPS bought online
YunoHost version: 4.0.8.2 (stable)
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no / yes
If yes, please explain:

Description of my issue

On my PeerTube totally was upload 1,9Gb video. But when I made archive copy - it totally 17Gb! Why?

Indeed

I guess we can try to find out with something like :

tar -tvzf /home/yunohost.backup/archives/20201123-021405.tar.gz | grep peertube | sort -k3 -n

Thank you. Lastest codes fragment as result looks like this:

-rw-r--r-- peertube/peertube  321471796 2020-10-31 08:20 apps/peertube/backup/home/yunohost.app/peertube/storage/videos/30198c9e-d8cf-4714-b394-b47784f4ff1a-1080.mp4
-rw-r--r-- peertube/peertube  330544056 2020-10-29 21:18 apps/peertube/backup/home/yunohost.app/peertube/storage/streaming-playlists/hls/80d959bf-9c9d-4e77-aa56-e8c14f6d71db/80d959bf-9c9d-4e77-aa56-e8c14f6d71db-720-fragmented.mp4
-rw-r--r-- peertube/peertube  331139458 2020-10-29 21:08 apps/peertube/backup/home/yunohost.app/peertube/storage/videos/80d959bf-9c9d-4e77-aa56-e8c14f6d71db-720.mp4
-rw-r--r-- peertube/peertube  350786415 2020-11-17 19:51 apps/peertube/backup/home/yunohost.app/peertube/storage/streaming-playlists/hls/59962dca-4590-4e6c-96e5-bb9409c355d6/59962dca-4590-4e6c-96e5-bb9409c355d6-720-fragmented.mp4
-rw-r--r-- peertube/peertube  350922413 2020-11-17 19:51 apps/peertube/backup/home/yunohost.app/peertube/storage/videos/59962dca-4590-4e6c-96e5-bb9409c355d6-720.mp4
-rw-r--r-- peertube/peertube  429925359 2020-11-04 02:10 apps/peertube/backup/home/yunohost.app/peertube/storage/streaming-playlists/hls/b74a7051-605a-4788-8127-4aff24159328/b74a7051-605a-4788-8127-4aff24159328-720-fragmented.mp4
-rw-r--r-- peertube/peertube  431257493 2020-11-04 02:10 apps/peertube/backup/home/yunohost.app/peertube/storage/videos/b74a7051-605a-4788-8127-4aff24159328-720.mp4
-rw-r--r-- peertube/peertube  434516241 2020-11-07 22:34 apps/peertube/backup/home/yunohost.app/peertube/storage/streaming-playlists/hls/c3b923e7-4e7f-4233-95b1-62a58a01bde3/c3b923e7-4e7f-4233-95b1-62a58a01bde3-360-fragmented.mp4
-rw-r--r-- peertube/peertube  435545259 2020-11-07 20:44 apps/peertube/backup/home/yunohost.app/peertube/storage/videos/c3b923e7-4e7f-4233-95b1-62a58a01bde3-360.mp4
-rw-r--r-- peertube/peertube  589442807 2020-10-29 20:00 apps/peertube/backup/home/yunohost.app/peertube/storage/videos/80d959bf-9c9d-4e77-aa56-e8c14f6d71db-1080.mp4
-rw-r--r-- peertube/peertube 1158560787 2020-11-07 22:34 apps/peertube/backup/home/yunohost.app/peertube/storage/streaming-playlists/hls/c3b923e7-4e7f-4233-95b1-62a58a01bde3/c3b923e7-4e7f-4233-95b1-62a58a01bde3-720-fragmented.mp4
-rw-r--r-- peertube/peertube 1159631929 2020-11-07 22:33 apps/peertube/backup/home/yunohost.app/peertube/storage/videos/c3b923e7-4e7f-4233-95b1-62a58a01bde3-720.mp4
-rw-r--r-- peertube/peertube 1583885571 2020-11-07 20:04 apps/peertube/backup/home/yunohost.app/peertube/storage/streaming-playlists/hls/c3b923e7-4e7f-4233-95b1-62a58a01bde3/c3b923e7-4e7f-4233-95b1-62a58a01bde3-1080-fragmented.mp4
-rw-r--r-- peertube/peertube 1585533717 2020-11-07 20:03 apps/peertube/backup/home/yunohost.app/peertube/storage/videos/c3b923e7-4e7f-4233-95b1-62a58a01bde3-1080.mp4

Weeeell I dunno, to me it loos like there are several videos, each of them with different qualities (c.f. the 360, 720, 1080 at the end of names). Could be related to many things but I don’t know enough about Peertube to properly explain what / why that’s going on.

1 Like

Thank you. Will try to ask about that issue at peertube support forum

I try to fix my problem, and I need peertube-latest/ directory to run correct command from current Peertube’s version directory

“You have to run this command from the /var/www/peertube/peertube-latest/ directory” https://framacolibri.org/t/produce-lots-of-gb/10045/11?u=tedd

but at yunohost I can`t find that folder. Where I can find current Peertube’s version directory?
Standart insallation is /var/www/peertube/peertube-latest

need help

Naively I’d say in Yunohost this is just /var/www/peertube/ ?

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.