YunoHost-Apps / jenkins_ynh

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

Installation of 2.401.2~ynh1 fails #114

Closed CodeShakingSheep closed 1 year ago

CodeShakingSheep commented 1 year ago

Describe the bug

As described in #113 upgrading and restoring failed. So, I wanted to do a fresh install which failed too.

Context

Steps to reproduce

sudo yunohost app install jenkins

Expected behavior

The app should be installed successfully.

Logs

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

yalh76 commented 1 year ago

Seems it comes from this error in your log:

2023-07-27 06:19:08,567: DEBUG - + out='Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
2023-07-27 06:19:08,568: DEBUG - ERROR: could not open HSTS store at '\''/root/.wget-hsts'\''. HSTS will be disabled.

You should fix that before retrying

CodeShakingSheep commented 1 year ago

Thanks for investigating. Indeed, that was the cause. I could fix it with chmod 644 .wget-hsts as described here. Afterwards, installation was successful.