Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Troubleshooting

The failures people hit first, and what actually happened.

A command printed nothing

Most Listsome commands report through the log, and Listsome logs at the warn level by default. listsome list, listsome check, listsome deploy, and every listsome webmention subcommand print their results at the info level, so a quiet terminal means a quiet log rather than a failed command.

Raise the level for the run:

RUST_LOG=info listsome list
RUST_LOG=debug listsome build

RUST_LOG accepts the usual directives, so RUST_LOG=listsome=info narrows the change to this binary. The -v and -q flags in --help do nothing yet.

listsome serve looks hung

It’s not hung. The dev server binds and waits, and the line that prints its address sits at the info level. Run RUST_LOG=info listsome serve and the address appears, or pass --open and let the browser find it. The port comes from [dev] port, and -p beats the file.

cargo install listsome fails

The registry has no listsome crate, so cargo install listsome stops and says so. Install from the repository:

cargo install --git https://codeberg.org/RyanParsley/listsome

Release tags carry no prebuilt binaries. If the install instead fails while compiling with a message about edition 2024, the toolchain is too old, and rustup update fixes it. The crate needs Rust 1.96 or newer.

A project is missing from the site

Four things cause this, in the order worth checking.

  1. The directory holds no index.md. Listsome only treats a directory as a project when that file exists, and it skips the directory without a word.

  2. The file failed to parse. The build drops a project it can’t read at any log level, which is issue #84. Find it by checking the project directly:

    RUST_LOG=info listsome check cigar-box-controller
    

    A missing title or description is the usual cause, and a file with no frontmatter block at all reports the same way.

  3. The project is a draft. status: draft holds it out of the build until you ask for it with --drafts.

  4. The directory is in the wrong place. Projects live one level under projects/, so projects/foo/bar/index.md isn’t a project.

The build warns about a frontmatter key

The warning names the file and the key, and it means the build drops the key rather than stores it:

Unknown frontmatter key `draft` in projects/led-chaser/index.md is ignored.
Did you mean `status`?

draft: true doesn’t make a draft here, and the warning is the only thing telling you the project published anyway. Rename the key. If the key is one you invented for your own workflow, it belongs in a field Listsome reads or in a note inside the body.

listsome webmention fetch refuses to run

The endpoint in your config is still the one listsome init wrote:

https://webmention.io/yourdomain.com/webmention

webmention.io answers an unknown domain with an empty inbox, and an empty inbox looks exactly like a site that no one ever linked to, so the command refuses rather than lying to you. Register your domain at webmention.io, put its endpoint in [webmention] endpoint, and run the fetch again.

Webmentions didn’t appear on the page

Fetching and rendering are two steps. A fetch writes .cache/webmentions.json and nothing else. A build reads that cache and writes the approved mentions into the page, so a fetch needs a build after it.

Then check the moderation decision. With approval = "auto_verified", the default, a mention appears only after its source page still links to your project. Unverified mentions wait for you:

RUST_LOG=info listsome webmention pending
listsome webmention approve https://blog.example/post
listsome build

approval = "manual" holds everything until you approve it, and approval = "off" publishes whatever arrives. The cache remembers a rejection, so the next fetch leaves that mention out instead of putting it back.

The steps section looks wrong

The page renders your body in full and then repeats each step in a steps section, so the same text shows twice. In the second copy the parser flattens Markdown structure, which turns a bulleted list into one run-on paragraph, and the first step comes out empty when a non-step heading such as ## What You'll Need sits before it.

Issue #86 tracks both defects. Nothing to fix in your content: the body copy is the correct one, so write steps the way you want them read and treat the steps section as unreliable until someone fixes it.

A materials table stayed a plain table

Check the heading first. It must be exactly one of ## What You'll Need, ## Materials, or ## BOM, and the apostrophe in the first one is part of the match. ## What You Need, ## Parts, and ## Shopping List are ordinary headings over ordinary tables.

Then check the columns. A role takes the first column that answers to it:

RoleColumn headings
ItemItem, Part, Component, Name, Material
QtyQty, Quantity, Count, Amount
CostCost, Price, Unit Cost, Each
SourceSource, Link, Buy, Vendor, Supplier
NotesNotes, Description, Comment, Note

A table with no Item column names no parts, so no rows become bill entries and the table stays as written. A column that matches nothing keeps its contents.

The bill total looks wrong

Costs that aren’t numbers stay in the bill and out of the total, which is the right answer for Free, -, and 20–30. The parser refuses a figure with a decimal comma, the European 1.200,00, rather than guessing it, because guessing prices a $1200 part at $1.20. Rewrite it as 1200.00 or 1,200.00.

When the frontmatter cost and the bill disagree, the frontmatter wins and the build prints a warning naming both figures:

Cost $150.00 in the frontmatter of projects/mini-drone/index.md disagrees
with the bill of materials total $174.00; the frontmatter figure is the one
the site shows.

A guide that itemizes everything can leave cost out and let the bill answer.

The feed points at localhost

Absolute URLs come from three places, in this order: the --base-url flag, site.url, then dev.base_url, and finally http://localhost:8080. A site with no site.url publishes a feed of localhost links. Set url in [site].

build.base_url looks like the answer and isn’t: the parser reads it and no code looks at it.

Deploy failed

listsome deploy runs rsync over ssh, so it needs [deploy] host, user, and path, plus an output/ directory from a prior build. It names whichever of the three is missing. --dry-run prints the rsync command and sends nothing, which is the right first run on a new host:

listsome deploy --dry-run

The deploy also sends webmentions for the outbound links recorded at build time in output/.webmentions/outbound.json. A failure there shows up at the warn level, and the files you copied stay copied.

listsome new --git didn’t create a repository

It writes a .git/config file by hand rather than running git init, so the project directory looks like a repository and isn’t one. Run git init yourself, or leave the flag off and keep projects in the site repository, which is what the layout expects.

The site looks unstyled

The binary carries the built-in style sheet and injects it whenever a site has no assets/custom.css. Add that file at the site root, next to listsome.toml, and the build serves it instead of the built-in one. The replacement is total, so a custom.css that only sets a color loses every other rule.

Images are still large

Image processing is on by default and caps content images at 1400 pixels wide and thumbnails at 700. It resizes, and it doesn’t convert to WebP unless convert_to_webp = true. Files whose names contain thumbnail get the thumbnail width, and nothing else does. Set enabled = false to copy assets untouched.