Troubleshooting
Outcome: for the six problems new owners actually meet, the first check, the likely cause, and the fix — each grounded in the behaviour the documentation and the diagnosis system describe.
The first diagnosis is a wall of yellow and red
Expected, not a failure. The
documentation warns that the first run
typically shows many alerts, because DNS
(chapter 7) is not finished and, at
home, ports are not forwarded yet. Work
the list top to bottom: each finding
names the record, port or service.
Alerts for features you deliberately do
not use can be flagged ignored per
finding — in the webadmin's Diagnosis
section, or with yunohost diagnosis
ignore. Do not ignore a category to
make the page quiet; the ignored list
is part of your server's record.
The Let's Encrypt certificate will not install
Check, in this order:
- DNS resolves to this server — the diagnosis's DNS records category agrees the domain points here, and you have waited for propagation.
- Port 80 reaches the server from outside — the ports diagnoser tests exactly this; at home it means the router forward exists.
- No broken AAAA record — if the domain advertises an IPv6 address the server does not really have, remove the record (the documentation calls this trap out by name).
- Then retry from the domain's
Certificate page, or
yunohost domain cert install. Last resorts, both documented: the/etc/hostsline for a server that cannot resolve its own name, and--no-checkswhen you — not the tool — are sure the configuration is right. If the certificate is in a bad state, regenerate the self-signed one (--self-signed --force) and start the sequence over.
An app's tile is missing from someone's portal
Work chapter 6's chain: is the user in a group that holds the app's permission? Is the permission's tile set to show? Is the app perhaps reachable by address but not by tile (display is a separate flag)? And if the app opens but demands a second login, that is the app's integration level talking — SSO sign-in inside the app exists only where the package integrates with the directory.
The portal will not load by IP address
It is not broken. The SSO can only be
reached through the domain name
(https://the.domain.tld/yunohost/sso);
the webadmin, by contrast, does answer
by IP. If the domain does not resolve
on your local network yet, the
documented workaround is an /etc/hosts
entry on the client machine pointing
the domain at the server's local
address.
Mail lands in spam, or nowhere
Chapter 9's checklist, in diagnosis order: the mail diagnoser's blocklist check (are you listed — and is the listing of the "residential/dynamic range" kind?), the reverse-DNS check (does the reverse lookup match the name the server announces?), the DNS records check (MX, SPF, DKIM and DMARC all present and matching?), and the queue check (is mail stuck leaving?). If all four pass and big providers still file you under spam, the remaining variable is reputation and time — the answer nobody likes, and the true one.
SSH refuses you after the postinstall
By design (chapter 12): root SSH
login from the internet was disabled at
the postinstall; log in as the first
YunoHost user (an admins member) on
port 22, even if you had a custom port
before — the installer warned it would
reset it, and the port can be changed
again from inside YunoHost afterwards.
If even that fails from home but works
from the local network, suspect the
router and the diagnosis's port check
before suspecting the server.
An upgrade went wrong
Do not improvise. YunoHost logged the
operation — yunohost log list and
yunohost log show hold it, and
yunohost log share produces the link
the support forum will ask for. For
apps, the pre-upgrade backup of
chapter 8 is the way back: remove the
broken app only if the restore requires
it (chapter 11's rule), then restore
the archive. For system trouble, the
diagnosis's base-system and regen-conf
categories name the inconsistency; run
yunohost tools regen-conf before
hand-editing any configuration file,
because the next regeneration is what
your edit would have to survive anyway.
Where to look, in one list
- Health of everything: Diagnosis
(webadmin) /
yunohost diagnosis show. - What just happened:
yunohost log. - Is a service alive:
yunohost service statusandyunohost service log. - The outside view of your ports and DNS: the diagnosers, which test from the internet's side, not from inside your optimism.