VPS install without install.sh: every read-only script check fails on Ubuntu 24.04, and the error points to a reinstall
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- linux, shell, typescript, ubuntu
- Domain
- devops, documentation
Research direction
Start with the Chrome AppArmor section in docs/deploy-vps.md and the bwrap profile written by apps/link-service/install.sh; copy that profile and the apparmor_parser -r load command into a matching bwrap subsection. Then search the codebase for the quoted "reinstall dusk bot" message and point it at the new section. Done when a manual Ubuntu 24.04 install can follow the docs and the script-check error links there.
Written by the indexing model from the issue text.
Description
What happened
I installed dusk bot 0.2.29 on an Ubuntu 24.04 VPS from the npm package, with my own systemd user unit (one of the manual paths in docs/deploy-vps.md), not with apps/link-service/install.sh.
Every script check that runs in the read-only fence fails with:
bubblewrap is installed but this computer will not let it make the namespaces a script check runs in (on Ubuntu 24.04, reinstall dusk bot so it loads its AppArmor profile for bwrap).
The cause: Ubuntu 24.04 blocks unprivileged user namespaces through AppArmor. install.sh writes /etc/apparmor.d/duskbot-bwrap and loads it, but the manual paths in docs/deploy-vps.md never mention it. The doc covers the same AppArmor block for Chrome (/etc/apparmor.d/duskbot-chrome), so a reader follows that and still has broken script checks.
"Reinstall dusk bot" doesn't help on a manual install. There is no install step to rerun.
access: "full" script checks are not affected, because they run outside the fence.
Steps to reproduce
- Ubuntu 24.04, default
kernel.apparmor_restrict_unprivileged_userns=1. - Install dusk bot by a manual path from
docs/deploy-vps.md. - Create a routine with a script check (no
access), and Run now. - The run fails with the message above. On the same machine,
bwrap --ro-bind / / --unshare-pid --share-net truefails withsetting up uid map: Permission denied.
What you'd like
docs/deploy-vps.md: a short section for the bwrap profile next to the Chrome one, with the same profileinstall.shwrites and theapparmor_parser -rcommand.- The error message links to that section instead of saying "reinstall".
Version / Platform
0.2.29, Ubuntu 24.04.4 LTS (kernel 6.8), self-hosted VPS.
Anything else
I'm happy to send the docs PR.
- Dominant language
- TypeScript
- Stars
- 277
- Forks
- 27
- Avg merge
- 7h 8m
- Merged PRs (30d)
- 81
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DuskBotAI/duskbot
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug
Difficulty 5/5 Over a week Newbie friendliness 20/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 63/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 62/100
Maintainers usually reply within 1 day
All issues in DuskBotAI/duskbot
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pingdotgg/t3code#42253 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
vercel-labs/ui#1108 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 Half a day Newbie friendliness 62/100
garethgeorge/backrest#1451 ·
Maintainers usually reply within 1 day
-
fix(core): \.pluck() returns values in key insertion order instead of requested argument orderPossibly taken @ManyaS-Git claimed this 1 day ago. Openstatus:in-linear
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
n8n-io/n8n#45027 · 1 comment ·
Maintainers usually reply within 1 day
-
Activity indicator ignores prefers-reduced-motionPossibly taken @CapThunder19 claimed this today. Openbug
Difficulty 1/5 Under an hour Newbie friendliness 85/100
joinmarket-webui/jam#1675 ·
Maintainers usually reply within 3 days