[SAC] [OSGeo] #2801: Set up peertube to store videos such as FOSS4G ones

#2801: Set up peertube to store videos such as FOSS4G ones
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Keywords:
---------------------------+---------------------------------------
It was noted on OSGeo SAC IRC that peertube is commonly used for sharing
videos. So might be a good option to store all FOSS4G videos and project
trainings.

Docs: https://docs.joinpeertube.org/install-any-os?id=installation

Services such as

https://video.blender.org and

fsf europe https://media.fsfe.org/about/instance

use it

In reviewing it, key features I like about it.

1) Runs on PostgreSQL for backend
2) Supports LDAP for authentication
3) Has a peer to peer setup (have to review this) so you can federate with
other instances to share bandwidth. It's unclear to me though how easily
it is for you to choose. E.g. we'd probably want to federate with other
OS projects, but not necessarily anybody. We might also want to set up
instances on cloud to better distribute our bandwidth based.

rduivenvoorde, also noted we have a Video Committee -

https://wiki.osgeo.org/wiki/Video_Committee

that should be involved in this decision.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2801&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2801: Set up peertube to store videos such as FOSS4G ones
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Comment (by rduivenvoorde):

About LDAP: according to https://docs.joinpeertube.org/admin-managing-
users?id=external-auths-support
There is an ldap 'plugin': https://framagit.org/framasoft/peertube
/official-plugins/-/tree/master/peertube-plugin-auth-ldap
and an OpenId one. No idea if/how those work.

And according to: https://docs.joinpeertube.org/install-docker you should
be able to set it up in an container (and an external postgres db), not
sure what is preferred by SAC.

Note that TIB AV-Portal actually already has some peertube like list of
FOSS4G video's, eg:
https://av.tib.eu/series/1233/foss4g+argentina+2021
(just wanted to make sure this was known as a non-proprietary source)
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2801#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2801: Set up peertube to store videos such as FOSS4G ones
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Comment (by robe):

@rduivenvoorde,

For things I don't understand with a lot of moving parts, I usually prefer
docker.
But I think upgrading postgres in docker is a huge pain, but luckily
haven't had the need to do that yet (weblate using postgresql too, but the
database is relatively tiny, so won't be a huge deal to upgrade postgresql
when that time comes. But I'll see which is easiest.

e.g. for weblate.osgeo.org, repo.osgeo.org, and talks.osgeo.org, I went
with docker, just cause there were way too many dependencies and moving
parts for me to try to understand.

But great to know that docker is an option, so might be worth starting
there.

Great add. Didn't realize TIB AV was using peertube. so we could federate
with them.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2801#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2801: Set up peertube to store videos such as FOSS4G ones
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Comment (by lucadelu):

Replying to [comment:1 rduivenvoorde]:
>
> Note that TIB AV-Portal actually already has some peertube like list of
FOSS4G video's, eg:
> https://av.tib.eu/series/1233/foss4g+argentina+2021
> (just wanted to make sure this was known as a non-proprietary source)

Since we already upload all the FOSS4G videos in TIB AV-Portal I think in
this moment is more needed a solution to host photos since we have none
(#2406)
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2801#comment:3&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2801: Set up peertube to store videos such as FOSS4G ones
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Comment (by robe):

What should be the domain for this videos.osgeo.org comes to mind.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2801#comment:4&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2801: Set up peertube to store videos such as FOSS4G ones
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Comment (by robe):

I have this set up now as https://video.osgeo.org
Anyone with an OSGeo LDAP account can login and upload videos.

Still some kinks to work out like having certain groups of ldap user have
admin rights
configuring livestream and logging ips correctly.

Also have to figure out why videos I marked public are not showing.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2801#comment:5&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2801: Set up peertube to store videos such as FOSS4G ones
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+----------------------------------------
Changes (by robe):

* status: new => closed
* resolution: => fixed

Comment:

This is done enough. Just needs people using it.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2801#comment:6&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.