YunoHost-Apps / friendica_ynh

Friendica package for YunoHost
http://friendi.ca/
Other
11 stars 13 forks source link

Upgrade to latest version #17

Closed pubmania closed 5 years ago

pubmania commented 5 years ago

Hi,

Please can this be upgraded to the latest version of Friendica... Their site says Jan 2019 is latest stable release.

Josue-T commented 5 years ago

Found that there are a testing version of the version 2019.1. Is it functional ?

anmol26s commented 5 years ago

Hi @pubmania

Sorry for the delay for this release. The app is now upgraded to latest version.

Closing this issue.

pubmania commented 5 years ago

@anmol26s Thanks for the upgrade but something did not go right here as after upgrade the login page appears but then 504 Gateway Time-out error appears. 😕

Checking the log I see the following:

[13-Mar-2019 13:18:05] WARNING: [pool friendica] child 4375 said into stderr: "PHP Fatal error:  Uncaught Error: Class 'Friendica\Database\DBStructure' not found in /var/www/friendica/src/App.php:578"
[13-Mar-2019 13:18:05] WARNING: [pool friendica] child 4375 said into stderr: "Stack trace:"
[13-Mar-2019 13:18:05] WARNING: [pool friendica] child 4375 said into stderr: "#0 /var/www/friendica/src/App.php(312): Friendica\App->loadDatabase()"
[13-Mar-2019 13:18:05] WARNING: [pool friendica] child 4375 said into stderr: "#1 /var/www/friendica/src/App.php(189): Friendica\App->reload()"
[13-Mar-2019 13:18:05] WARNING: [pool friendica] child 4375 said into stderr: "#2 /var/www/friendica/bin/worker.php(31): Friendica\App->__construct('/var/www/friend...')"
[13-Mar-2019 13:18:05] WARNING: [pool friendica] child 4375 said into stderr: "#3 {main}"

I wonder if it helps.

anmol26s commented 5 years ago

Can you try to upgrade again?

pubmania commented 5 years ago

I tried upgrading from terminal using the command sudo yunohost app upgrade friendica but that just showed following:

Info: Upgrading apps friendica
Info: Upgrading app friendica…
Success! friendica is already up to date
Error: No app to upgrade

No option to upgrade from fronted either.

How can I upgrade it again please?

anmol26s commented 5 years ago

There is an issue going on Yunohost. You can try the below command and see if it work :

$ yunohost app upgrade -u https://github.com/YunoHost-Apps/friendica_ynh/tree/3396188976f75170f2217fcc0e6c9b5f61f7b9e9 friendica --debug

pubmania commented 5 years ago

Hi.. it worked in the sense that it upgraded again but hasn't resolved the error ...