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
[human action] Your Pi after 0.2.0: check it, and decide on the new unit and port #73
Only you can do this: it is your own install. Ten minutes, and you can stop after any step.
Why: 0.2.0 changed the systemd unit (port 7576, and the service no longer restarts forever on a refused database). update.sh never touches the unit in /etc/systemd/system, so your install still runs the 0.1.x unit on 8080. Both work. This is about deciding, once, which one you want, and checking the install is healthy after the update.
Steps.
On the Pi: sudo /opt/skrongle/skrongle doctor --service. Expected: no PROBLEM: line. If there is one, paste it here and stop.
Decide: keep 8080 (nothing to change for your phone, bookmarks, Tailscale) or move to 7576 (matches the docs and every future install). Keeping 8080 is fine. If you keep it, do the next step and then skip to the last one.
Either way, take the new unit for the restart rule: sudo cp /opt/skrongle/skrongle.service /etc/systemd/system/skrongle.service. If you keep 8080, first add the line SKRONGLE_BIND=0.0.0.0:8080 to /etc/skrongle/env (sudo nano /etc/skrongle/env), so the new unit still listens on 8080.
sudo systemctl daemon-reload && sudo systemctl restart skrongle, then sudo /opt/skrongle/skrongle doctor --service again. Expected: no PROBLEM: line.
Only if you moved to 7576: in /etc/skrongle/env change the port in SKRONGLE_PUBLIC_URL to :7576; restart again; if you use Tailscale serve: sudo tailscale serve reset then sudo tailscale serve --bg 7576; update the bookmark on your phone. Open the app once from the phone.
Open the app, sign in, open a lesson. Expected: works as before.
Comment here with which port you chose, so the docs can say "an existing install" instead of guessing.
What happens next: nothing on the code side. The next time you run update.sh it will print the old "Syntax error" line once more (#67) and then never again.
The install sits behind nginx, and /etc/skrongle/env already had SKRONGLE_BIND=127.0.0.1:8080, so no line was added. The step's 0.0.0.0:8080 would have opened the port on every interface here; the existing loopback line is the right one for an install behind a reverse proxy.
New unit copied over /etc/systemd/system/skrongle.service (old one kept beside it as skrongle.service.0.1.x.bak), daemon-reload, restart. RestartPreventExitStatus=78 is in effect.
doctor --service before and after: no PROBLEM: line. Version 0.2.0, schema v3 up to date, listening on 127.0.0.1:8080, /healthz and /login return 200 locally and through nginx.
Correction to the comment above: moved to 7576 after all.
/etc/skrongle/env: SKRONGLE_BIND=127.0.0.1:7576 (still loopback, the install is behind nginx).
nginx: the proxy_pass in the /spanish location now points at 127.0.0.1:7576; nginx -t clean, reloaded.
SKRONGLE_PUBLIC_URL has no port in it (nginx serves it on 443), so that part of step 5 did not apply. No Tailscale on this box. The bookmark does not change either.
doctor --service: no PROBLEM: line, listening on 127.0.0.1:7576. /healthz and /login return 200 through nginx.
For the docs: an existing install behind a reverse proxy has two places to change (the bind line and the proxy's upstream), and nothing user-facing moves.
Activity
alexbeeken commentedon Nov 10, 2026
Kept 8080.
/etc/skrongle/envalready hadSKRONGLE_BIND=127.0.0.1:8080, so no line was added. The step's0.0.0.0:8080would have opened the port on every interface here; the existing loopback line is the right one for an install behind a reverse proxy./etc/systemd/system/skrongle.service(old one kept beside it asskrongle.service.0.1.x.bak),daemon-reload, restart.RestartPreventExitStatus=78is in effect.doctor --servicebefore and after: noPROBLEM:line. Version 0.2.0, schema v3 up to date, listening on 127.0.0.1:8080,/healthzand/loginreturn 200 locally and through nginx.Still open: the sign-in and open-a-lesson check.
alexbeeken commentedon Nov 10, 2026
Correction to the comment above: moved to 7576 after all.
/etc/skrongle/env:SKRONGLE_BIND=127.0.0.1:7576(still loopback, the install is behind nginx).proxy_passin the/spanishlocation now points at127.0.0.1:7576;nginx -tclean, reloaded.SKRONGLE_PUBLIC_URLhas no port in it (nginx serves it on 443), so that part of step 5 did not apply. No Tailscale on this box. The bookmark does not change either.doctor --service: noPROBLEM:line, listening on 127.0.0.1:7576./healthzand/loginreturn 200 through nginx.For the docs: an existing install behind a reverse proxy has two places to change (the bind line and the proxy's upstream), and nothing user-facing moves.