YunoHost-Apps / listmonk_ynh

Listmonk package for YunoHost
https://listmonk.app/
GNU General Public License v3.0
4 stars 3 forks source link

can't install the app [WARNING - Corrupt source] #10

Closed pierrelauret closed 1 year ago

pierrelauret commented 2 years ago

Hello the app won't install WARNING - Corrupt source yunohost_version: 11.0.10.2

navanchauhan commented 2 years ago

What are you installing it on?

pierrelauret commented 2 years ago

it's on a VM Debian GNU/Linux 11 (bullseye) arm64

tituspijean commented 2 years ago

Please share the full install log, with the Share with YunoPaste button.

pierrelauret commented 2 years ago

Please share the full install log, with the Share with YunoPaste button.

https://paste.yunohost.org/raw/wuhixareli

navanchauhan commented 2 years ago

Try reinstalling. The source files seem to be correct and their sha256 hash is matching too. Could be an issue where GitHub was temporarily having an outage with their codeload server

pierrelauret commented 1 year ago

Try reinstalling. The source files seem to be correct and their sha256 hash is matching too. Could be an issue where GitHub was temporarily having an outage with their codeload server

Still get the same error…

ndx1905-github commented 1 year ago

I have the same error on an arm64 system https://paste.yunohost.org/raw/javexirota

navanchauhan commented 1 year ago

was finally able to reproduce on a clean system

JacquelinDV commented 1 year ago

I have the same error on a raspberrry pi 3b+: "error: Une erreur est survenue dans le script d'installation de l'application" et dans https://paste.yunohost.org/raw/amuqomehoq "2023-01-19 10:20:53,252: DEBUG - + ynh_die '--message=Corrupt source' 2023-01-19 10:20:53,333: WARNING - Corrupt source"

navanchauhan commented 1 year ago

I’m sorry, I just realised that I forgot to merge the testing branch to the master. I’ll do it later today. In the meanwhile, you can install using the testing branch (instructions at the bottom of the Readme)Thank YouNavanhttps://navan.websiteOn Jan 19, 2023, at 3:45 AM, JacquelinDV @.***> wrote: I have the same error on a raspberrry pi 3b+: "error: Une erreur est survenue dans le script d'installation de l'application" et dans https://paste.yunohost.org/raw/amuqomehoq "2023-01-19 10:20:53,252: DEBUG - + ynh_die '--message=Corrupt source' 2023-01-19 10:20:53,333: WARNING - Corrupt source"

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: @.***>

navanchauhan commented 1 year ago

@JacquelinDV should be fixed now

JacquelinDV commented 1 year ago

I have the same message following (an extract from https://paste.yunohost.org/raw/zitoqateta): 2023-01-20 14:26:30,451: DEBUG - + src_filename=/var/cache/yunohost/download/listmonk/app.tar.gz 2023-01-20 14:26:30,452: DEBUG - + test -e /opt/yunohost-apps-src/listmonk/app.tar.gz 2023-01-20 14:26:30,453: DEBUG - + '[' -n https://github.com/knadh/listmonk/archive/refs/tags/v2.2.0.tar.gz ']' 2023-01-20 14:26:30,454: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/listmonk/app.tar.gz https://github.com/knadh/listmonk/archive/refs/tags/v2.2.0.tar.gz 2023-01-20 14:26:32,069: DEBUG - + out='2023-01-20 14:26:32 URL:https://codeload.github.com/knadh/listmonk/tar.gz/refs/tags/v2.2.0 [1717969] -> "/var/cache/yunohost/download/listmonk/app.tar.gz" [1]' 2023-01-20 14:26:32,073: DEBUG - + sha256sum --check --status 2023-01-20 14:26:32,108: DEBUG - + ynh_die '--message=Corrupt source' 2023-01-20 14:26:32,190: WARNING - Corrupt source

I am not a developer but it seems to me, perhaps, that the source of the PB is linked to the git source (knadh) which is not ) a yunohost git source like https://github.com/YunoHost-Apps/listmonk_ynh (see the line: "2023-01-20 14:26:32,069: DEBUG - + out='2023-01-20 14:26:32 URL:https://codeload.github.com/knadh/listmonk/tar.gz/refs/tags/v2.2.0 [1717969] -> "/var/cache/yunohost/download/listmonk/app.tar.gz" [1]'")

NOTA: I want to install LISTMONK and no update

navanchauhan commented 1 year ago

From your log, you can see that YunoHost is still trying to install the older version (2.2.0) rather than the latest (2.3.0), this can just be a cache issue where the catalog hasn’t been updated yet. YNH_APP_MANIFEST_VERSION: 2.2.0~ynh1You should manually issue the command “sudo yunohost app install https://github.com/yunohost-apps/listmonk_yhh Or Just wait for the catalog to be updated (24 hours (?))Thank YouNavanhttps://navan.websiteOn Jan 20, 2023, at 7:48 AM, JacquelinDV @.***> wrote: I have the same message following (an extract from https://paste.yunohost.org/raw/zitoqateta): 2023-01-20 14:26:30,451: DEBUG - + src_filename=/var/cache/yunohost/download/listmonk/app.tar.gz 2023-01-20 14:26:30,452: DEBUG - + test -e /opt/yunohost-apps-src/listmonk/app.tar.gz 2023-01-20 14:26:30,453: DEBUG - + '[' -n https://github.com/knadh/listmonk/archive/refs/tags/v2.2.0.tar.gz ']' 2023-01-20 14:26:30,454: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/listmonk/app.tar.gz https://github.com/knadh/listmonk/archive/refs/tags/v2.2.0.tar.gz 2023-01-20 14:26:32,069: DEBUG - + out='2023-01-20 14:26:32 URL:https://codeload.github.com/knadh/listmonk/tar.gz/refs/tags/v2.2.0 [1717969] -> "/var/cache/yunohost/download/listmonk/app.tar.gz" [1]' 2023-01-20 14:26:32,073: DEBUG - + sha256sum --check --status 2023-01-20 14:26:32,108: DEBUG - + ynh_die '--message=Corrupt source' 2023-01-20 14:26:32,190: WARNING - Corrupt source I am not a developer but it seems to me, perhaps, that the source of the PB is linked to the git source (knadh) which is not ) a yunohost git source like https://github.com/YunoHost-Apps/listmonk_ynh (see the line: "2023-01-20 14:26:32,069: DEBUG - + out='2023-01-20 14:26:32 URL:https://codeload.github.com/knadh/listmonk/tar.gz/refs/tags/v2.2.0 [1717969] -> "/var/cache/yunohost/download/listmonk/app.tar.gz" [1]'")

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: @.***>

JacquelinDV commented 1 year ago

Merci de votre réponse, but I have tried with the link: "sudo yunohost app install https://github.com/yunohost-apps/listmonk_yhh" the system responds: "Error: Unknown app" The link: "sudo yunohost app install https://github.com/YunoHost-Apps/listmonk_ynh" works but the result are bad with yet the same error: "Corrupt source" and I have the same wget as previously: " 2023-01-21 18:04:05,757: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/listmonk/app.tar.gz https://github.com/knadh/listmonk/archive/refs/tags/v2.2.0.tar.gz" with the version 2.2.0 of the application, not the 2.3.0. The entire log is https://paste.yunohost.org/raw/opidimuyat.

JacquelinDV commented 1 year ago

I have re-try to install FileMonk after a period to permit a cache update with a 11.1.5 yunohost system on a pi 3B+ and the vresult is the same (see the https://paste.yunohost.org/raw/bulocarihu log file) with the following explanation : 2023-02-02 20:21:35,979: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/listmonk/app.tar.gz https://github.com/knadh/listmonk/archive/refs/tags/v2.2.0.tar.gz 2023-02-02 20:21:37,266: DEBUG - + out='2023-02-02 20:21:37 URL:https://codeload.github.com/knadh/listmonk/tar.gz/refs/tags/v2.2.0 [1717969] -> "/var/cache/yunohost/download/listmonk/app.tar.gz" [1]' 2023-02-02 20:21:37,271: DEBUG - + sha256sum --check --status 2023-02-02 20:21:37,312: DEBUG - ++ sha256sum /var/cache/yunohost/download/listmonk/app.tar.gz 2023-02-02 20:21:37,314: DEBUG - ++ cut '--delimiter= ' --fields=1 2023-02-02 20:21:37,352: DEBUG - ++ du -hs /var/cache/yunohost/download/listmonk/app.tar.gz 2023-02-02 20:21:37,354: DEBUG - ++ cut '--delimiter= ' --fields=1 2023-02-02 20:21:37,377: DEBUG - + ynh_die '--message=Corrupt source for /var/cache/yunohost/download/listmonk/app.tar.gz: Expected e3f1cc89972cafaab78cda38be54ab3fc115fd7846e2e7dae1b19fff002e1c77 but got 6eef831f7ceef80624ae69cd7020504344410d0f8015a0e150b88d324894ca8d (size: 1,7M /var/cache/yunohost/download/listmonk/app.tar.gz).' 2023-02-02 20:21:37,460: DEBUG - + ynh_exit_properly 2023-02-02 20:21:37,468: WARNING - Corrupt source for /var/cache/yunohost/download/listmonk/app.tar.gz: Expected e3f1cc89972cafaab78cda38be54ab3fc115fd7846e2e7dae1b19fff002e1c77 but got 6eef831f7ceef80624ae69cd7020504344410d0f8015a0e150b88d324894ca8d (size: 1,7M /var/cache/yunohost/download/listmonk/app.tar.gz). 2023-02-02 20:21:38,001: DEBUG - + ynh_clean_setup 2023-02-02 20:21:38,004: DEBUG - + true 2023-02-02 20:21:39,015: ERROR - Impossible d'installer listmonk : Une erreur est survenue dans le script d'installation de l'application