Closed yalh76 closed 4 years ago
Trying to upgrade fails, I can't really find the relevant log, apart from
ERROR Could not upgrade pixelfed: This action broke dpkg/APT(the system package managers)… You can try to solve this issue by conne cting through SSH and running
sudo apt install --fix-broken
and/orsudo dpkg --configure -a
.
Then getcwd()
fails (while /var/www/pixelfed is removed then restored, and I ran the command from /var/www/pixelfed :thinking:) and thus any yunohost command fails. Changing directory solves the issue.
Also during execution:
ynh_handle_getopts_args --app=pixelfed --key=db_pwd
DEBUG ++ set +o xtrace
DEBUG ++ ynh_app_setting get pixelfed db_pwd
DEBUG ++ [[ get == \d\e\l\e\t\e ]]
DEBUG ++ ACTION=get
DEBUG ++ APP=pixelfed
DEBUG ++ KEY=db_pwd
DEBUG ++ VALUE=
DEBUG ++ python2.7 -
DEBUG ++ [[ dbpwd =~ ^(unprotected|skipped) ]]
WARNING dpkg-query: error: error writing to '': Broken pipe
DEBUG Restoring the PostgreSQL database...
Problem
Solution
PR Status
Package_check results