RaspAP on DietPi

Has anyone got RaspAP running on Dietpi?

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.

can you share the command you used to install RaspAP?

i used their script

 curl -sL https://install.raspap.com | bash

as root
root with sudo
user
and user with sudo

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]:

@duser the directory /var/www/html is existing??

ls -la /var/www/html

no, its not existing.

i created it in GUI with pcmanfm

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+

pastebin installscript return:

Your problem is, that the RaspAP installer can’t create or write into /var/www/html

RaspAP Install: Installing application to /var/www/html
[ ✘ error ] Unable to install files to /var/www/html

Maybe you can ask on RaspAP GitHub for a possible reason. At least from the error message it’s not clear

tnx, i’ll ask there,

could you tell me what the script detected on your pi4 and which webserver you were using?

Detected OS: Debian GNU/Linux 12 (bookworm) 64-bit

Using GitHub repository: RaspAP/raspap-webgui 3.0.2 branch

All default settings in my case but this should not matter.

Just to be sure: The SD card has free space left?
Check with df -h

my pi3 i cant check at the moment,
but the virtual boxes definitely have enough space.

i tried to install the hotspot manually because i have no eth0, like here explained:

except i switched eth0 to wlan0 and added wlan1 as accesspoint.

i do get in iwconfig:

access point not associated

does dietpi-config interfere with my setup? because even if i did not use it
it shows the Hotspot as on?

usually we don’t change any information or configs you do manually as long as you don’t use our tool set like dietpi-config

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

Details in our repo GitHub - RaspAP/raspap-docker: A community-led docker container for RaspAP

We’re big fans of DietPi and would love to see RaspAP added to the project.
Cheers

tnx,

looks nice.

my pi3 is alread struggeling with grafana and influx - dont know if it can take docker/portaner on top.

i’ll try the next days.

there is no need to use Docker to get RaspAP up.