YunoHost-Apps / peertube_ynh

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

Local.yaml configuration #413

Open CptCurk opened 6 months ago

CptCurk commented 6 months ago

Hello,

Thank you for the ability to get easily peertube on Yuhohost.

I don't understand how that work...

First, I duplicate the production.yaml rename into local.yaml, gave the same rights, user & group. But nothing seems to work, and it's still using the production.yaml (which creat a local-production.json... ^^) so how to not get my setup erased at the next update of peertube ?

Or is this json file already something which will not be erased by the next update ?

thank you !

ericgaspar commented 6 months ago

The production.yaml file will get regenerated with the upgrade to PeerTube 6.0.2. There is a lot of changes upstream in that file that we need to add.

CptCurk commented 6 months ago

I basicly update with the testing branch to get my video files working again. Any preset changed. I quite don't understand what's happenin now with presets.

ericgaspar commented 6 months ago

What problem are you facing with presets? did you manually change production.yaml? what setting do you want to change?

CptCurk commented 6 months ago

no, what I want to say is that I don't get any trouble with my preset.

But I don't understand why need to write this file local.yaml ! Because even with update, everything seems to work on my peertube ! And when I wrote production.yaml (inside the file using nano) nothing changed, I had peertube CLI open, may be it overwrite everything instantly ?

Anyway, everything's looks good now, without using local.yaml !

I just don't understand why it's writing to use local.yaml instead of production. That's it ! ^^'

ericgaspar commented 6 months ago

And when I wrote production.yaml (inside the file using nano) nothing changed

did you restart PeerTube service after modifying production.yaml file?

CptCurk commented 6 months ago

okay. That's it, I now understand. Thank you ^^' realy simple, but need to think about it.

But everything seems to be working only with the CLI. I don't need command line as simple admin user.

Thank you !