Peertube big bug - 6.0 to 6.2

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: latest 12.0.7
What app is this about: Peertube

Describe your issue

Hello !

Can’t upgrade as explain on this post which just got closed… I though it was today I had to write somehting.

previous post Hello wise peoples out there !

I’m trying to update peertube from 6.0.2 to 6.2.1
I’ve got some issue installing peertube. I tried, but then it fails finding the dependencies. Some guys told me to try again and again that I did for like 2 month or 3 from now, regulary ^^’

I have some problems :
https://paste.yunohost.org/raw/avuyipezog
there is a restauration that some warnings are showing up. I don’t understand.

https://paste.yunohost.org/raw/ikehidegif
I had that previously, just deleting the folder using <rm -r> did the trick.

https://paste.yunohost.org/raw/gonayosiye
This is today main issue. It looks like this is not find the peertube.mydomain.tld.conf or .d (but I’ve check mannualy and those files are here), it’s just not mydomain.tld, but the real one written.

The problem today is that I cant’ try to update. Because of that Nginx problem. When you go to the url : peertube.florentcurk.com there is obviously an Nginx problem that I can’t solve, as I don’t know what to do, where to search.

I had some problem upgrading to Ynh 12. So. I had to delete all logs previously, I just have this Yunopaste from an old post of mine. https://paste.yunohost.org/raw/togacipocu

So if someone can help me solving this issue. As I said, I tried a LOT upgrading this. Now I’m on bookworm, I’d like to solve this, once and for all !

Thank you !

Still got the issue, if someone could help. I’ll try to keep this topic open this time.

Have a great day !

Share relevant logs or error messages

https://paste.yunohost.org/raw/avuyipezog
https://paste.yunohost.org/raw/ikehidegif
https://paste.yunohost.org/raw/gonayosiye
https://paste.yunohost.org/raw/togacipocu

Well I tried something.

There is the yunopaste : https://paste.yunohost.org/raw/ujuzesocoz

So I’ve check there : /etc/apt/sources.list.d/yarn.list

It simply looks that there’s no Yarn.list at all… How to solve that ? ^^’
PS : I’ve always only worked with the CLI for updates and stuff. This happend after the migration to bookworm.

This looks like an upstream hosting problem, what happens if you try to run the following?

curl -I https://nodejs.org/dist/v20.18.1/node-v20.18.1-linux-arm64.tar.xz

Well thank you.

There’s the answer

HTTP/2 200 
date: Fri, 29 Nov 2024 07:31:42 GMT
content-type: application/x-xz
content-length: 24894288
cache-control: public, max-age=3600, s-maxage=14400
etag: "7a2d6b42a9506f264488c5fb7f1744e7"
last-modified: Wed, 20 Nov 2024 14:06:46 GMT
accept-range: bytes
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
server: cloudflare
cf-ray: 8ea0e64fbb4fd127-CDG

But then I succeded rebuild yarn.list

I tried again to upgrade and there is a problem of node as you think

error @angular-devkit/build-angular@18.2.0: The engine "node" is incompatible with this module. Expected version "^18.19.1 || ^20.11.1 || >=22.0.0". Got "20.10.0"

And I found this guy having the same issue : Peertube, je n'arrive pas à l'installer

How to update / upgrade that angular stuff ? And to which version should I do that ?

{EDIT again}

I try to do npm stuff that I found online to solve that angular problem, install legacy (which was intalled…)

Then try ugain the update… Still the same problem.

Info: [#######+............] > Building Yarn dependencies...
Error: Could not upgrade peertube: An error occurred inside the app upgrade script
Info: The operation 'Upgrade the 'peertube' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20241129-091645-app_upgrade-peertube' to get help
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - [1/5] Validating package.json...
Info: DEBUG - [2/5] Resolving packages...
Info: DEBUG - [3/5] Fetching packages...
Info: DEBUG - [4/5] Linking dependencies...
Info: DEBUG - warning " > got-ssrf@3.0.0" has incorrect peer dependency "got@^14".
Info: DEBUG - warning " > @typescript-eslint/eslint-plugin@7.18.0" has unmet peer dependency "@typescript-eslint/parser@^7.0.0".
Info: DEBUG - warning " > chai-json-schema@1.5.1" has incorrect peer dependency "chai@>= 1.6.1 < 5".
Info: DEBUG - warning " > eslint-config-standard-with-typescript@43.0.1" has incorrect peer dependency "@typescript-eslint/eslint-plugin@^6.4.0".
Info: DEBUG - warning "swagger-cli > @apidevtools/swagger-cli > @apidevtools/swagger-parser@10.1.0" has unmet peer dependency "openapi-types@>=7".
Info: DEBUG - [5/5] Building fresh packages...
Info: DEBUG - $ test -n "$NOCLIENT" || (cd client && yarn install --pure-lockfile)
Info: DEBUG - yarn install v1.22.22
Info: DEBUG - [1/4] Resolving packages...
Info: DEBUG - [2/4] Fetching packages...
Info: DEBUG - error @angular-devkit/build-angular@18.2.0: The engine "node" is incompatible with this module. Expected version "^18.19.1 || ^20.11.1 || >=22.0.0". Got "20.10.0"
Info: DEBUG - error Found incompatible module.
Info: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Info: DEBUG - error Command failed with exit code 1.
Info: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Info: DEBUG - + ynh_exit_properly