Closed gwashark closed 4 months ago
I’ve made a mistake. I am running, the Bookworm
version.
Here is what I’m working with.
PI REVISION: Raspberry Pi 4 Model B Rev 1.5
OS: Debian GNU/Linux 12 (bookworm)
KERNEL: 6.6.31+rpt-rpi-v8
Good morning, are you working with a user other than the default "pi" user ? The systemd error message almost sounds like it. In this case, you would have to adjust the "User" part in the /lib/systemd/system/restapi.service file! Otherwise the system will not find the files installed by pip.... Cheers - Michael
BTW: https://docs.raspap.com/restapi/?h=restapi#systemd-service
Whoops! Looks like I didn’t get into the docs more.😅
That is the solution to my problem.
Code of Conduct
Issue reporting checklist
Operating System
Raspberry Pi OS (64-bit) Lite Bullseye
Quick install or Manual setup?
Quick install
Onboard wireless chipset or external adapter?
External adapter
Hardware
Raspberry Pi 4 Model B
RaspAP version
3.1.3 (Latest)
Other software or services running with RaspAP?
No other software
Contact details (optional)
No response
Bug description
I installed RaspAp using the quick setup and I said yes to the
Rest API
. But whenever I boot or try and initiate it myself, it always returnscode=exited, status=217/USER
.Steps to reproduce
Rest API
settings.Start RestAPI Service
button.Screenshots
Additional context
I tried setting the api key and attempted to start it multiple times but it kept saying the same error.
Relevant log output