YunoHost-Apps / akkoma_ynh

Social media based on ActivityPub, fork of Pleroma
https://akkoma.social/
GNU Affero General Public License v3.0
15 stars 6 forks source link

akkoma installation fails #19

Closed lucyferu closed 1 year ago

lucyferu commented 1 year ago

Hardware: VPS bought online ( Contabo ) YunoHost version: 11.1.6.2 (stable) I have access to my server : Through SSH and browser Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

as per title, every time i try to install akkoma], it fails.

this is the excerpt from the log:

2023-02-11 23:50:55,805: DEBUG - ++ echo zip
2023-02-11 23:50:55,805: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2023-02-11 23:50:55,806: DEBUG - + src_format=zip
2023-02-11 23:50:55,807: DEBUG - + src_extract=true
2023-02-11 23:50:55,807: DEBUG - + '[' '' = '' ']'
2023-02-11 23:50:55,807: DEBUG - + src_filename=amd64.zip
2023-02-11 23:50:55,807: DEBUG - + local local_src=/opt/yunohost-apps-src/akkoma/amd64.zip
2023-02-11 23:50:55,807: DEBUG - + mkdir -p /var/cache/yunohost/download/akkoma/
2023-02-11 23:50:55,811: DEBUG - + src_filename=/var/cache/yunohost/download/akkoma/amd64.zip
2023-02-11 23:50:55,812: DEBUG - + '[' zip = docker ']'
2023-02-11 23:50:55,812: DEBUG - + test -e /opt/yunohost-apps-src/akkoma/amd64.zip
2023-02-11 23:50:55,812: DEBUG - + '[' -n https://akkoma-updates.s3-website.fr-par.scw.cloud/stable/akkoma-amd64.zip ']'
2023-02-11 23:50:55,812: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/akkoma/amd64.zip https://akkoma-updates.s3-website.fr-par.scw.cloud/stable/akkoma-amd64.zip
2023-02-11 23:51:01,083: DEBUG - + out='2023-02-11 23:51:01 URL:https://akkoma-updates.s3-website.fr-par.scw.cloud/stable/akkoma-amd64.zip [20306315/20306315] -> "/var/cache/yunohost/download/akkoma/amd64.zip" [1]'
2023-02-11 23:51:01,084: DEBUG - + sha256sum --check --status
2023-02-11 23:51:01,266: DEBUG - ++ sha256sum /var/cache/yunohost/download/akkoma/amd64.zip
2023-02-11 23:51:01,267: DEBUG - ++ cut '--delimiter= ' --fields=1
2023-02-11 23:51:01,385: DEBUG - ++ du -hs /var/cache/yunohost/download/akkoma/amd64.zip
2023-02-11 23:51:01,387: DEBUG - ++ cut '--delimiter= ' --fields=1
2023-02-11 23:51:01,410: DEBUG - + ynh_die '--message=Corrupt source for /var/cache/yunohost/download/akkoma/amd64.zip: Expected c892ad17914690185196c75a728f94b639f53e00c42a194e60242fbea09e7320 but got a00b3533b39b9e6c0a72ffa94c583e1c23946ee22157254a514e9fd3c4fbb95e (size: 20M   /var/cache/yunohost/download/akkoma/amd64.zip).'
2023-02-11 23:51:01,453: DEBUG - + ynh_exit_properly
2023-02-11 23:51:01,454: WARNING - Corrupt source for /var/cache/yunohost/download/akkoma/amd64.zip: Expected c892ad17914690185196c75a728f94b639f53e00c42a194e60242fbea09e7320 but got a00b3533b39b9e6c0a72ffa94c583e1c23946ee22157254a514e9fd3c4fbb95e (size: 20M  /var/cache/yunohost/download/akkoma/amd64.zip).
2023-02-11 23:51:01,987: DEBUG - + ynh_clean_setup
2023-02-11 23:51:01,987: DEBUG - + true
2023-02-11 23:51:02,995: ERROR - Unable to install akkoma: An error occurred inside the app installation script

while here you can find the full log.

in the forum, someone suggested:

It sounds like indeed the upstream checksum changed >_> So somebody should investigate if this is expected and update the app accordingly :neutral_face:

is that the case?

lapineige commented 1 year ago

For the record: see #2 and the related forum discussion.