Problem with upgrade of Nextcloud

Hi everyone,
it’s been a week I have upgrade my nextcloud instance. But it doesn’t work when I go to the authentification page I have a page who said upgrade is necessary and I need to update the instance with line of command. But when I go to the shell pod I can’t execute “php occ upgrade” cause “the owner id of the data directory : 33” and I don’t know how to execute it with the user 33 because when I run “-u 33 php occ upgrade” the command is not found. SO I need some help please


Hello, I’ll be back to explain how to fix this. The only thing you need to do is enter this command line in the nextcloud pod shell: “su” and " su -m www-data -c ‘php /var/www/html/occ upgrade’ " hoping to help people in the same case as me.

1 Like