YunoHost API is not responding & Could not complete the operation 'Upgrade the 'peertube' app'

Hi, I did not find any related issue in these two years.

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.2.4
I have access to my server : All of bleow: Through SSH | through the webadmin | direct access via keyboard / screen | …
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

The System updates then

However, it return with this:


YunoHost API is not responding

Really sorry about that.

You should look for help on the forum or the chat to fix the situation, or report the bug on the bugtracker.
The following information might be useful for the person helping you:

Error: "502"

Action: "GET" /yunohost/api/versions?locale=en

Error message:

The YunoHost API is not responding. Maybe ‘yunohost-api’ is down or got restarted?

Here is full log:

https://paste.yunohost.org/ciharonuqu


Then I used the Peertube upgrade button, then it says:


Really sorry about that.
You should look for help on the forum or the chat to fix the situation, or report the bug on the bugtracker.
The following information might be useful for the person helping you:
Error: “500”
Action: “PUT” /yunohost/api/apps/peertube/upgrade
Error message:
Could not complete the operation ‘Upgrade the ‘peertube’ app’. Please provide the full log of this operation by clicking here to get help


Below is the full log.

https://paste.yunohost.org/raw/ozimaqofoy

When i run:

apt show yunohost -a

Here is the result:


Package: yunohost

Version: 11.2.23

Priority: extra

Essential: yes

Section: utils

Maintainer: YunoHost Contributors

Installed-Size: 4,724 kB

Depends: python3:any, moulinette (>= 11.1), ssowat (>= 11.1), python3-psutil, python3-requests, python3-dnspython, pyt

hon3-openssl, python3-miniupnpc, python3-dbus, python3-jinja2, python3-toml, python3-packaging, python3-publicsuffix2,

python3-ldap, python3-zeroconf (>= 0.36), python3-lexicon, python-is-python3, nginx, nginx-extras (>= 1.18), apt, apt

-transport-https, apt-utils, aptitude, dirmngr, openssh-server, iptables, fail2ban, bind9-dnsutils, openssl, ca-certif

icates, netcat-openbsd, iproute2, slapd, ldap-utils, sudo-ldap, libnss-ldapd, unscd, libpam-ldapd, dnsmasq, resolvconf

, libnss-myhostname, postfix, postfix-ldap, postfix-policyd-spf-perl, postfix-pcre, dovecot-core, dovecot-ldap, doveco

t-lmtpd, dovecot-managesieved, dovecot-antispam, rspamd, opendkim-tools, postsrsd, procmail, mailutils, redis-server,

acl, git, curl, wget, cron, unzip, jq, bc, at, procps, j2cli, lsb-release, haveged, fake-hwclock, lsof, whois

Recommends: yunohost-admin, ntp, inetutils-ping | iputils-ping, bash-completion, rsyslog, php7.4-common, php7.4-fpm, p

hp7.4-ldap, php7.4-intl, mariadb-server, php7.4-mysql, php7.4-gd, php7.4-curl, php-php-gettext, python3-pip, unattende

d-upgrades, libdbd-ldap-perl, libnet-dns-perl, metronome (>= 3.14.0)

Conflicts: apache2, bind9, dovecot-core (>= 1:2.3.14), fail2ban (>= 0.11.3), iptables (>= 1.8.8), iptables-persistent,

nginx-extras (>= 1.19), openssl (>= 3.0), redis-server (>= 5:6.1), slapd (>= 2.4.58)

Homepage: https://yunohost.org/

Download-Size: 1,239 kB

APT-Manual-Installed: yes

APT-Sources: Index of /debian/ bullseye/stable amd64 Packages

Description: manageable and configured self-hosting server

YunoHost aims to make self-hosting accessible to everyone. It configures

an email, Web and IM server alongside a LDAP base. It also provides

facilities to manage users, domains, apps and so.

.

This package contains YunoHost scripts and binaries to be used by the

moulinette. It allows one to manage the server with a command-line tool

and an API.


I checked on the forum that the similar issue were related to Yunohost 4.X. But mine is for sure, 11.2.23 (stable), as it list in the right bottom corner of the admin page.

Reboot then sudo yunohost diagnosis --share

after run sudo yunohost diagnosis show

Here is the result.

By the way, I tried the system upgrade button again. And it went successfully this time with no error message.

      5: 
        status: SUCCESS
        summary: The IPs and domains used by this server do not appear to be blacklisted
      6: 
        status: SUCCESS
        summary: 0 pending emails in the mail queues
  6: 
    description: Services status check
    id: services
    items: 
      0: 
        status: SUCCESS
        summary: Service dnsmasq is running!
      1: 
        status: SUCCESS
        summary: Service dovecot is running!
      2: 
        status: SUCCESS
        summary: Service fail2ban is running!
      3: 
        status: SUCCESS
        summary: Service metronome is running!
      4: 
        status: SUCCESS
        summary: Service mysql is running!
      5: 
        status: SUCCESS
        summary: Service nginx is running!
      6: 
        status: SUCCESS
        summary: Service peertube is running!
      7: 
        status: SUCCESS
        summary: Service php7.4-fpm is running!
      8: 
        status: SUCCESS
        summary: Service php8.0-fpm is running!
      9: 
        status: SUCCESS
        summary: Service postfix is running!
      10: 
        status: SUCCESS
        summary: Service postgresql is running!
      11: 
        status: SUCCESS
        summary: Service redis-server is running!
      12: 
        status: SUCCESS
        summary: Service rspamd is running!
      13: 
        status: SUCCESS
        summary: Service slapd is running!
      14: 
        status: SUCCESS
        summary: Service ssh is running!
      15: 
        status: SUCCESS
        summary: Service yunohost-api is running!
      16: 
        status: SUCCESS
        summary: Service yunohost-firewall is running!
      17: 
        status: SUCCESS
        summary: Service yunomdns is running!
  7: 
    description: System resources
    id: systemresources
    items: 
      0: 
        status: SUCCESS
        summary: The system still has 1.0 GiB (53%) RAM available out of 1.9 GiB.
      1: 
        details: Please be careful and aware that if the server is hosting swap on an SD card or SSD storage, it may drastically reduce the life expectancy of the device.
        status: SUCCESS
        summary: The system has 1024 MiB of swap!
      2: 
        status: SUCCESS
        summary: Storage / (on device /dev/vda1) still has 20 GiB (43%) space left (out of 47 GiB)!
      3: 
        status: SUCCESS
        summary: Storage /boot/efi (on device /dev/vda15) still has 113 MiB (91.4%) space left (out of 124 MiB)!
  8: 
    description: System configurations
    id: regenconf
    items: 
      0: 
        details: This is probably OK if you know what you're doing! YunoHost will stop updating this file automatically… But beware that YunoHost upgrades could contain important recommended changes. If you want to, you can inspect the differences with 'yunohost tools regen-conf ssh --dry-run --with-diff' and force the reset to the recommended configuration with 'yunohost tools regen-conf ssh --force'
        status: WARNING
        summary: Configuration file /etc/ssh/sshd_config appears to have been manually modified.
      1: 
        status: ERROR
        summary: The SSH configuration appears to have been manually modified, and is insecure because it contains no 'AllowGroups' or 'AllowUsers' directive to limit access to authorized users.
  9: 
    description: Applications
    id: apps
    items: 
      status: SUCCESS
      summary: All installed apps respect basic packaging practices

and here is log for failed to “Upgrade the ‘peertube’ app”

https://paste.yunohost.org/raw/elinupunel

That’s not very good. You should regen-conf the ssh config and make changes from the webadmin.

Good. It’s solved at 50%.

1 Like

Thank you. I made some changes. And I still cannot get peertube upgraded.

I have checked again with

sudo yunohost diagnosis show

I believe my server is good with the following result:

reports:                                                                                                              
  0:                                                                                                                  
    description: Base system                                                                                          
    id: basesystem                                                                                                    
    items:                                                                                                            
      0:                                                                                                              
        details: Server model is DigitalOcean Droplet                                                                 
        status: INFO                                                                                                  
        summary: Server hardware architecture is kvm amd64                                                            
      1:                                                                                                              
        status: INFO                                                                                                  
        summary: Server is running Linux kernel 5.10.0-31-amd64                                                       
      2:                                                                                                              
        status: INFO                                                                                                  
        summary: Server is running Debian 11.10                                                                       
      3:                                                                                                              
        details:                                                                                                      
          - yunohost version: 11.2.24 (stable)                                                                        
          - yunohost-admin version: 11.2.7 (stable)                                                                   
          - moulinette version: 11.2.1 (stable)                                                                       
          - ssowat version: 11.2.1.1 (stable)                                                                         
        status: INFO                                                                                                  
        summary: Server is running YunoHost 11.2.24 (stable)                                                          
      4:                                                                                                              
        status: WARNING                                                                                               
        summary: It looks like apt (the package manager) is configured to use the backports repository. Unless you rea
lly know what you are doing, we strongly discourage installing packages from backports, because it's likely to create 
unstabilities or conflicts on your system.                                                                            
      5:                                                                                                              
        status: WARNING                                                                                               
        summary: There's been a suspiciously high number of authentication failures recently. You may want to make sur
e that fail2ban is running and is correctly configured, or use a custom port for SSH as explained in https://yunohost.
org/security.                                                                                                         
  1:                                                                                                                  
    description: Internet connectivity                                                                                
    id: ip                                                                                                            
    items:                                                                                                            
      0:                                                                                                              
        details: The file /etc/resolv.conf should be a symlink to /etc/resolvconf/run/resolv.conf itself pointing to 1
27.0.0.1 (dnsmasq). If you want to manually configure DNS resolvers, please edit /etc/resolv.dnsmasq.conf.            
        status: WARNING                                                                                               
        summary: DNS resolution seems to be working, but it looks like you're using a custom /etc/resolv.conf.        
      1:                                                                                                              
        details:                                                                                                      
          - Global IP: 159.223.42.38                                                                                  
          - Local IP: 159.223.42.38                                                                                   
        status: SUCCESS                                                                                               
        summary: The server is connected to the Internet through IPv4!                                                
      2:                                                                                                              
        details:                                                                                                      
          - Global IP: 2400:6180:0:d0::e85:5001                                                                       
          - Local IP: 2400:6180:0:d0::e85:5001                                                                        
        status: SUCCESS                                                                                               
        summary: The server is connected to the Internet through IPv6!                                                
  2:                                                                                                                  
    description: DNS records                                                                                          
    id: dnsrecords                                                                                                    
    items:                                                                                                            
      0:                                                                                                              
        details:                                                                                                      
          - Please check the documentation at https://yunohost.org/dns_config if you need help configuring DNS records
.                                                                                                                     
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: AAAA                                                                                                            
Name: @                                                                                                               
Value: 2400:6180:0:d0::e85:5001                                                                                       
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: AAAA                                                                                                            
Name: m                                                                                                               
Value: 2400:6180:0:d0::e85:5001                                                                                       
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: AAAA                                                                                                            
Name: v                                                                                                               
Value: 2400:6180:0:d0::e85:5001                                                                                       
        status: WARNING                                                                                               
        summary: Some DNS records are missing or incorrect for domain bt4u.net (category basic)                       
      1:                                                                                                              
        details:                                                                                                      
          - Please check the documentation at https://yunohost.org/dns_config if you need help configuring DNS records
.                                                                                                                     
          - The following DNS record does not seem to follow the recommended configuration:                           
Type: MX                                                                                                              
Name: @                                                                                                               
Current value: ['10 1.bt4u.net.', '10 bt4u.net.']                                                                     
Expected value: 10 bt4u.net.                                                                                          
          - The following DNS record does not seem to follow the recommended configuration:                           
Type: TXT                                                                                                             
Name: mail._domainkey                                                                                                 
Current value: "v=DKIM1; h=sha256; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBETazF6s42GwhnpEniSSq5QKJQSF7LasTUi
2N6piyewBb5hGmAGxE07e6Lf9zRfZ1n0YFx3UtNthorqtRgHUSqZiElZmVMBLEuVH5vMMwU7ZHXrUELfqVgC0JbwGBuQHKuQmwhmiWeYSyzl80+lJlygNU
MKOOlZRjsOxyCkHcVwIDAQAB"                                                                                             
Expected value: "v=DKIM1; h=sha256; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC6IsHgZpafzQWn9ENuDhQ2VzuSCvqFcmq4k
nsky3hL8NXPIt1qKCfqQi8e9U58jPzQmhT98yxAupk7PBIsPMeHjooCUGj8Fpluadyojp3S/PtIIKkL5OzMSfxagK7jVq0ybjWiXt9xgTQBOSB5x2/kDYJ
97nV81lj8RrOJgJdvTwIDAQAB"                                                                                            
        status: WARNING                                                                                               
        summary: Some DNS records are missing or incorrect for domain bt4u.net (category mail)                        
      2:                                                                                                              
        details:                                                                                                      
          - Please check the documentation at https://yunohost.org/dns_config if you need help configuring DNS records
.                                                                                                                     
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: A                                                                                                               
Name: *                                                                                                               
Value: 159.223.42.38                                                                                                  
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: AAAA                                                                                                            
Name: *                                                                                                               
Value: 2400:6180:0:d0::e85:5001                                                                                       
          - The following DNS record does not seem to follow the recommended configuration:                           
Type: CAA                                                                                                             
Name: @                                                                                                               
Current value: ['0 issuewild "digicert.com; cansignhttpexchanges=yes"', '0 issuewild "letsencrypt.org"', '0 issuewild 
"pki.goog; cansignhttpexchanges=yes"', '0 issue "comodoca.com"', '0 issue "digicert.com; cansignhttpexchanges=yes"', '
0 issue "letsencrypt.org"', '0 issue "pki.goog; cansignhttpexchanges=yes"', '0 issuewild "comodoca.com"']             
Expected value: 0 issue "letsencrypt.org"                                                                             
        status: WARNING                                                                                               
        summary: Some DNS records are missing or incorrect for domain bt4u.net (category extra)                       
      3:                                                                                                              
        details:                                                                                                      
          - Please check the documentation at https://yunohost.org/dns_config if you need help configuring DNS records
.                                                                                                                     
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: AAAA                                                                                                            
Name: @                                                                                                               
Value: 2400:6180:0:d0::e85:5001                                                                                       
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: AAAA                                                                                                            
Name: u                                                                                                               
Value: 2400:6180:0:d0::e85:5001                                                                                       
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: AAAA                                                                                                            
Name: v                                                                                                               
Value: 2400:6180:0:d0::e85:5001                                                                                       
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: AAAA                                                                                                            
Name: www                                                                                                             
Value: 2400:6180:0:d0::e85:5001                                                                                       
        status: WARNING                                                                                               
        summary: Some DNS records are missing or incorrect for domain livecan.net (category basic)                    
      4:                                                                                                              
        details:                                                                                                      
          - Please check the documentation at https://yunohost.org/dns_config if you need help configuring DNS records
.                                                                                                                     
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: MX                                                                                                              
Name: @                                                                                                               
Value: 10 livecan.net.                                                                                                
          - The following DNS record does not seem to follow the recommended configuration:                           
Type: TXT                                                                                                             
Name: @                                                                                                               
Current value: ['"google-site-verification=yNy957Nrykx2eYCa-Ybm9f9vjvII0z5W5EhSEO7mlV4"', '"google-site-verification=E
Kq3BnC717_DPktIoMCJzfdBPpVCCdD87ewft4xvZE8"']                                                                         
Expected value: "v=spf1 a mx -all"                                                                                    
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: TXT                                                                                                             
Name: mail._domainkey                                                                                                 
Value: "v=DKIM1; h=sha256; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3n51UjSOyHQFUDJ+EPSnXXvZzb8tI9GlVJ+BeWW6YIz
2DdchWsgeK95+tTzkIRZ3Pwd3zBRrk9PgPIeDxBvZMLut6Relpatv1u02VrzVE0mybq2idt3nTJecxjzyjWInLQM6ydhaDLonoptJwtkh2dX/d9sn76ugx
c3QKB+94rQIDAQAB"                                                                                                     
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: TXT                                                                                                             
Name: _dmarc                                                                                                          
Value: "v=DMARC1; p=none"                                                                                             
        status: WARNING                                                                                               
        summary: Some DNS records are missing or incorrect for domain livecan.net (category mail)                     
      5:                                                                                                              
        details:                                                                                                      
          - Please check the documentation at https://yunohost.org/dns_config if you need help configuring DNS records
.                                                                                                                     
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: AAAA                                                                                                            
Name: *                                                                                                               
Value: 2400:6180:0:d0::e85:5001                                                                                       
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: CAA                                                                                                             
Name: @                                                                                                               
Value: 0 issue "letsencrypt.org"                                                                                      
        status: WARNING                                                                                               
        summary: Some DNS records are missing or incorrect for domain livecan.net (category extra)                    
      6:                                                                                                              
        status: SUCCESS                                                                                               
        summary: DNS records are correctly configured for domain grace.noho.st (category basic)                       
      7:                                                                                                              
        status: SUCCESS                                                                                               
        summary: DNS records are correctly configured for domain grace.noho.st (category mail)                        
      8:                                                                                                              
        status: SUCCESS                                                                                               
        summary: DNS records are correctly configured for domain grace.noho.st (category xmpp)                        
      9:                                                                                                              
        status: SUCCESS                                                                                               
        summary: DNS records are correctly configured for domain grace.noho.st (category extra)                       
      10:                                                                                                             
        details:                                                                                                      
          - Please check the documentation at https://yunohost.org/dns_config if you need help configuring DNS records
.                                                                                                                     
          - The following DNS record does not seem to follow the recommended configuration:                           
Type: A                                                                                                               
Name: @                                                                                                               
Current value: ['188.114.96.2', '188.114.97.2']                                                                       
Expected value: 159.223.42.38                                                                                         
          - The following DNS record does not seem to follow the recommended configuration:                           
Type: AAAA                                                                                                            
Name: @                                                                                                               
Current value: ['2a06:98c1:3121::2', '2a06:98c1:3120::2']                                                             
Expected value: 2400:6180:0:d0::e85:5001                                                                              
        status: ERROR                                                                                                 
        summary: Some DNS records are missing or incorrect for domain qien.tv (category basic)                        
      11:                                                                                                             
        details:                                                                                                      
          - Please check the documentation at https://yunohost.org/dns_config if you need help configuring DNS records
.                                                                                                                     
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: MX                                                                                                              
Name: @                                                                                                               
Value: 10 qien.tv.                                                                                                    
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: TXT                                                                                                             
Name: @                                                                                                               
Value: "v=spf1 a mx -all"                                                                                             
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: TXT                                                                                                             
Name: mail._domainkey                                                                                                 
Value: "v=DKIM1; h=sha256; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC0dBiWRikSECxEpHwpFLsqmg7cqWlBy6syo4EOwGWzVx
tqsoE4dCy6b/DFytUdWRVrgjyHIqFtLlvXifEgm06X//Io3eEqIpeBy3tQP66KLWSXziM1sRQHB4j5ZwP5SAJrRGvz4N9aVKDejA9iAcA6AgEq9w2jf9yj
A7R5OWuCjwIDAQAB"                                                                                                     
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: TXT                                                                                                             
Name: _dmarc                                                                                                          
Value: "v=DMARC1; p=none"                                                                                             
        status: WARNING                                                                                               
        summary: Some DNS records are missing or incorrect for domain qien.tv (category mail)                         
      12:                                                                                                             
        details:                                                                                                      
          - Please check the documentation at https://yunohost.org/dns_config if you need help configuring DNS records
.                                                                                                                     
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: A                                                                                                               
Name: *                                                                                                               
Value: 159.223.42.38                                                                                                  
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: AAAA                                                                                                            
Name: *                                                                                                               
Value: 2400:6180:0:d0::e85:5001                                                                                       
          - According to the recommended DNS configuration, you should add a DNS record with the following info.      
Type: CAA                                                                                                             
Name: @                                                                                                               
Value: 0 issue "letsencrypt.org"                                                                                      
        status: WARNING                                                                                               
        summary: Some DNS records are missing or incorrect for domain qien.tv (category extra)                        
      13:                                                                                                             
        details:                                                                                                      
          - livecan.net expires in 334 days.                                                                          
          - bt4u.net expires in 757 days.                                                                             
        status: SUCCESS                                                                                               
        summary: Your domains are registered and not going to expire anytime soon.                                    
  3:                                                                                                                  
    description: Ports exposure                                                                                       
    id: ports                                                                                                         
    items:                                                                                                            
      0:                                                                                                              
        details: Exposing this port is needed for admin features (service ssh)                                        
        status: SUCCESS                                                                                               
        summary: Port 22 is reachable from the outside.                                                               
      1:                                                                                                              
        details: Exposing this port is needed for email features (service postfix)                                    
        status: SUCCESS                                                                                               
        summary: Port 25 is reachable from the outside.                                                               
      2:                                                                                                              
        details: Exposing this port is needed for web features (service nginx)                                        
        status: SUCCESS                                                                                               
        summary: Port 80 is reachable from the outside.                                                               
      3:                                                                                                              
        details: Exposing this port is needed for web features (service nginx)                                        
        status: SUCCESS                                                                                               
        summary: Port 443 is reachable from the outside.                                                              
      4:                                                                                                              
        details: Exposing this port is needed for email features (service postfix)                                    
        status: SUCCESS                                                                                               
        summary: Port 587 is reachable from the outside.                                                              
      5:                                                                                                              
        details: Exposing this port is needed for email features (service dovecot)                                    
        status: SUCCESS                                                                                               
        summary: Port 993 is reachable from the outside.                                                              
      6:                                                                                                              
        details:                                                                                                      
          - Exposing this port is needed for [?] features (service peertube)                                          
          - To fix this issue, you most probably need to configure port forwarding on your internet router as describe
d in https://yunohost.org/isp_box_config                                                                              
        status: ERROR                                                                                                 
        summary: Port 1935 is not reachable from the outside.                                                         
      7:                                                                                                              
        details: Exposing this port is needed for xmpp features (service metronome)                                   
        status: SUCCESS                                                                                               
        summary: Port 5222 is reachable from the outside.                                                             
      8:                                                                                                              
        details: Exposing this port is needed for xmpp features (service metronome)                                   
        status: SUCCESS                                                                                               
        summary: Port 5269 is reachable from the outside.                                                             
  4:                                                                                                                  
    description: Web                                                                                                  
    id: web                                                                                                           
    items:                                                                                                            
      0:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Domain bt4u.net is reachable through HTTP from outside the local network.                            
      1:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Domain m.bt4u.net is reachable through HTTP from outside the local network.                          
      2:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Domain v.bt4u.net is reachable through HTTP from outside the local network.                          
      3:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Domain we.bt4u.net is reachable through HTTP from outside the local network.                         
      4:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Domain livecan.net is reachable through HTTP from outside the local network.                         
      5:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Domain u.livecan.net is reachable through HTTP from outside the local network.                       
      6:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Domain v.livecan.net is reachable through HTTP from outside the local network.                       
      7:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Domain www.livecan.net is reachable through HTTP from outside the local network.                     
      8:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Domain grace.noho.st is reachable through HTTP from outside the local network.                       
      9:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Domain qien.tv is reachable through HTTP from outside the local network.                             
  5:                                                                                                                  
    description: Email                                                                                                
    id: mail                                                                                                          
    items:                                                                                                            
      0:                                                                                                              
        details:                                                                                                      
          - You should first try to unblock outgoing port 25 in your internet router interface or your hosting provide
r interface. (Some hosting providers may require you to send them a support ticket for this).                         
          - Some providers won't let you unblock outgoing port 25 because they don't care about Net Neutrality.       
 - Some of them provide the alternative of using a mail server relay though it implies that the relay will be able to 
spy on your email traffic.                                                                                            
- A privacy-friendly alternative is to use a VPN *with a dedicated public IP* to bypass these kinds of limits. See htt
ps://yunohost.org/vpn_advantage                                                                                       
- You can also consider switching to a more net neutrality-friendly provider                                          
        status: ERROR                                                                                                 
        summary: The SMTP mail server cannot send emails to other servers because outgoing port 25 is blocked in IPv4.
      1:                                                                                                              
        details:                                                                                                      
          - You should first try to unblock outgoing port 25 in your internet router interface or your hosting provide
r interface. (Some hosting providers may require you to send them a support ticket for this).                         
          - Some providers won't let you unblock outgoing port 25 because they don't care about Net Neutrality.       
 - Some of them provide the alternative of using a mail server relay though it implies that the relay will be able to 
spy on your email traffic.                                                                                            
- A privacy-friendly alternative is to use a VPN *with a dedicated public IP* to bypass these kinds of limits. See htt
ps://yunohost.org/vpn_advantage                                                                                       
- You can also consider switching to a more net neutrality-friendly provider                                          
        status: ERROR                                                                                                 
        summary: The SMTP mail server cannot send emails to other servers because outgoing port 25 is blocked in IPv6.
      2:                                                                                                              
        status: SUCCESS                                                                                               
        summary: The SMTP mail server is reachable from the outside and therefore is able to receive emails!          
      3:                                                                                                              
        details:                                                                                                      
          - You should first try to configure reverse DNS with grace.noho.st in your internet router interface or your
 hosting provider interface. (Some hosting providers may require you to send them a support ticket for this).         
          - Some providers won't let you configure your reverse DNS (or their feature might be broken…). If you are ex
periencing issues because of this, consider the following solutions:                                                  
 - Some ISP provide the alternative of using a mail server relay though it implies that the relay will be able to spy 
on your email traffic.                                                                                                
- A privacy-friendly alternative is to use a VPN *with a dedicated public IP* to bypass this kind of limits. See https
://yunohost.org/vpn_advantage                                                                                         
- Or it's possible to switch to a different provider                                                                  
        status: ERROR                                                                                                 
        summary: No reverse DNS is defined in IPv4. Some emails may fail to get delivered or be flagged as spam.      
      4:                                                                                                              
        details:                                                                                                      
          - You should first try to configure reverse DNS with grace.noho.st in your internet router interface or your
 hosting provider interface. (Some hosting providers may require you to send them a support ticket for this).         
          - Some providers won't let you configure your reverse DNS (or their feature might be broken…). If your rever
se DNS is correctly configured for IPv4, you can try disabling the use of IPv6 when sending emails by running 'yunohos
t settings set email.smtp.smtp_allow_ipv6 -v off'. Note: this last solution means that you won't be able to send or re
ceive emails from the few IPv6-only servers out there.                                                                
        status: ERROR                                                                                                 
        summary: No reverse DNS is defined in IPv6. Some emails may fail to get delivered or be flagged as spam.      
      5:                                                                                                              
        status: SUCCESS                                                                                               
        summary: The IPs and domains used by this server do not appear to be blacklisted                              
      6:                                                                                                              
        status: SUCCESS                                                                                               
        summary: 0 pending emails in the mail queues                                                                  
  6:                                                                                                                  
    description: Services status check                                                                                
    id: services                                                                                                      
    items:                                                                                                            
      0:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Service dnsmasq is running!                                                                          
      1:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Service dovecot is running!                                                                          
      2:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Service fail2ban is running!                                                                         
      3:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Service metronome is running!                                                                        
      4:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Service mysql is running!                                                                            
      5:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Service nginx is running!                                                                            
      6:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Service peertube is running!                                                                         
      7:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Service php7.4-fpm is running!                                                                       
      8:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Service php8.0-fpm is running!                                                                       
      9:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Service postfix is running!                                                                          
      10:                                                                                                             
        status: SUCCESS                                                                                               
        summary: Service postgresql is running!                                                                       
      11:                                                                                                             
        status: SUCCESS                                                                                               
        summary: Service redis-server is running!                                                                     
      12:                                                                                                             
        status: SUCCESS                                                                                               
        summary: Service rspamd is running!                                                                           
      13:                                                                                                             
        status: SUCCESS                                                                                               
        summary: Service slapd is running!                                                                            
      14:                                                                                                             
        status: SUCCESS                                                                                               
        summary: Service ssh is running!                                                                              
      15:                                                                                                             
        status: SUCCESS                                                                                               
        summary: Service yunohost-api is running!                                                                     
      16:                                                                                                             
        status: SUCCESS                                                                                               
        summary: Service yunohost-firewall is running!                                                                
      17:                                                                                                             
        status: SUCCESS                                                                                               
        summary: Service yunomdns is running!                                                                         
  7:                                                                                                                  
    description: System resources                                                                                     
    id: systemresources                                                                                               
    items:                                                                                                            
      0:                                                                                                              
        status: SUCCESS                                                                                               
        summary: The system still has 1.0 GiB (53%) RAM available out of 1.9 GiB.                                     
      1:                                                                                                              
        details: Please be careful and aware that if the server is hosting swap on an SD card or SSD storage, it may d
rastically reduce the life expectancy of the device.                                                                  
        status: SUCCESS                                                                                               
        summary: The system has 1024 MiB of swap!                                                                     
      2:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Storage / (on device /dev/vda1) still has 20 GiB (44%) space left (out of 47 GiB)!                   
      3:                                                                                                              
        status: SUCCESS                                                                                               
        summary: Storage /boot/efi (on device /dev/vda15) still has 113 MiB (91.4%) space left (out of 124 MiB)!      
  8:                                                                                                                  
    description: System configurations                                                                                
    id: regenconf                                                                                                     
    items:                                                                                                            
      details: This is probably OK if you know what you're doing! YunoHost will stop updating this file automatically…
 But beware that YunoHost upgrades could contain important recommended changes. If you want to, you can inspect the di
fferences with 'yunohost tools regen-conf ssh --dry-run --with-diff' and force the reset to the recommended configurat
ion with 'yunohost tools regen-conf ssh --force'                                                                      
      status: WARNING                                                                                                 
      summary: Configuration file /etc/ssh/sshd_config appears to have been manually modified.                        
  9:                                                                                                                  
    description: Applications                                                                                         
    id: apps                                                                                                          
    items:                                                                                                            
      status: SUCCESS                                                                                                 
      summary: All installed apps respect basic packaging practices                                                   

During the peertube upgrading process, it lists:

Could not upgrade peertube: An error occurred inside the app upgrade script

And here is the latest peertube upgrade failure report:

https://paste.yunohost.org/raw/kaxagonawo

Can anyone please help, I don’t know how to do with this. Thanks in advance.

Hi, I am still waiting to upgrade peertube. I don’t mind waiting but don’t want ti post to be closed with no updates.

The issue is about the legacy renaming of the database, previously peertube_peertube into just peertube … :

2024-07-25 02:53:24,700: DEBUG - + sudo -u peertube env PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production /opt/node_n/n/versions/node/20/bin/npm run plugin:install -- --npm-name peertube-plugin-auth-ldap
2024-07-25 02:53:25,384: DEBUG - 
2024-07-25 02:53:25,385: DEBUG - > peertube@6.2.0 plugin:install
2024-07-25 02:53:25,385: DEBUG - > node ./dist/scripts/plugin/install.js --npm-name peertube-plugin-auth-ldap
2024-07-25 02:53:25,385: DEBUG - 
2024-07-25 02:53:29,572: DEBUG - ConnectionError [SequelizeConnectionError]: database "peertube_peertube" does not exist

The renaming does happens earlier, but somehow some conf files still refer to the old name or something …

So lets try to see what this returns: sudo grep -nr peertube_peertube /var/www/peertube (… maybe nothing?)

Alternatively sudo grep -nr suffix /var/www/peertube, though I guess peertube was restored in the previous version so it’s expected that we should see “_peertube” as suffix … but i’m wondering if there’s another conf file to take care of

Nothing returns for this one

This one has hundred line of returns.

I guess you are looking for these:

/var/www/peertube/config/test-6.yaml:8:  suffix: '_test6'
/var/www/peertube/config/default.yaml:51:# Your database name will be database.name OR 'peertube'+database.suffix
/var/www/peertube/config/default.yaml:56:  suffix: '_dev'
/var/www/peertube/config/test-5.yaml:8:  suffix: '_test5'
/var/www/peertube/config/test-3.yaml:8:  suffix: '_test3'
/var/www/peertube/config/test-2.yaml:8:  suffix: '_test2'
/var/www/peertube/config/production.yaml.save:49:# Your database name will be database.name OR 'peertube'+database.suffix
/var/www/peertube/config/production.yaml.save:54:  suffix: '_peertube'
/var/www/peertube/config/local.yaml:49:# Your database name will be database.name OR 'peertube'+database.suffix
/var/www/peertube/config/local.yaml:54:  suffix: '_peertube'
/var/www/peertube/config/production.yaml:49:# Your database name will be database.name OR 'peertube'+database.suffix
/var/www/peertube/config/production.yaml:54:  suffix: '_peertube'
/var/www/peertube/config/test-4.yaml:8:  suffix: '_test4'
/var/www/peertube/config/test-1.yaml:8:  suffix: '_test1'
/var/www/peertube/config/production.yaml.example:49:# Your database name will be database.name OR 'peertube'+database.suffix
/var/www/peertube/config/production.yaml.example:54:  suffix: '_prod'

Am I right?

Hello !

I don’t know if I got the same issue.
But I can’t upgrade either, not opening a new topic as this one didn’t received any answer.

https://paste.yunohost.org/raw/vofajuxoxe

This is the log. If some one can read (and understand, as I read it and doesn’t unerstand a thing.

Thank in advance.

This is a different issue:

2024-08-05 07:38:51,400: DEBUG - + mv /home/yunohost.app/peertube/storage/videos /home/yunohost.app/peertube/storage/web-videos
2024-08-05 07:38:51,450: WARNING - mv: cannot move '/home/yunohost.app/peertube/storage/videos' to '/home/yunohost.app/peertube/storage/web-videos/videos': Directory not empty

Thank you Aleks.

So when there’s a warning, usually the issue’s there ?

Should I open a new topic ?
HOw to make the “mv” command working ? need to empty the folder ? But then I’ll lose my videos ! Not smart move I guess ^^’

What would you suggest, and if I can open a new topic with the good title, what should I write / do ?

Thank you a lot !

I don’t know how to fix it but yeah please open a different topic …

1 Like

Thanks, did you have a chance to see my issue?

Is these what you are looking for, does these mean anything to you? :slight_smile:

Hello, anyone got some idea how to deal with this? thanks. :slight_smile:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.