YunoHost-Apps / pixelfed_ynh

The federated image shareing service Pixelfed for YunoHost
https://pixelfed.org/
GNU Affero General Public License v3.0
44 stars 15 forks source link

Update .env #114

Closed yalh76 closed 4 years ago

yalh76 commented 4 years ago

Problem

Solution

PR Status

Package_check results


Build Status

lapineige commented 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/or sudo 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...