The official Release notes of 5.0.0 ask to run the following command cd /usr/share/webapps/peertube && sudo -u peertube NODE_CONFIG_DIR=/etc/peertube NODE_ENV=production node dist/scripts/migrations/peertube-5.0.js
Search Criteria
Package Details: peertube 5.1.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/peertube.git (read-only, click to copy) |
---|---|
Package Base: | peertube |
Description: | ActivityPub-federated video streaming platform using P2P directly in your web browser |
Upstream URL: | https://joinpeertube.org/ |
Keywords: | hls p2p self-hosted torrent video |
Licenses: | AGPL |
Submitter: | daftaupe |
Maintainer: | daftaupe (rigelk) |
Last Packager: | daftaupe |
Votes: | 26 |
Popularity: | 0.111099 |
First Submitted: | 2018-04-11 19:46 (UTC) |
Last Updated: | 2023-04-08 19:23 (UTC) |
Dependencies (10)
- ffmpeg (ffmpeg-nox-git, ffmpeg-svt-vp9-git, ffmpeg-yt-dlp-bin, ffmpeg-shinobi, ffmpeg-ndi, ffmpeg-mmal, ffmpeg-amd-full-git, ffmpeg-amd-full, ffmpeg-gpl-bin, ffmpeg-v4l2-request-git, ffmpeg-headless, ffmpeg-cuda, ffmpeg-full, ffmpeg-full-git, ffmpeg-decklink, ffmpeg-git, ffmpeg-nonvidia, ffmpeg-libfdk_aac, ffmpeg-mpp, ffmpeg-nocuda, ffmpeg-intel-full-git, ffmpeg-obs)
- nodejs (nodejs6-bin, nodejs-nightly, nodejs-git, nodejs-lts-fermium, nodejs-lts-gallium, nodejs-lts-hydrogen)
- npm (nodejs6-bin, nodejs-nightly, corepacker)
- openssl (openssl-static, quictls-openssl, openssl-git, openssl-hardened)
- postgresql (agensgraph-git, postgresql-1c, postgresql-9.5, postgresql-9.4, postgresql-src-beta, postgresql-9.6, postgresql-11, postgresql-10, postgresql-12, postgresql13, postgresql-src, postgresql-lts)
- redis (redis-testing, redis-git, keydb)
- yarn (yarn-nightly, yarn-xdg, yarn-xdg-bin, corepacker)
- git (git-vfs, git-run-command-patch-git, git-git, git-fc) (make)
- python (nogil-python, python36, python32, python39, python38, python37, python310, python312) (make)
- yarn (yarn-nightly, yarn-xdg, yarn-xdg-bin, corepacker) (make)
Required by (0)
Sources (5)
daftaupe commented on 2023-01-05 15:09 (UTC)
dodecahedron commented on 2022-12-03 20:24 (UTC)
@daftaupe Can you change the Python 2 dependency to Python 3 since PeerTube can use either one and Python 2 has been removed from the official Arch repos?
The PeerTube docs recommend using --production
for yarn install
so can you also make that edit to the PKGBUILD
?
daftaupe commented on 2022-11-29 21:19 (UTC)
I've added yarn as a runtime dependency as per kauron comment.
kauron commented on 2022-09-22 12:00 (UTC) (edited on 2022-09-22 12:03 (UTC) by kauron)
For anyone experiencing an error after updating to 4.3.0 due to yarn not being installed (logs say can't run yarn install --pure-lockfile
regarding "Registering plugins and themes"), or the file /var/lib/peertube/storage/tmp/plugins-global.css
being missing, installing yarn solves the issue. I don't know if it must be kept around, but maybe it should be added as a runtime dependency.
dodecahedron commented on 2022-08-17 20:04 (UTC)
@daftaupe If you don't have much time to maintain this package, could you add me as a co-maintainer?
I was able to build this using the latest nodejs by setting --install.ignore-engines true
in my ~/.yarnrc
.
daftaupe commented on 2022-08-11 17:09 (UTC) (edited on 2022-08-11 17:14 (UTC) by daftaupe)
The following migration scrip thas to be run on a running instance after upgrading to 4.2.2 (part of 4.2.0 upgrade) cd /usr/share/webapps/peertube/ && sudo -u peertube NODE_CONFIG_DIR=/etc/peertube NODE_ENV=production node dist/scripts/migrations/peertube-4.2.js
Adapted from the official release announce
Sorry for being so late guys, but I don't have a running instance anymore and am rather busy.
Also I had to install nodejs-lts-gallium to be install to build 4.2.2, one NodeJS package requires a version not greater than 17.
dodecahedron commented on 2022-04-19 21:44 (UTC)
I have the same issue. nginx is unable to access any of the PeerTube files so all the images on my instance are not loading. The peertube.tmpfiles
file was introduced in this commit and should probably modified to mode 0755 or at least 0750. (With mode 0750, you can add nginx to the peertube
group)
kauron commented on 2022-04-13 12:59 (UTC)
I think that there is an error with my configuration or with peertube.tmpfiles
: the folders within /var/lib/peertube/storage
have mode 0700 and are inaccessible to nginx. Is nginx supposed to run under the peertube user? Or should the tmpfiles configuration set the mode to 0701?
daftaupe commented on 2021-12-20 08:55 (UTC)
It should now be possible to use latest nodejs instead of the lts versions only. That message makes it more obvious than just bumping the release version of the package, I realize.
rcrath commented on 2021-12-16 04:44 (UTC)
Thanks for maintaining this important package @daftaupe. Since it actually compiles under 17, and it is arch, which always uses the latest pretty quickly, as opposed to Debian, etc, would it be possible to bump the release number? I hated replacing my whole nodejs with the LTS as it does not seem to be within my skills to install and run both. So far, it has not broken anything but since arch is bleeding edge, maybe you would consider an exception to upstream since it does in fact compile with 17 according to @Ta180m? Thanks for considering.
Pinned Comments
daftaupe commented on 2023-01-05 15:09 (UTC)
The official Release notes of 5.0.0 ask to run the following command
cd /usr/share/webapps/peertube && sudo -u peertube NODE_CONFIG_DIR=/etc/peertube NODE_ENV=production node dist/scripts/migrations/peertube-5.0.js
rigelk commented on 2020-06-18 13:32 (UTC)
Please note that the package now verifies the release signature against the lead developer's key, which you can find here: https://keybase.io/chocobozzz