0%
Posted inNumérique

Dark theme requires /var/www/peertube

d71a876ab463922f105d212d0610fe9980892118 Dark theme requires /var/www/peertube

Hi.

I just installed a dark theme dark2.4.0 to my Peertube. I think it is hardcoded with / var / www / peertube path. I found those in Nginx log:

==> /mnt/data/log/nginx/peertube.error.log <==
2022/12/10 15:44:43 [error] 10768#10768: *252 open() « /var/www/peertube/peertube-latest/client/dist/pl-PL/SourceSans3VF-Roman.ttf.1befb5b37992491d.woff2 » failed (2: No such file or directory), client: 109.241.53.221, server: media.site.com, request: « GET /client/pl-PL/SourceSans3VF-Roman.ttf.1befb5b37992491d.woff2 HTTP/2.0 », host: « media.site.com », referrer: «  »

==> /mnt/data/log/nginx/peertube.access.log <==
109.241.53.221 – – [10/Dec/2022:15:44:43 +0100] « GET /client/pl-PL/SourceSans3VF-Roman.ttf.1befb5b37992491d.woff2 HTTP/2.0 » 404 153 «  » « Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 »

My instance is not in / var / www / peertube, but in / mnt / data / something / else. After creating a link from /var/www/peertube to my Peertube instalation dir, dark mode works again.

I can break it anytime, just by removing that symlink, if You want more log files.

Source


Laisser un commentaire