Error when updating Peertube from 5.2.1 to 6.1.0

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.2.12
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:
If your request is related to an app, specify its name and version: peertube v5.2.1~ynh1

Since a while I have been trying to run the update for our peertube installation to version 6.1 but it is not working. There is not much to get from the log files. There is a warning about moving videos to another folder but that does not seem to be the reason for the error in the installation.

Here I leave the logs:

Someone else facing this issue?

I’ve noticed this line in the logs which could be problematic:
mv: cannot move ‘/home/’ to ‘/home/’: Directory not empty
could you check this directory?
it has to be empty before the upgrade

Hi, I checked and emptied the directory but it does not solve the issue. I tried to upgrade and it still does not work.

The new logs are here:

the peertube upgrade works well but there is an error at the step to upgrade peertube ldap plugin
Maybe the plugin isn’t compatible with this peertube version yet?