Closed lapineige closed 3 years ago
Why is CI failing?
@anmol26s I don't get it https://ci-apps-dev.yunohost.org/jenkins/job/shaarli_ynh%20PR58%20(ericgaspar)/lastBuild/console
@lapineige : uh yeah for some reason it looks like the CI fails to reach the app after the (successful) installation:
Try to access by url...
curl: (47) Maximum (50) redirects followed
Dunno if that's due to the CI somehow or if an human is able to reproduce the issue...
You can implement the cURL post-install explained by Kayou on this issue for Mantis: https://github.com/YunoHost-Apps/mantis_ynh/pull/6 and the code: https://github.com/YunoHost-Apps/mantis_ynh/blob/e7a1f471d813a829558fe426aa21beb124f76727/scripts/install#L121-L137 This will skip the post installation panel
I don't understand all of that, does it concerns only CI or this app too ?
I think this is a problem with the NGINX config ...
@lapineige I pushed Patch2 which should fix some errors Edit: the 302 is gone but the NGINX needs more work. It leeds to a white page. :/
So, I have investigated the issue with the Too many redirects
. It happens due to Shaarli making the browser go back and forth between /install
and /install/session-test
. (I suspect it is a feature, not a bug, but I fail to see why they check for a session that way).
If we reinstate conf/config.json.php
, the postinstall will be ignored and redirects loop will never be triggered. We need to update this file though, and put the placeholders sed
s (or --other_vars
) back in install
and upgrade
.
I'll trust you on this one, this is beyond my knowledge in yunohost packaging and nginx stuff. Just tell me when it's fixed :)
57 : Updated to V0.12.0 and Nginx fix
59