YunoHost-Apps / peertube_ynh

Federated (ActivityPub) video streaming platform using P2P for YunoHost
https://joinpeertube.org/fr/
GNU Affero General Public License v3.0
88 stars 28 forks source link

Reapply "Merge pull request #390 from YunoHost-Apps/testing" : 6.0.2 + packaging v2 + fix install 502 error + timeout on slow hardware + wait for DB full init #408

Closed Tagadda closed 10 months ago

Tagadda commented 11 months ago

This reverts commit d5d2f8bd3b39db5853f091bba4a772d5641aeeed. Equals to this https://github.com/YunoHost-Apps/peertube_ynh/pull/391

6.0.2 + packaging v2 + fix install 502 error + timeout on slow hardware + wait for DB full init

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

yunohost-bot commented 11 months ago

:rocket: Test Badge

lapineige commented 11 months ago

So this commit brings (back) Peertube v6.

It requires to generate "storyboard" (the preview in the timeline) for each old videos. https://docs.joinpeertube.org/maintain/tools#generate-storyboard

Admins can do it manually like that :

cd /var/www/peertube/
yunohost app shell peertube
NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-generate-storyboard-job -- --all-videos

It consumes a bit of CPU time, but I believe it's necessary to do it after the upgrade, in the upgrade script. Let's implement it ?

lapineige commented 11 months ago

@ericgaspar (and others) do you get what's the big deal with the (web)-videos thing ? What option should it be ? What's the effect ?

lapineige commented 11 months ago

The LDAP issue is backā€¦ but it should have waited for the service to start before installing it (as in #400), so what's the matter ? šŸ¤”

lapineige commented 11 months ago

!testme

yunohost-bot commented 11 months ago

:stuck_out_tongue_winking_eye: Test Badge

lapineige commented 11 months ago

May I try it ? Is that useful for you ? :)

ericgaspar commented 11 months ago

We do not need to bump the version

lapineige commented 11 months ago

405 Issue solved !

lapineige commented 11 months ago

We do not need to bump the version

If people did upgrade to the previous faulty v0.6.2~ynh1, the new upgrade won't be available. Hence the bump.

lapineige commented 11 months ago

Do we know if we actually followed all important notes from here ? šŸ¤” https://docs.joinpeertube.org/CHANGELOG

ericgaspar commented 11 months ago

!testme

yunohost-bot commented 11 months ago

:rocket: Test Badge

ericgaspar commented 11 months ago

I still have an issue with plugins not loading... domain.tld/admin/plugins/show/peertube-plugin-auth-ldap with message Ce plugin ne dispose pas de paramƩtrage.

lapineige commented 11 months ago

Update went fine on 2 servers.

lapineige commented 11 months ago

I still have an issue with plugins not loading... domain.tld/admin/plugins/show/peertube-plugin-auth-ldap with message Ce plugin ne dispose pas de paramƩtrage.

I can see this admin pageā€¦ strange :thinking:

lapineige commented 11 months ago

@ericgaspar regarding the "todo-list" I made above, could you update it if you handle some of the tasks ? I'm having an hard time checking what was done with all those commits :sweat_smile:

ericgaspar commented 11 months ago

list of issues so far:

lapineige commented 11 months ago
  • I don't know if we should let user shoose the password at install for the user root

It would be better in theory, but as we send it by mail, it's already a security issue and they should change it... So I would rather advice for a quick change.

ericgaspar commented 11 months ago
  • I don't know if we should let user shoose the password at install for the user root

It would be better in theory, but as we send it by mail, it's already a security issue and they should change it... So I would rather advice for a quick change.

The password is send with POST_INSTALL.md not mail. It is displayed in the app admin as a popup window, who will disappear once you click the green button.

lapineige commented 11 months ago

It was sent by email too the last time I installed it šŸ¤”

lapineige commented 11 months ago

I still have an issue with plugins not loading... domain.tld/admin/plugins/show/peertube-plugin-auth-ldap with message Ce plugin ne dispose pas de paramƩtrage.

I can see this admin pageā€¦ strange šŸ¤”

Do you have any log ? For instance in Peertube webadmin logs ?

ericgaspar commented 10 months ago

!testme

yunohost-bot commented 10 months ago

:sunflower: Test Badge

lapineige commented 10 months ago

Ready for manual testing ?