You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The lock-out commands can't find the service's settings, and there are two help texts #304
doctor, owner-link and migrate take --service | --env-file through doctor::apply_settings_args. reset-password, disable-2fa and make-owner refuse any extra argument (src/owner.rs:153), so docs/self-hosting.md:471 has to tell people to prefix sudo SKRONGLE_DB=/var/lib/skrongle/learn.db. These are the commands someone runs when they are locked out and least able to work that out.
owner::HELP (src/owner.rs:135) duplicates USAGE (src/main.rs:302), leaves out doctor, migrate and --version, and cannot be reached from main. src/owner.rs:4 still calls the binary ./spanish-learning.
Fix, one PR: run the three commands through apply_settings_args, delete HELP, and shorten the doc line to sudo /opt/skrongle/skrongle reset-password --service <address>.
To check while there: whether running these as root with the server stopped leaves root-owned -wal and -shm files that the service user then cannot open.
From the code review of 24 November 2026. Line numbers are as of 0.5.0 (2547b36).
Activity