After upgrading Mastodon, the script runs into the following error:
4149274 DEBUG Checking that required services are up and running...
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
4150684 ERROR Could not upgrade mastodon: This action broke dpkg/APT (the system package managers).
Context
Hardware: VPS bought online
YunoHost version: 11.2.10 (stable)
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
Using, or trying to install package version/branch: Mastodon 4.2.6
If upgrading, current package version: 4.2.5
Steps to reproduce
If you performed a command from the CLI, the command itself is enough. For example:
Describe the bug
After upgrading Mastodon, the script runs into the following error: 4149274 DEBUG Checking that required services are up and running... sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory 4150684 ERROR Could not upgrade mastodon: This action broke dpkg/APT (the system package managers).
Context
Steps to reproduce
sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh --debug
Expected behavior
A successful update. The update itself worked, Mastodon is now on 4.2.6
Logs
https://paste.yunohost.org/raw/zekibehida