Troubleshooting
Outcome: the failures this guide actually met, plus the common ones, each with the check that separates its causes.
A save says "No title found"
The fetch or the extraction failed, and the entry holds the failure note. Work through the causes in order:
- Was the address refused? If it is a
private address (
192.168.…,10.…,127.…) or a non-standard port, the stock SSRF filter refuses it by design (chapter 6). This is not fixable by retrying; it is the security model. Save public pages; read intranet pages where they live. - Did the site refuse the fetcher?
Paywalls and bot checks often answer a
server-side fetch with a teaser or an
error where your browser saw the full
article. The stored
http_statuson the entry is the first clue — the lab read it from the database; the entry view and API show it too. - Did the extraction miss? A fetched page can still parse to rubble. Try the entry's re-fetch after the site changes, and check whether the project ships a site configuration for that site.
The login page loads, but signing in loops
Check the domain_name in
parameters.yml first — Wallabag builds
its addresses from it, and a wrong value
breaks sessions in ways that look like a
password problem. Then check that the
browser is accepting the session cookie,
and that you are signing in at the same
address the instance believes is its own.
Every address returns the PHP server's 404
If you serve with PHP's built-in server, you forgot the router script. The lab's working form is:
php -S 127.0.0.1:18089 -t web web/app.php
Without web/app.php, only real files
exist, and /login is not a file.
The installer created no user
It did the same in the lab: a piped or mistimed answer at the administrator prompt leaves the instance user-less. Create the account explicitly:
php bin/console fos:user:create <name> <email> <password> --super-admin --env=prod
(Created user <name> is the success
line; verify in the wallabag_user
table if in doubt.)
An API call returns 401
Separate the three usual causes: the
token expired (the lab's lived 3600
seconds — fetch a fresh one, or use the
refresh token); the client credentials
are wrong (re-read them on the developer
page); or the header is missing — the
call needs
Authorization: Bearer <access_token>,
exactly, as chapter 9's calls show.
Exports are missing a format
Export formats are instance settings. The installed defaults the lab read enabled EPUB, PDF, CSV, JSON, TXT, and XML, with MOBI off. Enable the format in the instance configuration before debugging the export itself.
Check: pick the symptom you have met (or are likeliest to meet) and name its first check. If each failure above sounds like a cause you could test rather than a mystery, this chapter did its work.