DB initialization was eager at module import time, crashing the entire
analytics route when /server_storage wasn't writable. Now deferred to
first logVisit() call with graceful fallback. Also fix deploy workflow
to chown via a bind-mounted container so permissions apply on the host.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Log visitor IPs and paths to a local SQLite database via the existing
analytics API route, persisted at /server_storage/visitors.db in Docker
(falls back to ./visitors.db in dev).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>