wrolpi-app crash-loops with 203/EXEC when /usr/local/bin/serve is missing.
Two independent causes, both fixed here:
1. The `single-file --version ||` guard in the install scripts only installed
serve (and readability) when single-file was ABSENT. On a machine that
already has single-file (a prior install or a baked image), serve was
skipped, and re-running install.sh could never repair it. Install each npm
global independently based on its own presence.
2. The service hardcoded /usr/local/bin/serve, which breaks when npm's global
prefix puts serve in /usr/bin (depends on how node was installed). Resolve
serve via PATH with `/usr/bin/env serve`.
Verified on a fresh Raspberry Pi OS Trixie install (10.0.0.8): wrolpi-app is
active with 0 restarts and serves 200 with the PATH-resolved ExecStart.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Importing maps as wrolpi user, then changing ownership to _renderd.
Changing ownership of /opt/wrolpi as well.
Creating pgpass for wrolpi user in debian 11.
Install specific version of serve.
Not echoing the echo.
Updating cache directory in create_db.sh.
Use python binary to run db upgrade.
Install renderd.conf to /etc on RPi OS.
Fetching DC map from wrolpi.org to avoid broken daily PBFs.
Only get latest dc map if it doesn't exist.
carto switched again??
Changing mod_tile directory to /var/cache/renderd/tiles for RPi OS.
Copying renderd configs for RPi OS.
Installing postgres 13 for RPi OS map.
Changing title of feature matrix.
Moving download link up in readme.
Changing mod_tile to _renderd.
Using unix socket rather than host connection.
Getting openstreetmap-carto as _renderd user.
Assigning ownership of gis db to _renderd in reset_map.sh.
Creating _renderd db user.
Using _renderd to run renderd on debian 11.
Installing python modules that map requires globally.
Upgrading db using venv.
Installing nodejs which installs npm.
Install npm/node after other dependencies.
Updating apt so nodejs can be installed.
Upgrading PyYAML in new venv.
Installing pip via apt.
Including bash binary for portability.
Moving images link out of list.
Moving download up on Readme.
Removing map installation from readme.
Installing specific version of carto.
Creating venv for wrolpi project. Using venv to install requirements and run wrolpi's main.py.
Logging upgrade script.
Including upgrade script in Upgrade readme.
Moving upgrade logic into separate script. This is necessary so and repo update will take immediate effect on the upgrade.
Modifying and unifying Debian installation with RPi OS installation.