[SOLVED?] Akkoma installation fails

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.

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

do you think it would be better to open an issue on the relevant github page then?

This is because Akkoma doesn’t release new version archives in a static link for now (I’m talking about OTP releases, not these ones Releases - akkoma - Akkoma Development). I should change that to commit version or similar. Related discussion : How do we manage non-named/fixed version names ? · Issue #2 · YunoHost-Apps/akkoma_ynh · GitHub

Until I (or someone else :wink: ) have time to fix, for every new release it will be broken.
I try to fix the install soon.

3 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.