Thanks for your answer.
I’m using official Docker image chocobozzz/peertube:production-bookworm
Yes I have the files in directory:
peertube/data/data$ find . | grep 7f2e9175-ed2a-44fd-a46e-9dd166daea98
./videos/7f2e9175-ed2a-44fd-a46e-9dd166daea98-720.mp4
./videos/7f2e9175-ed2a-44fd-a46e-9dd166daea98-360.mp4
./torrents/7f2e9175-ed2a-44fd-a46e-9dd166daea98-360.torrent
./torrents/7f2e9175-ed2a-44fd-a46e-9dd166daea98-720.torrent
./thumbnails/7f2e9175-ed2a-44fd-a46e-9dd166daea98.jpg
./previews/7f2e9175-ed2a-44fd-a46e-9dd166daea98.jpg
$ ls -lha 7f2e*
-rw-r--r-- 1 999 spi 21M 8 déc. 2019 7f2e9175-ed2a-44fd-a46e-9dd166daea98-360.mp4
-rw-r--r-- 1 999 spi 59M 8 déc. 2019 7f2e9175-ed2a-44fd-a46e-9dd166daea98-720.mp4
Same owner as others.
And this is also present in database:
# SELECT * FROM video WHERE uuid = '7f2e9175-ed2a-44fd-a46e-9dd166daea98';
id | uuid | name | category | licence | privacy | nsfw | description | duration | views | likes | dislikes | remote | url | commentsEnabled | channelId | createdAt | updatedAt | support | publishedAt | language | waitTranscoding | state | downloadEnabled | originallyPublishedAt | isLive | inputFileUpdatedAt
-------+--------------------------------------+------------------------+----------+---------+---------+------+---------------------------------------+----------+-------+-------+----------+--------+--------------------------------------------------------------------------+-----------------+-----------+----------------------------+----------------------------+---------+----------------------------+----------+-----------------+-------+-----------------+-----------------------+--------+--------------------
61738 | 7f2e9175-ed2a-44fd-a46e-9dd166daea98 | Ma Monnaie Libre : Leo | 14 | 5 | 1 | f | Portrait de Leo, pré-juniste endetté. | 316 | 53 | 3 | 0 | f | https://tube.p2p.legal/videos/watch/7f2e9175-ed2a-44fd-a46e-9dd166daea98 | t | 331 | 2019-12-08 14:20:21.392+00 | 2022-06-14 04:34:37.494+00 | | 2019-12-13 16:08:35.232+00 | fr | t | 1 | t | | f |
I probably understand the problem, when you try to download it here: https://tube.p2p.legal/download/videos/7f2e9175-ed2a-44fd-a46e-9dd166daea98-720.mp4
→
{"type":"https://docs.joinpeertube.org/api-rest-reference.html#section/Errors/Error","detail":"ENOENT: no such file or directory, stat '/data/web-videos/7f2e9175-ed2a-44fd-a46e-9dd166daea98-720.mp4'","status":404,"code":"Error","error":"ENOENT: no such file or directory, stat '/data/web-videos/7f2e9175-ed2a-44fd-a46e-9dd166daea98-720.mp4'"}
It’s looking for in /data/web-videos directory, instead of /data/videos/
/data/web-videos directory exist but is empty, except a private empty sub-directory.
If I create a symlink of the videos here, then I can download it, but still not read it.