Upgrade to nextcloud php error

Hey,

Mon serveur YunoHost

Matériel: Serveur Perso
Version de YunoHost:
yunohost:
repo: stable
version:
yunohost:
repo: stable
version: 11.0.9.13
yunohost-admin:
repo: stable
version: 11.0.10
moulinette:
repo: stable
version: 11.0.9
ssowat:
repo: stable
version: 11.0.9

J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Applitacions installés : invidious / nextcloud

Description du probleme :

I just upgrade nextcloud from 22.2.10 to 24.4.0 (yes bigjump)
https://paste.yunohost.org/raw/iqodugohab
Everything seems good but the php conf was not copy and paste from php fpm config 7.3 to 8.0
In fact I did the upgrade
When I tried to acces vhost I was stuck with 502 bad gateway
After debugging
I see in the vhost nginx log

2022/09/05 19:49:41 [crit] 608754#608754: *54504 connect() to unix:/var/run/php/php8.0-fpm-nextcloud.sock failed (2: No such file or directory) while connecting to upstream, client: X.X.X.X server: cloud.domaine.fr, request: "GET /ynhtheme/custom_overlay.css HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.0-fpm-nextcloud.sock:", host: "cloud.domaine.fr"

So after research I just copy and paste the php config file

cp /etc/php/7.3/fpm/pool.d/nextcloud.conf /etc/php/8.0/fpm/pool.d/
chown nextcloud: /etc/php/8.0/fpm/pool.d/nextcloud.conf 

Restarted php8.0-fpm et voila
I don’t have a github account so I take the time to wrote it here i don’t know may be it will help someone

Cheers’

Sounds like an issue in our ynh_get_ram which had some domino effect…

Can you share the output of LANG=C vmstat --stats --unit M ?

Hi @Aleks

free -m
              total        used        free      shared  buff/cache   available
Mem:           3946        1824         258          80        1862        1761
Swap:           975         948          27

vmstat --stats --unit M
         3946 M total memory
         1827 M used memory
         1568 M active memory
         1702 M inactive memory
          256 M free memory
          818 M buffer memory
         1043 M swap cache
          975 M total swap
          948 M used swap
           27 M free swap
     34476641 non-nice user cpu ticks
       622930 nice user cpu ticks
     16415278 system cpu ticks
   1033609213 idle cpu ticks
     14546254 IO-wait cpu ticks
            0 IRQ cpu ticks
       381320 softirq cpu ticks
            0 stolen cpu ticks
    100813353 pages paged in
    539401635 pages paged out
       603119 pages swapped in
      1444715 pages swapped out
   3281761623 interrupts
   3941806748 CPU context switches
   1656959696 boot time
      5141705 forks

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