i get some errors regarding chroot
using their install script:
RaspAP Install: Configure VPN provider support (Beta
Enable VPN provider client configuration? [Y/n]: n )
[ok] (Skipped)
RaspAP Install: Adding raspap.sudoers to /etc/sudoers.d/890 raspap
cp: cannot stat '/var/www/html/installers/raspap.sudoers': No such file or direc
tory
[error] Unable to apply raspap.sudoers to /etc/sudoers d/090 raspap chmod: cannot access /etc/sudoers.d/090 raspap: No such file or directory
[error] Unable to change file permissions for /etc/sudoers.d/090 raspap
RaspAP Install: Copying RaspAP debug Log control script
cp: cannot stat "/var/www/html/installers/debuglog.sh: No such file or director y
[error] Unable to move debug logging script
RaspAP Install: Copying RaspAP install loader I
cp: cannot stat /var/www/html/installers/raspbian.sh: No such file or director
[error] Unable to move application update script
chown: cannot access /etc/raspap/system/*.sh: No such file or directory
Did you run the script as root? There are a lot of files missing, although they should have been created, so my guess is that there was no permission to create them.
I tried a test instal on a RPi4 (64bit) demo system without issue.
RaspAP Install: Configure OpenVPN support
Install OpenVPN and enable client configuration? [Y/n]: n
[ ✓ ok ] (Skipped)
RaspAP Install: Configure WireGuard support
Install WireGuard and enable VPN tunnel configuration? [Y/n]: n
[ ✓ ok ] (Skipped)
RaspAP Install: Configure VPN provider support (Beta)
Enable VPN provider client configuration? [Y/n]: n
[ ✓ ok ] (Skipped)
RaspAP Install: Adding raspap.sudoers to /etc/sudoers.d/090_raspap
RaspAP Install: Copying RaspAP debug log control script
RaspAP Install: Copying RaspAP install loader
RaspAP Install: Symlinked wpa_supplicant hooks for multiple wlan interfaces
[ ✓ ok ]
RaspAP Install: Installation completed
Join RaspAP Insiders for early access to exclusive features!
> https://docs.raspap.com/insiders/
> https://github.com/sponsors/RaspAP/
The system needs to be rebooted as a final step. Reboot now? [Y/n]:
after the script run, its renamed to “html.2023-12-02-15:32”
root@DietPi:~# ls -la /var/www/html
ls: cannot access '/var/www/html': No such file or directory
root@DietPi:~# ls -la /var/www/html.2023-12-02-15\:32/
total 8
drwxrwxrwx 2 root root 4096 Dec 1 19:42 .
drwxr-xr-x 4 root root 4096 Dec 2 15:32 ..
root@DietPi:~#
i tried it in a virtual box with exact the same result as on my pi 3b+
If it’s a viable alternative, we’ve invested some effort recently into our Docker container.
You can deploy it quickly with docker compose. If you’re using an ARM device, be sure to uncomment the cgroup: host line in the docker-compose.yaml file before executing the following:
git clone https://github.com/RaspAP/raspap-docker.git
cd raspap-docker
docker compose up -d