Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pierrelauret opened this issue Nov 20, 2022 · 15 comments · Fixed by #13
Closed

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

pierrelauret opened this issue Nov 20, 2022 · 15 comments · Fixed by #13

Comments

@pierrelauret
Copy link

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

@navanchauhan
Copy link
Collaborator

What are you installing it on?

@pierrelauret
Copy link
Author

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

@tituspijean
Copy link
Member

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

@pierrelauret
Copy link
Author

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

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

@pierrelauret pierrelauret changed the title can install the app [WARNING - Corrupt source] can't install the app [WARNING - Corrupt source] Nov 22, 2022
@navanchauhan
Copy link
Collaborator

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
Copy link
Author

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
Copy link

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

@navanchauhan
Copy link
Collaborator

was finally able to reproduce on a clean system

@JacquelinDV
Copy link

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
Copy link
Collaborator

navanchauhan commented Jan 19, 2023 via email

@navanchauhan
Copy link
Collaborator

@JacquelinDV should be fixed now

@JacquelinDV
Copy link

JacquelinDV commented Jan 20, 2023

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
Copy link
Collaborator

navanchauhan commented Jan 20, 2023 via email

@JacquelinDV
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants