What is the problem?
I was wondering if it is at all possible to install OctoPrint or OctoPi for a different user than the default "pi" user without editing the hard-coded username throughout the source code?
What did you already try to solve it?
I've renamed the default "pi" user and the "/home/pi" to my own user. After this errors started showing saying "/home/pi" couldn't be found, or user "pi" doesn't exist. So I started going through the source code and changing the hard-coded "pi" user to my own. But this is quite a tedious process and I don't think this is a good solution (possibly if I got it working, there may be problems installing extensions)...
Have you tried running in safe mode and if so did it solve the issue?
No: not needed.
Additional information about your setup
- OctoPi 0.17.0 (.img, no manual install)
- Raspberry 4B 8GB model
- booting from SD card (no USB boot)
- printer: Prusa i3 MK3S (not yet connected)
I was just wondering if installation for a different user was possible. If not I'll just use the default "pi" user, but would prefer my own user.