YunoHost-Apps / pleroma_ynh

Pleroma package for YunoHost: A free, federated social networking server built on open protocols.
https://pleroma.social/
GNU Affero General Public License v3.0
30 stars 11 forks source link

Restore from backup onto Ynh 11 results in 502s: exec: /var/www/pleroma/live/erts-10.7.2.17/bin/erlexec: not found #206

Closed lightnin closed 1 year ago

lightnin commented 1 year ago

1.Fresh install of 11.0.9

  1. Restore backup of previous system, including pleroma. Logs from restoration of Pleroma archive: https://paste.yunohost.org/raw/gonafuwavi
  2. Pleroma service fails to start.: https://paste.yunohost.org/ipoderuzod
  3. Regen-conf nginx as per migration instructions
  4. Upgrade apps / packages.
  5. yunohost app upgrade -F pleroma https://paste.yunohost.org/raw/pimafiyofu (logs from second time)
  6. Still 502ing.

Note, from service record in: https://paste.yunohost.org/ipoderuzod Sep 05 17:51:05 pleroma[1025]: /var/www/pleroma/live/releases/2.4.3/../../erts-10.7.2.17/bin/erl: 12: exec: /var/www/pleroma/live/erts-10.7.2.17/bin/erlexec: not found

lightnin commented 1 year ago

Hi @tituspijean wondering if you can suggest any further actions for me to try on this one?

tituspijean commented 1 year ago

Can you try the following fix? sudo yunohost app upgrade pleroma -u https://github.com/YunoHost-Apps/pleroma_ynh/tree/fix-force-upgrade -F

lightnin commented 1 year ago

Amazing! A thousand thanks, @tituspijean !! It works. :)