Yourls install failed

My YunoHost server

Hardware: physical server
**YunoHost version:4.0.8 stable
I have access to my server : direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I created a dedicated subdomain through the UI and then attempted to install Yourls. It seemed to fail at an nginx restart towards the end of the process, and brought my environment down. I rebooted and everything else came up fine, but Yourls didn’t appear in the installed applications list.

I got the following logs: https://paste.yunohost.org/raw/darekotabu

Here’s how the logfile ends.

2020-12-10 11:23:00,155: DEBUG - + curl --silent --show-error --insecure --location --header 'Host: url.maindomain.tld' --resolve url.maindomain.tld:443:127.0.0.1 --data install=dummy https://localhost/admin/install.php --cookie-jar /tmp/ynh-yourls-cookie.txt --cookie /tmp/ynh-yourls-cookie.txt
2020-12-10 11:28:00,296: DEBUG - + ynh_exit_properly
**2020-12-10 11:28:00,296: WARNING - curl: (28) Operation timed out after 300153 milliseconds with 0 out of 0 bytes received**
2020-12-10 11:28:00,297: DEBUG - + local exit_code=28
2020-12-10 11:28:00,297: DEBUG - + '[' 28 -eq 0 ']'
2020-12-10 11:28:00,297: DEBUG - + trap '' EXIT
2020-12-10 11:28:00,297: DEBUG - + set +o errexit
2020-12-10 11:28:00,297: DEBUG - + set +o nounset
2020-12-10 11:28:00,297: DEBUG - + sleep 0.5
2020-12-10 11:28:00,798: DEBUG - + type -t ynh_clean_setup
2020-12-10 11:28:00,799: DEBUG - + ynh_clean_setup
2020-12-10 11:28:00,799: DEBUG - + true
2020-12-10 11:28:00,799: DEBUG - + exit 1
2020-12-10 11:28:00,802: ERROR - Could not install yourls: An error occurred inside the app installation script

Any help is appreciated. I don’t really understand what this means.

Hmmm random idea but if you run cat /etc/hosts | grep localhost (on the server using ssh),

do you see a line with “127.0.0.1 localhost” showing up ?

Hi Aleks - sure do - here’s the result of the command:

127.0.0.1       localhost                                                                                                                                               
::1     localhost ip6-localhost ip6-loopback   

Not sure if this matters in any way, but I do have privoxy and pi-hole running on this server.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.