What type of hardware are you using: VPS bought online What YunoHost version are you running: 12.0.11 What app is this about: GoToSocial
Describe your issue
I tried to update GoToSocial recently, log included below.
GoToSocial (gotosocial) from 0.17.3~ynh2 to 0.17.4~ynh1
Recently I set up an S3 bucket according to the procedure I shared today. My set up works thus far, and GoToSocial has been working without issue.
When I tried to update GoToSocial an error came up citing permissions issues. I do have the original Storage Base Path as a mount point to my S3 where I backed up the existing GTS files into.
I did look at the /home/yunohost.app/gotosocial folder and pulled
ls -l
drwxrwxrwx 1 gotosocial gotosocial 0 Dec 31 1969 gotosocial
drwxr-x— 18990 gotosocial gotosocial 1003520 Feb 10 18:08 gotosocial-bak
I am not using gts, but I had experience with s3 on yunohost. In fact, s3 doesn’t support symlinks and I remember having issues with permissions.
Did you use rclone to mount the bucket? A systemd service? If yes, I think it should be run as gts. Does gts support natively s3?
Try unmounting (stopping rclone service) it and rerun the upgrade.
In my case with Digital Ocean and s3fs I had to turn off the mount
fusermount -u /home/yunohost.app/gotosocial
I then ran the update.
After, I turned the mount back on…I’m not sure if GTS still uses the original Storage Base Path, but I did it anyway. Do replace the 666 UID and GID accordingly.