YunoHost-Apps / jenkins_ynh

Jenkins package for YunoHost
https://jenkins.io/
Apache License 2.0
5 stars 10 forks source link

Install failed on ynh 2.7.5 #15

Closed bachy closed 6 years ago

bachy commented 6 years ago

Hello, maybe you could help me here are the install output

$ yunohost -v
yunohost: 2.7.5
yunohost-admin: 2.7.5
moulinette: 2.7.5
ssowat: 2.7.5
$ yunohost app install jenkins
Available domains:
- figureslibres.cc
- figureslibres.io
Choose a domain for Jenkins (default: figureslibres.io): 
Choose a path for Jenkins (default: /jenkins): 
Is it a public site? [0 | 1] (default: 1): 0
Warning: fatal: CRLF would be replaced by LF in java-7-openjdk/security/blacklisted.certs.
Warning: etckeeper warning: git add --all
Warning: warning: etckeeper failed to commit changes in /etc using git
Warning: 2018-01-07 12:58:52 URL:https://prodjenkinsreleases.blob.core.windows.net/debian-stable/jenkins_2.46.3_all.deb [69980456/69980456] -> "jenkins_2.46.3_all.deb" [1]
Warning: Starting of jenkins
Warning: ...........The service jenkins has correctly started.
Warning: Syntax error in Set-Cookie: SSOwAuthRedirect=;; Path=/yunohost/sso/; Expires=Thu, 01 Jan 1970 00:00:00 UTC;; Secure at position 18.
Warning: 2018-01-07 12:59:23 URL:https://figureslibres.io/jenkins/jnlpJars/jenkins-cli.jar [2846082/2846082] -> "/var/lib/jenkins/jenkins-cli.jar" [1]
Warning: Starting of jenkins
Warning: ....................The service jenkins has correctly started.
Warning: _common.sh: line 569: mail: command not found
Warning: _common.sh: line 569: echo: write error: Broken pipe
Warning: !!
Warning:   jenkins's script has encountered an error. Its execution was cancelled.
Warning: !!
Warning: 
Warning: [INFO] Remove jenkins service
Warning: fatal: CRLF would be replaced by LF in java-7-openjdk/security/blacklisted.certs.
Warning: etckeeper warning: git add --all
Warning: fatal: CRLF would be replaced by LF in java-7-openjdk/security/blacklisted.certs.
Warning: etckeeper warning: git add --all
Warning: warning: etckeeper failed to commit changes in /etc using git
Warning: fatal: CRLF would be replaced by LF in java-7-openjdk/security/blacklisted.certs.
Warning: etckeeper warning: git add --all
Warning: /var/lib/jenkins wasn't deleted because it doesn't exist.
Success! The SSOwat configuration has been generated
Error: Installation failed
bachy commented 6 years ago

just re-read the readme does

Can't be updated after the current version 2.46, because it need some packages not available on jessie.

means that this app (and jenkins) canot be installed in deb8 jessie ?

maniackcrudelis commented 6 years ago

means that this app (and jenkins) canot be installed in deb8 jessie ?

No, that means jenkins is going to be install on its version 2.46 and not the last 2.89 In your case, your error is here: Warning: _common.sh: line 569: mail: command not found So you need to install mailutils to fix that.

bachy commented 6 years ago

hey, it worked ! thank you very much :) does mailutils shoud be a dependency ? how can mailutils interfer with yunohost ?

maniackcrudelis commented 6 years ago

mailutils doesn't interfere with YunoHost, in fact it's the first time for me that I see that case. All my VM and servers have mailutils already installed.